/*********************** * * KbdInput.hh - header for the KbdInput class * ***********************/ #ifndef ZD_KbdInput_hh #define ZD_KbdInput_hh #include class KbdInput { public: KbdInput(); virtual ~KbdInput(); char nextChar(); // gets a char and calls on() if necessary void On(); // turns on raw input void Off(); // turns off raw input int rawInputIsOn; // 1 if raw input is on 0 if it is off static struct termios raw; static struct termios hold; }; #endif