Pol
Revision:cb584c9
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
kbhit.h
Go to the documentation of this file.
1
#ifndef WINDOWS
2
3
#ifndef KBHIT_H
4
#define KBHIT_H
5
6
#include <termios.h>
7
8
namespace
Pol
9
{
10
namespace
Clib
11
{
12
class
KeyboardHook
13
{
14
public
:
15
KeyboardHook
();
16
~KeyboardHook
();
17
int
kbhit
();
18
int
getch
();
19
20
private
:
21
struct
termios initial_settings,
new_settings
;
22
int
peek_character
;
23
};
24
}
25
}
26
27
#endif
28
29
#endif
Pol::Clib::KeyboardHook
Definition:
kbhit.h:12
Pol::Clib::KeyboardHook::new_settings
struct termios initial_settings new_settings
Definition:
kbhit.h:21
Pol::Clib::KeyboardHook::~KeyboardHook
~KeyboardHook()
Pol::Clib::KeyboardHook::KeyboardHook
KeyboardHook()
Pol::Clib::KeyboardHook::getch
int getch()
Pol::Clib::KeyboardHook::peek_character
int peek_character
Definition:
kbhit.h:22
Pol::Clib::KeyboardHook::kbhit
int kbhit()
Pol
Definition:
berror.cpp:12
clib
kbhit.h
Generated on Wed Oct 10 2018 02:41:48 for Pol by
1.8.11