-
Notifications
You must be signed in to change notification settings - Fork 1
/
SAController.h
41 lines (33 loc) · 1.11 KB
/
SAController.h
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
34
35
36
37
38
39
40
41
//
// SAController.h
// Safe
//
// Created by Matt Patenaude on 3/3/10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface SAController : NSObject {
IBOutlet NSWindow *passwordWindow;
IBOutlet NSSecureTextField *passwordField;
IBOutlet NSTextField *instructionField;
NSString *openingFile;
IBOutlet NSWindow *newSafeWindow;
IBOutlet NSTextField *newSafeNameField;
IBOutlet NSSecureTextField *newSafePasswordField;
IBOutlet NSSecureTextField *newSafePasswordConfirmField;
IBOutlet NSPopUpButton *newSafeEncryptionType;
BOOL hasFinishedLaunching;
BOOL fileTriggeredLaunch;
}
// Application delegate methods
- (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filename;
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification;
// File methods
- (IBAction)openSafe:(id)sender;
- (void)mountImage:(NSString *)filename withName:(NSString *)theName;
- (IBAction)completeMount:(id)sender;
- (IBAction)cancelMount:(id)sender;
- (IBAction)newSafe:(id)sender;
- (IBAction)completeCreate:(id)sender;
- (IBAction)cancelCreate:(id)sender;
@end