summaryrefslogtreecommitdiffstats
path: root/remoting/host/disconnect_window.h
blob: bf73b095e466bbbd545ad16f1c2a49824d0d9ec4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef REMOTING_HOST_DISCONNECT_WINDOW_H
#define REMOTING_HOST_DISCONNECT_WINDOW_H

#include <string>

namespace remoting {

class ChromotingHost;

class DisconnectWindow {
 public:
  virtual ~DisconnectWindow() {}

  static const char kTitle[];
  static const char kSharingWith[];
  static const char kDisconnectButton[];

  // Show the disconnect window allowing the user to shut down |host|.
  virtual void Show(ChromotingHost* host, const std::string& username) = 0;

  // Hide the disconnect window.
  virtual void Hide() = 0;

  static DisconnectWindow* Create();
};

}

#endif  // REMOTING_HOST_DISCONNECT_WINDOW_H