Add copyright notice
[forms.git] / F / F_Linux_Keyboard.H
blobae6738d3e52b9f3dfddd5635197defdd8e6ee72f
2  /*
3   *   Copyright (C) 2007, Harbour, All rights reserved.
4   */
6 #ifndef _F_LINUX_KEYBOARD_H_
7 #define _F_LINUX_KEYBOARD_H_
9 #include <F_Input_Device.H>
11 namespace F {
13  class F_Linux_Keyboard : public F_Input_Device {
15  static F_Linux_Keyboard *this_;
16  bool stored_;
18  static void kbd_handler(void);
19  void mode_restore();
20  void mode_set();  
22  public:
24   F_Linux_Keyboard();
25   ~F_Linux_Keyboard();
26   // this is signal handled input device
27   bool check_for_events(F_Event_t *ev) { return false; }
28   void sigstop() { mode_restore(); }
29   void sigcont() { mode_set(); }
31  };
34 #endif