Clone of Akilla's ac2d @ https://github.com/deregtd/AC2D

KeyboardEventsAbstractor.h 425B

12345678910111213141516
  1. #ifndef KEYBOARDEVENTSABSTRACTOR_H
  2. #define KEYBOARDEVENTSABSTRACTOR_H
  3. #include "Interfaces/IKeyboardEvents.h"
  4. template< class T >
  5. class KeyboardEventsAbstractor : public IKeyboardEvents
  6. {
  7. public:
  8. virtual bool OnKeyPress( IWindow &Window, unsigned long KeyCode ) = 0;
  9. virtual bool OnKeyDown( IWindow &Window, unsigned long KeyCode ) = 0;
  10. virtual bool OnKeyUp( IWindow &Window, unsigned long KeyCode ) = 0;
  11. };
  12. #endif