summaryrefslogtreecommitdiffstats
path: root/remoting/host/me2me_preference_pane_disable.h
blob: 9871e7cf713b38228ad986288ebf47c75a97a90a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (c) 2012 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.

#import <Cocoa/Cocoa.h>

// This view-controller holds just a "Disable" button.  It is shown when the
// pref-pane is launched manually, or when the user has just confirmed their
// PIN and applied a new configuration.
@interface Me2MePreferencePaneDisable : NSViewController {
  IBOutlet NSButton* disable_button_;
  id delegate_;
}

@property (retain) id delegate;

- (void)setEnabled:(BOOL)enabled;
- (IBAction)onDisable:(id)sender;

@end