Olivier Smeesters
/
DtmfKit
A DTMF sequence editor and player for HAM radio equipment command & control.
KeyboardManager/KeyboardStateChangeMonitor.cpp
- Committer:
- osmeest
- Date:
- 2011-03-07
- Revision:
- 0:1324e7d9d471
File content as of revision 0:1324e7d9d471:
#include "kbd_mgr/KeyboardStateChangeMonitor.h" namespace kbd_mgr { void KeyboardStateChangeMonitor::handleState(const KeyboardState &newState) { if (newState != this->lastState) { invokeHandler(newState); this->lastState = newState; } } } // kbd_mgr