git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usermode/AxWin4 - Server implementation runnable
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin4_src
/
Server
/
include
/
input.hpp
diff --git
a/Usermode/Applications/axwin4_src/Server/include/input.hpp
b/Usermode/Applications/axwin4_src/Server/include/input.hpp
index
6a43034
..
952e2e9
100644
(file)
--- a/
Usermode/Applications/axwin4_src/Server/include/input.hpp
+++ b/
Usermode/Applications/axwin4_src/Server/include/input.hpp
@@
-11,14
+11,21
@@
#include <acess/sys.h>
namespace AxWin {
#include <acess/sys.h>
namespace AxWin {
-namespace Input {
-extern void Initialise(const CConfigInput& config);
-extern int FillSelect(::fd_set& rfds);
-extern void HandleSelect(::fd_set& rfds);
+class CCompositor;
+class CInput
+{
+ CCompositor& m_compositor;
+ int m_keyboardFD;
+ int m_mouseFD;
+public:
+ CInput(const CConfigInput& config, CCompositor& compositor);
+ int FillSelect(::fd_set& rfds);
+ void HandleSelect(::fd_set& rfds);
};
};
-};
+
+}; // namespace AxWin
#endif
#endif
UCC
git Repository :: git.ucc.asn.au