f8b27cea1c6ccbff3be5c700b6d12a97e0d40628
[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         
23         unsigned int m_mouseX;
24         unsigned int m_mouseY;
25         unsigned int m_mouseBtns;
26 public:
27         CInput(const CConfigInput& config, CCompositor& compositor);
28          int FillSelect(::fd_set& rfds);
29         void HandleSelect(::fd_set& rfds);
30 };
31
32 };      // namespace AxWin
33
34 #endif
35

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