Move generic_handler.* to content\browser\webui since it's needed by all webui pages.
[chromium-blink-merge.git] / remoting / host / win / wts_console_monitor.h
blob4c9870a5b3147217b7b8b1cb012a45c13085f8d9
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.
5 #ifndef REMOTING_HOST_WIN_WTS_CONSOLE_MONITOR_H_
6 #define REMOTING_HOST_WIN_WTS_CONSOLE_MONITOR_H_
8 #include <windows.h>
10 #include "base/basictypes.h"
12 namespace remoting {
14 class WtsConsoleObserver;
16 class WtsConsoleMonitor {
17 public:
18 virtual ~WtsConsoleMonitor() {}
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;
24 // Unregisters a previously registered observer.
25 virtual void RemoveWtsConsoleObserver(WtsConsoleObserver* observer) = 0;
27 protected:
28 WtsConsoleMonitor() {}
30 private:
31 DISALLOW_COPY_AND_ASSIGN(WtsConsoleMonitor);
34 } // namespace remoting
36 #endif // REMOTING_HOST_WIN_WTS_CONSOLE_MONITOR_H_