diff options
Diffstat (limited to 'remoting/host/event_executor.h')
-rw-r--r-- | remoting/host/event_executor.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/remoting/host/event_executor.h b/remoting/host/event_executor.h index 3acde7a..eb0a886 100644 --- a/remoting/host/event_executor.h +++ b/remoting/host/event_executor.h @@ -17,8 +17,14 @@ class Capturer; class EventExecutor : public protocol::HostEventStub { public: // Creates default event executor for the current platform. - static scoped_ptr<protocol::HostEventStub> Create(MessageLoop* message_loop, - Capturer* capturer); + static scoped_ptr<EventExecutor> Create(MessageLoop* message_loop, + Capturer* capturer); + + // Initialises any objects needed to execute events. + virtual void OnSessionStarted() = 0; + + // Destroys any objects constructed by Start(). + virtual void OnSessionFinished() = 0; }; } // namespace remoting |