FreeRDP
PasswordDialog.h
1 
20 #import <Cocoa/Cocoa.h>
21 
22 @interface PasswordDialog : NSWindowController
23 {
24  @public
25  NSTextField *usernameText;
26  NSTextField *passwordText;
27  NSTextField *messageLabel;
28  NSString *serverHostname;
29  NSString *username;
30  NSString *password;
31  NSString *domain;
32  BOOL modalCode;
33 }
34 @property(retain) IBOutlet NSTextField *usernameText;
35 @property(retain) IBOutlet NSTextField *passwordText;
36 @property(retain) IBOutlet NSTextField *messageLabel;
37 
38 - (IBAction)onOK:(NSObject *)sender;
39 - (IBAction)onCancel:(NSObject *)sender;
40 
41 @property(retain) NSString *serverHostname;
42 @property(retain) NSString *username;
43 @property(retain) NSString *password;
44 @property(retain) NSString *domain;
45 @property(readonly) BOOL modalCode;
46 
47 - (BOOL)runModal:(NSWindow *)mainWindow;
48 
49 @end