source: trunk/src/input/keyboard.h @ 2818

Last change on this file since 2818 was 2818, checked in by sam, 8 years ago

build: fix a few compilation issues with input v2.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
File size: 809 bytes
Line 
1//
2// Lol Engine
3//
4// Copyright: (c) 2010-2013 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//
12// The Keyboard class
13// ------------------
14//
15
16#if !defined __LOL_INPUT_KEYBOARD_H__
17#define __LOL_INPUT_KEYBOARD_H__
18
19#include "entity.h"
20
21#ifndef LOL_INPUT_V2
22
23namespace lol
24{
25
26class KeyboardData;
27
28class Keyboard : public Entity
29{
30    friend class Input;
31
32public:
33    void PushChar(uint32_t ch);
34    uint32_t PopChar();
35
36private:
37    Keyboard();
38    ~Keyboard();
39    KeyboardData *m_data;
40};
41
42} /* namespace lol */
43
44#endif // !LOL_INPUT_V2
45
46#endif // __LOL_INPUT_KEYBOARD_H__
47
Note: See TracBrowser for help on using the repository browser.