Pol
Revision:cb584c9
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
console.h
Go to the documentation of this file.
1
2
#ifndef POL_CONSOLE_H
3
#define POL_CONSOLE_H
4
5
#include <string>
6
7
8
namespace
Pol
9
{
10
namespace
Clib
11
{
12
class
ConfigElem;
13
class
KeyboardHook;
14
}
15
namespace
Core
16
{
17
class
ConsoleCommand
18
{
19
public
:
20
ConsoleCommand
(
Clib::ConfigElem
& elem,
const
std::string& cmd );
21
size_t
estimateSize()
const
;
22
std::string showchar()
const
;
23
24
char
ch
;
25
std::string
script
;
26
std::string
description
;
27
28
static
ConsoleCommand
* find_console_command(
char
ch );
29
static
void
load_console_commands();
30
static
void
exec_console_cmd(
char
ch );
31
#ifdef _WIN32
32
static
void
check_console_commands();
33
#else
34
static
void
check_console_commands(
Clib::KeyboardHook
* kb );
35
#endif
36
37
static
bool
console_locked
;
38
static
char
unlock_char
;
39
};
40
}
41
}
42
43
#endif
Pol::Clib::KeyboardHook
Definition:
kbhit.h:12
Pol::Core::ConsoleCommand::ch
char ch
Definition:
console.h:24
Pol::Core::ConsoleCommand::console_locked
static bool console_locked
Definition:
console.h:37
Pol::Core::ConsoleCommand::unlock_char
static char unlock_char
Definition:
console.h:38
Pol::Core::ConsoleCommand::description
std::string description
Definition:
console.h:26
Pol::Core::ConsoleCommand
Definition:
console.h:17
Pol::Core::ConsoleCommand::script
std::string script
Definition:
console.h:25
Pol::Clib::ConfigElem
Definition:
cfgelem.h:53
Pol
Definition:
berror.cpp:12
pol
console.h
Generated on Wed Oct 10 2018 02:41:55 for Pol by
1.8.11