OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Interface of a client that receives commands from a Chromoting host. | 5 // Interface of a client that receives commands from a Chromoting host. |
6 // | 6 // |
7 // This interface is responsible for a subset of control messages sent to | 7 // This interface is responsible for a subset of control messages sent to |
8 // the Chromoting client. | 8 // the Chromoting client. |
9 | 9 |
10 #ifndef REMOTING_PROTOCOL_CLIENT_STUB_H_ | 10 #ifndef REMOTING_PROTOCOL_CLIENT_STUB_H_ |
11 #define REMOTING_PROTOCOL_CLIENT_STUB_H_ | 11 #define REMOTING_PROTOCOL_CLIENT_STUB_H_ |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "remoting/protocol/clipboard_stub.h" | 14 #include "remoting/protocol/clipboard_stub.h" |
| 15 #include "remoting/protocol/cursor_shape_stub.h" |
15 | 16 |
16 namespace remoting { | 17 namespace remoting { |
17 namespace protocol { | 18 namespace protocol { |
18 | 19 |
19 class ClientStub : public ClipboardStub { | 20 class ClientStub : public ClipboardStub, |
| 21 public CursorShapeStub { |
20 public: | 22 public: |
21 ClientStub() {} | 23 ClientStub() {} |
22 virtual ~ClientStub() {} | 24 virtual ~ClientStub() {} |
23 | 25 |
24 // Currently we don't use the control channel for anything. Add new | 26 // Currently we don't use the control channel for anything. Add new |
25 // message handlers here when necessary. | 27 // message handlers here when necessary. |
26 | 28 |
27 private: | 29 private: |
28 DISALLOW_COPY_AND_ASSIGN(ClientStub); | 30 DISALLOW_COPY_AND_ASSIGN(ClientStub); |
29 }; | 31 }; |
30 | 32 |
31 } // namespace protocol | 33 } // namespace protocol |
32 } // namespace remoting | 34 } // namespace remoting |
33 | 35 |
34 #endif // REMOTING_PROTOCOL_CLIENT_STUB_H_ | 36 #endif // REMOTING_PROTOCOL_CLIENT_STUB_H_ |
OLD | NEW |