Chameleon Applications

Chameleon Applications Svn Source Tree

Root/ChameleonPrefPane/Sources/ChameleonPrefPane.h

Source at commit 1 created 14 years 2 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:
16IBOutlet NSTableView *mPartitionsTable;
17IBOutlet NSTableColumn *mPartitionImgColumn;
18IBOutlet NSTableColumn *mFileSystemColumn;
19IBOutlet NSTableColumn *mPartitionNameColumn;
20IBOutlet NSTableColumn *mPartitionIDColumn;
21IBOutlet NSButton *mResetButton;
22IBOutlet NSButton *mSwapHD01;
23IBOutlet NSButton *mSwapHD02;
24IBOutlet NSTextField*mStatusText;
25IBOutlet NSBox*mOptions;
26
27 IBOutlet SFAuthorizationView *authView;
28 IBOutlet NSButton *touchButton;
29
30NSImage *mMacOSXImage;
31NSImage *mWindowsImage;
32NSImage *mLinuxImage;
33NSImage *mUnknownImage;
34NSMutableDictionary *mOptionsDict;
35NSString * 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

Archive Download this file

Revision: 1