00001 #ifndef __IKeyboardListener__
00002 #define __IKeyboardListener__
00003
00004 #include "../Events/CKeyboardEvent.hpp"
00005 using Exponent::GUI::Events::CKeyboardEvent;
00006
00007
00008
00009 namespace Exponent
00010 {
00011 namespace GUI
00012 {
00013 namespace Listeners
00014 {
00032 interface IKeyboardListener
00033 {
00034
00035
00036
00037 public:
00038
00039
00040
00044 IKeyboardListener() { }
00045
00049 virtual ~IKeyboardListener() { }
00050
00051
00052
00058 virtual bool handleKeyDown(const CKeyboardEvent &event) = 0;
00059
00065 virtual bool handleKeyUp(const CKeyboardEvent &event) = 0;
00066
00067
00068 };
00069 }
00070 }
00071 }
00072 #endif // End of IKeyboardListener.hpp