|  | GL Studio C++ Runtime API
    | 
#include <input_handler.h>
| Public Types | |
| typedef unsigned int | ID | 
| Type for unique identifiers. | |
| Public Member Functions | |
| virtual DisplayObject * | HandleInput (DisplayEvent *ev)=0 | 
| virtual ID | RegisterGlobalKeyboardHandler (KeyboardCallbackBase *callback)=0 | 
| virtual void | UnregisterGlobalKeyboardHandler (ID id)=0 | 
| virtual | ~InputHandler () | 
Base class implemented by all input handlers
| 
 | inlinevirtual | 
destructor
| 
 | pure virtual | 
Handle the event
| ev | the event to handle | 
| 
 | pure virtual | 
Register a global keyboard handler.
| callback | the callback to call when a keyboard event occurs. The input handler owns the callback and will delete it. | 
| 
 | pure virtual | 
Unregister a global keyboard handler.
| id | the unique identifier returned from RegisterGlobalKeyboardHandler. |