diff options
| author | Sebastien Braun | 2010-11-04 00:38:24 +0100 |
|---|---|---|
| committer | Sebastien Braun | 2010-11-04 00:38:24 +0100 |
| commit | 4fcc0efae9738bb28922da592fff78cfef50277b (patch) | |
| tree | b3855b36abe874606a802ec75fc573543d2d7b35 /src/input/pvsPrivInputHandler.h | |
| parent | [PVSMGRTOUCH] resetall bug fixed (diff) | |
| parent | Documentation fixes and code cleanup (diff) | |
| download | pvs-4fcc0efae9738bb28922da592fff78cfef50277b.tar.gz pvs-4fcc0efae9738bb28922da592fff78cfef50277b.tar.xz pvs-4fcc0efae9738bb28922da592fff78cfef50277b.zip | |
Merge input handling work to master
Diffstat (limited to 'src/input/pvsPrivInputHandler.h')
| -rw-r--r-- | src/input/pvsPrivInputHandler.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/input/pvsPrivInputHandler.h b/src/input/pvsPrivInputHandler.h index 9980cdf..015dfa1 100644 --- a/src/input/pvsPrivInputHandler.h +++ b/src/input/pvsPrivInputHandler.h @@ -20,14 +20,23 @@ #include <QObject> #include <QHash> #include <QPointer> -#include "inputHandlerChain.h" +#include "inputEventHandler.h" class QSocketNotifier; +/** + * Handle socket communication with instances of the PVS Client Daemon. + * + * \note This runs in the context of a Qt main loop. It does not start + * a handler thread. + */ class PVSPrivInputHandler : public QObject { Q_OBJECT public: + /** + * Listen for InputEvents on file descriptor \c fd. + */ PVSPrivInputHandler(int fd, QObject* parent = 0); virtual ~PVSPrivInputHandler(); @@ -39,7 +48,7 @@ private: QByteArray _messageAssembly; int _bytes; int _fd; - privileged_handler_chain _handlerChain; + InputEventHandlerChain _handlerChain; }; #endif /* PVSPRIVINPUTHANDLER_H_ */ |
