diff options
-rw-r--r-- | backends/wince/CEkeys/CEKeys.h | 2 | ||||
-rw-r--r-- | backends/wince/CEkeys/Key.cpp | 12 | ||||
-rw-r--r-- | backends/wince/CEkeys/Key.h | 5 |
3 files changed, 4 insertions, 15 deletions
diff --git a/backends/wince/CEkeys/CEKeys.h b/backends/wince/CEkeys/CEKeys.h index af04934b93..3d1bf74544 100644 --- a/backends/wince/CEkeys/CEKeys.h +++ b/backends/wince/CEkeys/CEKeys.h @@ -19,5 +19,5 @@ * */ -#include "KeysBuffer.h" +#include "EventsBuffer.h" diff --git a/backends/wince/CEkeys/Key.cpp b/backends/wince/CEkeys/Key.cpp index 75e03186ab..b406167101 100644 --- a/backends/wince/CEkeys/Key.cpp +++ b/backends/wince/CEkeys/Key.cpp @@ -27,8 +27,8 @@ namespace CEKEYS { _ascii(0), _keycode(0), _flags(0) { } - Key::Key(int ascii, int keycode, int flags, bool pushed) : - _ascii(ascii), _keycode(keycode), _flags(flags), _pushed(pushed) { + Key::Key(int ascii, int keycode, int flags) : + _ascii(ascii), _keycode(keycode), _flags(flags) { } int Key::ascii() { @@ -43,10 +43,6 @@ namespace CEKEYS { return _flags; } - bool Key::pushed() { - return _pushed; - } - void Key::setAscii(int ascii) { _ascii = ascii; @@ -60,8 +56,4 @@ namespace CEKEYS { void Key::setFlags(int flags) { _flags = flags; } - - void Key::setPushed(bool pushed) { - _pushed = pushed; - } } diff --git a/backends/wince/CEkeys/Key.h b/backends/wince/CEkeys/Key.h index 4e95d228e3..865c2a462d 100644 --- a/backends/wince/CEkeys/Key.h +++ b/backends/wince/CEkeys/Key.h @@ -30,21 +30,18 @@ namespace CEKEYS { class Key { public: - Key(int ascii, int keycode = 0, int flags = 0, bool pushed = true); + Key(int ascii, int keycode = 0, int flags = 0); Key(); void setAscii(int ascii); void setKeycode(int keycode); void setFlags(int flags); - void setPushed(bool pushed); int ascii(); int keycode(); int flags(); - bool pushed(); private: int _ascii; int _keycode; int _flags; - bool _pushed; }; } |