Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

44 řádky
762 B

  1. //
  2. // Lol Engine
  3. //
  4. // Copyright: (c) 2010-2012 Sam Hocevar <sam@hocevar.net>
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the Do What The Fuck You Want To
  7. // Public License, Version 2, as published by Sam Hocevar. See
  8. // http://www.wtfpl.net/ for more details.
  9. //
  10. //
  11. // The Keyboard class
  12. // ------------------
  13. //
  14. #if !defined __LOL_INPUT_KEYBOARD_H__
  15. #define __LOL_INPUT_KEYBOARD_H__
  16. #include "entity.h"
  17. namespace lol
  18. {
  19. class KeyboardData;
  20. class Keyboard : public Entity
  21. {
  22. friend class Input;
  23. public:
  24. void PushChar(uint32_t ch);
  25. uint32_t PopChar();
  26. private:
  27. Keyboard();
  28. ~Keyboard();
  29. KeyboardData *m_data;
  30. };
  31. } /* namespace lol */
  32. #endif // __LOL_INPUT_KEYBOARD_H__