952e2e922d673f75db509f29749848dea8712e1a
[tpg/acess2.git] / Usermode / Applications / axwin4_src / Server / include / input.hpp
1 /*
2  * Acess2 GUI v4
3  * - By John Hodge (thePowersGang) 
4  *
5  * input.hpp
6  * - Input Interface Header
7  */
8 #ifndef _INPUT_H_
9 #define _INPUT_H_
10
11 #include <acess/sys.h>
12
13 namespace AxWin {
14
15 class CCompositor;
16
17 class CInput
18 {
19         CCompositor&    m_compositor;
20          int    m_keyboardFD;
21          int    m_mouseFD;
22 public:
23         CInput(const CConfigInput& config, CCompositor& compositor);
24          int FillSelect(::fd_set& rfds);
25         void HandleSelect(::fd_set& rfds);
26 };
27
28 };      // namespace AxWin
29
30 #endif
31

UCC git Repository :: git.ucc.asn.au