OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef REMOTING_HOST_WTS_CONSOLE_MONITOR_WIN_H_ | |
6 #define REMOTING_HOST_WTS_CONSOLE_MONITOR_WIN_H_ | |
7 | |
8 #include <windows.h> | |
9 | |
10 #include "base/basictypes.h" | |
11 | |
12 namespace remoting { | |
13 | |
14 class WtsConsoleObserver; | |
15 | |
16 class WtsConsoleMonitor { | |
17 public: | |
18 virtual ~WtsConsoleMonitor() {} | |
19 | |
20 // Registers an observer to receive notifications about a particular WTS | |
21 // console (i.e. the physical console or a remote console). | |
22 virtual void AddWtsConsoleObserver(WtsConsoleObserver* observer) = 0; | |
23 | |
24 // Unregisters a previously registered observer. | |
25 virtual void RemoveWtsConsoleObserver(WtsConsoleObserver* observer) = 0; | |
26 | |
27 protected: | |
28 WtsConsoleMonitor() {} | |
29 | |
30 private: | |
31 DISALLOW_COPY_AND_ASSIGN(WtsConsoleMonitor); | |
32 }; | |
33 | |
34 } // namespace remoting | |
35 | |
36 #endif // REMOTING_HOST_WTS_CONSOLE_MONITOR_WIN_H_ | |
OLD | NEW |