10.12.2010 - light modifies in headers

This commit is contained in:
peri4
2010-12-10 23:42:53 +03:00
parent 480eb64f62
commit 8926fe2f69
8 changed files with 14 additions and 16 deletions

View File

@@ -8,12 +8,10 @@
#include <fcntl.h>
#endif
typedef void (*KeyFunc)(void * , char);
class PIConsole: public PIThread
{
public:
PIConsole(bool startNow = true, KeyFunc slot = 0);
PIConsole(bool startNow = true, KBFunc slot = 0);
~PIConsole();
enum Format {Normal = 0x01,
@@ -120,7 +118,7 @@ private:
inline int printValue(const uint value, Flags<PIConsole::Format> format = PIConsole::Normal);
inline int printValue(const ulong value, Flags<PIConsole::Format> format = PIConsole::Normal);
inline int printValue(const ullong value, Flags<PIConsole::Format> format = PIConsole::Normal);
static void key_event(void * t, char key);
static void key_event(char key, void * t);
struct Variable {
PIString name;
@@ -188,7 +186,7 @@ private:
vector<Tab> tabs;
Variable tv;
PIKbdListener * listener;
KeyFunc ret_func;
KBFunc ret_func;
int width, height, ret, col_wid, num_format;
uint my;
uint cur_tab, col_cnt;