diff options
| author | Sebastien Braun | 2010-10-23 17:49:12 +0200 |
|---|---|---|
| committer | Sebastien Braun | 2010-10-24 23:43:08 +0200 |
| commit | 7e3b963e3a0cbbf9391243e72ceb015e9015d630 (patch) | |
| tree | d980c26b837ef106e286ea3ed3562ee37ffbd0bf /src/input/privilegedHandlerForwarder.h | |
| parent | Fix forgotten change of j to mods in X11FakeKeyboardHandler. (diff) | |
| download | pvs-7e3b963e3a0cbbf9391243e72ceb015e9015d630.tar.gz pvs-7e3b963e3a0cbbf9391243e72ceb015e9015d630.tar.xz pvs-7e3b963e3a0cbbf9391243e72ceb015e9015d630.zip | |
Documentation fixes and code cleanup
Diffstat (limited to 'src/input/privilegedHandlerForwarder.h')
| -rw-r--r-- | src/input/privilegedHandlerForwarder.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/input/privilegedHandlerForwarder.h b/src/input/privilegedHandlerForwarder.h index f5a6cc3..ea3326a 100644 --- a/src/input/privilegedHandlerForwarder.h +++ b/src/input/privilegedHandlerForwarder.h @@ -19,12 +19,25 @@ #include "inputEventHandler.h" +/** + * Forward the incoming InputEvent to \c pvsprivinputd. + */ class PrivilegedHandlerForwarder : public InputEventHandler< input_policy::Require<input_policy::UnixLike>, input_policy::Unprivileged> { public: + + /** + * Forward \c evt to \c pvsprivinputd, taking care that + * the security context is correctly sent. + */ void doHandle(InputEvent const& evt, InputEventContext const* = 0); + + /** + * Read the address of \c pvsprivinputd's listening socket + * from its configuration and connect to it. + */ void initialize(); private: |
