KeyboardManager: a class to manage the polling of a switch-matrix keyboard
kbd_mgr/KeyboardStateHandler.h
- Committer:
- osmeest
- Date:
- 2011-01-23
- Revision:
- 2:eb4cc53ff33d
- Child:
- 3:1310c57aca77
File content as of revision 2:eb4cc53ff33d:
#ifndef KEYBOARD_STATE_HANDLER_H_ #define KEYBOARD_STATE_HANDLER_H_ #include "kbd_mgr/KeyboardState.h" namespace kbd_mgr { /** * @brief Interface used to report a keyboard state. */ class KeyboardStateHandler { public: virtual void operator()(const KeyboardState &newState) = 0; virtual ~KeyboardStateHandler() { } }; } // kbd_mgr #endif // KEYBOARD_STATE_HANDLER_H_