summaryrefslogtreecommitdiffstats
path: root/src/input/inputHandlerChain.h
diff options
context:
space:
mode:
authorSebastien Braun2010-10-05 15:30:04 +0200
committerSebastien Braun2010-10-05 18:15:51 +0200
commitac05f7d367ae9983e7996738871efbdbf3ec66e8 (patch)
treecff16aee36f2afcb00df6842cb0e9bab82c86c16 /src/input/inputHandlerChain.h
parentAdd description to input event handlers so they can (diff)
downloadpvs-ac05f7d367ae9983e7996738871efbdbf3ec66e8.tar.gz
pvs-ac05f7d367ae9983e7996738871efbdbf3ec66e8.tar.xz
pvs-ac05f7d367ae9983e7996738871efbdbf3ec66e8.zip
Implement privileged input daemon, first version without handlers.
Diffstat (limited to 'src/input/inputHandlerChain.h')
-rw-r--r--src/input/inputHandlerChain.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/input/inputHandlerChain.h b/src/input/inputHandlerChain.h
index 4bb9fe5..61c3d62 100644
--- a/src/input/inputHandlerChain.h
+++ b/src/input/inputHandlerChain.h
@@ -22,13 +22,19 @@
#include "x11FakeKeyboardHandler.h"
#include "x11FakeMouseHandler.h"
+#include "privilegedHandlerForwarder.h"
typedef boost::mpl::list<
Handler<X11FakeKeyboardHandler, policy::RequireSystem<policy::UnixLike> >,
Handler<X11FakeMouseButtonHandler, policy::RequireSystem<policy::UnixLike> >,
- Handler<X11FakeMouseMovementHandler, policy::RequireSystem<policy::UnixLike> >
+ Handler<X11FakeMouseMovementHandler, policy::RequireSystem<policy::UnixLike> >,
+ Handler<PrivilegedHandlerForwarder>
>::type unprivileged_handler_list;
typedef InputEventHandlerChain<unprivileged_handler_list> unprivileged_handler_chain;
+typedef boost::mpl::list<
+>::type privileged_handler_list;
+
+typedef InputEventHandlerChain<privileged_handler_list> privileged_handler_chain;
#endif /* INPUTHANDLERCHAIN_H_ */