summaryrefslogtreecommitdiffstats
path: root/remoting/host/me2me_preference_pane_confirm_pin.h
blob: f16ada363504b7dbb3d99f87e08a27d86ee77605 (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
// 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>

@protocol Me2MePreferencePaneConfirmPinHandler <NSObject>
- (void)applyConfiguration:(id)sender pin:(NSString*)pin;
@end

@interface Me2MePreferencePaneConfirmPin : NSViewController {
  IBOutlet NSTextField* email_;
  IBOutlet NSTextField* pin_;
  IBOutlet NSButton* apply_button_;
  id delegate_;
}

@property (retain) id delegate;

- (void)setEmail:(NSString*)email;
- (void)setButtonText:(NSString*)text;
- (void)setEnabled:(BOOL)enabled;
- (void)resetPin;
- (IBAction)onApply:(id)sender;

@end