Root/
Source at commit 1 created 14 years 3 months ago. By rekursor, inital import of beta6 | |
---|---|
1 | //␊ |
2 | // ChameleonPrefPane.h␊ |
3 | // ChameleonPrefPane␊ |
4 | //␊ |
5 | // Created by Rekursor on 1/16/10.␊ |
6 | //␊ |
7 | ␊ |
8 | #import <PreferencePanes/PreferencePanes.h>␊ |
9 | #import <SecurityFoundation/SFAuthorization.h>␊ |
10 | #import <SecurityInterface/SFAuthorizationView.h>␊ |
11 | ␊ |
12 | @interface ChameleonPrefPane : NSPreferencePane ␊ |
13 | {␊ |
14 | @public␊ |
15 | ␉// Objects corresponding to the interface mapping:␊ |
16 | ␉IBOutlet NSTableView *␉␉mPartitionsTable;␊ |
17 | ␉IBOutlet NSTableColumn *␉mPartitionImgColumn;␊ |
18 | ␉IBOutlet NSTableColumn *␉mFileSystemColumn;␊ |
19 | ␉IBOutlet NSTableColumn *␉mPartitionNameColumn;␊ |
20 | ␉IBOutlet NSTableColumn *␉mPartitionIDColumn;␊ |
21 | ␉IBOutlet NSButton *␉␉␉mResetButton;␊ |
22 | ␉IBOutlet NSButton *␉␉␉mSwapHD01;␊ |
23 | ␉IBOutlet NSButton *␉␉␉mSwapHD02;␊ |
24 | ␉IBOutlet NSTextField*␉␉mStatusText;␊ |
25 | ␉IBOutlet NSBox*␉␉␉␉mOptions;␊ |
26 | ␉␊ |
27 | IBOutlet SFAuthorizationView *authView;␊ |
28 | IBOutlet NSButton *touchButton;␊ |
29 | ␊ |
30 | ␉NSImage *␉␉␉␉␉mMacOSXImage;␊ |
31 | ␉NSImage *␉␉␉␉␉mWindowsImage;␊ |
32 | ␉NSImage *␉␉␉␉␉mLinuxImage;␊ |
33 | ␉NSImage *␉␉␉␉␉mUnknownImage;␊ |
34 | ␉NSMutableDictionary *mOptionsDict;␊ |
35 | ␉NSString * mOptionsPlistPath;␊ |
36 | }␊ |
37 | ␊ |
38 | ␊ |
39 | - (void)awakeFromNib;␊ |
40 | - (void)initBootConfig;␊ |
41 | - (id) getImageResource: (NSString *) str ofType: (NSString*) sType;␊ |
42 | ␊ |
43 | //- (void) mainViewDidLoad;␊ |
44 | - (void)tableViewSelectionDidChange:(NSNotification *)notification;␊ |
45 | - (void) selectDefaultPartition;␊ |
46 | ␊ |
47 | - (IBAction)onRestart: (id)sender;␊ |
48 | - (IBAction)onSwapHD: (id)sender;␊ |
49 | ␊ |
50 | - (BOOL)isUnlocked;␊ |
51 | - (void) refreshLockStates;␊ |
52 | - (void) doSwapHD: (int) val save: (bool) doSave src: (int)isrc dst: (int) idst;␊ |
53 | - (void)tableViewSelectionDidChange:(NSNotification *)notification;␊ |
54 | ␊ |
55 | - (void) swapDisks: (bool) bSwap src: (int) iSrc dst: (int) iDst;␊ |
56 | ␊ |
57 | @end␊ |
58 |