趣味で作ってるロボット用ソフトウェア
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Files
Functions
Enumerations
Enumerator
Friends
Pages
lib
game
Key_events.h
Go to the documentation of this file.
1
#ifndef HRK_KEY_EVENTS_H
2
#define HRK_KEY_EVENTS_H
3
9
#include <memory>
10
#include <SDL.h>
11
12
13
namespace
hrk
14
{
15
class
Key_events
16
{
17
public
:
18
Key_events
(
void
);
19
~
Key_events
(
void
);
20
21
void
set_enabled(
bool
enable);
22
void
register_event(SDLKey key,
int
mod = KMOD_NONE);
23
bool
is_activated(
void
)
const
;
24
void
set_activated(
bool
activate);
25
26
private
:
27
Key_events
(
const
Key_events
& rhs);
28
Key_events
& operator = (
const
Key_events
& rhs);
29
30
struct
pImpl;
31
std::auto_ptr<pImpl> pimpl;
32
};
33
}
34
35
#endif
hrk::Key_events
Definition:
Key_events.h:15
Generated on Tue Oct 24 2017 04:56:04 for 趣味で作ってるロボット用ソフトウェア by
1.8.6