Woopsi 1.0
GUI Framework for Nintendo DS Homebrew

keyboardeventhandler.h

00001 #ifndef _KEYBOARDEVENTHANDLER_H_
00002 #define _KEYBOARDEVENTHANDLER_H_
00003 
00004 #include <nds.h>
00005 #include "keyboardeventargs.h"
00006 
00007 namespace WoopsiUI {
00008 
00009         class Gadget;
00010 
00016         class KeyboardEventHandler {
00017         public:
00021                 inline KeyboardEventHandler() { };
00022                 
00026                 virtual inline ~KeyboardEventHandler() { };
00027                 
00032                 virtual void handleKeyboardPressEvent(const KeyboardEventArgs& e) { };
00033 
00038                 virtual void handleKeyboardRepeatEvent(const KeyboardEventArgs& e) { };
00039 
00044                 virtual void handleKeyboardReleaseEvent(const KeyboardEventArgs& e) { };
00045         };
00046 }
00047 
00048 #endif