diff options
Diffstat (limited to 'remoting/host/event_executor.h')
-rw-r--r-- | remoting/host/event_executor.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/remoting/host/event_executor.h b/remoting/host/event_executor.h index 0623464..bfdf38f 100644 --- a/remoting/host/event_executor.h +++ b/remoting/host/event_executor.h @@ -11,13 +11,17 @@ namespace remoting { +class Capturer; + // An interface that defines the behavior of an event executor object. // An event executor is to perform actions on the host machine. For example // moving the mouse cursor, generating keyboard events and manipulating // clipboards. class EventExecutor { public: - EventExecutor() {} + EventExecutor(Capturer* capturer) + : capturer_(capturer) { + } virtual ~EventExecutor() {} // Handles input events from ClientMessageList and removes them from the @@ -25,6 +29,9 @@ class EventExecutor { virtual void HandleInputEvents(ClientMessageList* messages) = 0; // TODO(hclam): Define actions for clipboards. + protected: + Capturer* capturer_; + private: DISALLOW_COPY_AND_ASSIGN(EventExecutor); }; |