1 | //␊ |
2 | // PartitionsSetupController.h␊ |
3 | // ChameleonPrefPane␊ |
4 | //␊ |
5 | // Created by Rekursor on 1/22/10.␊ |
6 | //␊ |
7 | ␊ |
8 | #import <Cocoa/Cocoa.h>␊ |
9 | #import "PreferencesControllerBase.h"␊ |
10 | ␊ |
11 | // Constants definitions␊ |
12 | static const char* const kDefaultPartition = "Default Partition";␊ |
13 | static const char* const kHidePartition = "Hide Partition";␊ |
14 | static const char* const kRenamePartition = "Rename Partition";␊ |
15 | ␊ |
16 | // TabView subpane controller definition␊ |
17 | @interface BootSetupController : PreferencesControllerBase <GroupControllerProtocol> ␊ |
18 | {␊ |
19 | @public␉␊ |
20 | ␉IBOutlet NSButton *␉␉mSwapHD01;␊ |
21 | ␉IBOutlet NSButton *␉␉mSwapHD02;␊ |
22 | ␉IBOutlet NSButton *␉␉mFreezeParts;␊ |
23 | ␉IBOutlet NSButton *␉␉mInjectFrozenParts;␊ |
24 | ␊ |
25 | ␉IBOutlet NSButton*␉␉mDefaultPartition;␊ |
26 | ␉IBOutlet NSTextField*␉mDefaultPartitionText;␊ |
27 | ␉␊ |
28 | ␉IBOutlet NSButton*␉␉mHidePartition;␊ |
29 | ␉IBOutlet NSTextField*␉mHidePartitionText;␊ |
30 | ␉␊ |
31 | ␉IBOutlet NSButton*␉␉mRenamePartition;␊ |
32 | ␉IBOutlet NSTextField*␉mRenamePartitionText;␊ |
33 | ␊ |
34 | ␉IBOutlet NSButton*␉␉mBootConfigPath;␊ |
35 | ␉IBOutlet NSTextField*␉mBootConfigPathText;␊ |
36 | ␉␊ |
37 | }␊ |
38 | ␊ |
39 | - (IBAction) onCheckButtonChange: (NSButton*) sender;␊ |
40 | - (IBAction) onTextFiedChange: (NSTextField*) sender;␊ |
41 | - (void) setDefaultsValues: (NSMutableDictionary*) dict;␊ |
42 | ␊ |
43 | - (void) doSwapHD: (int) val save: (bool) doSave src: (int) isrc dst: (int) idst;␊ |
44 | - (IBAction) onForceBootConfigPath: (id) sender;␊ |
45 | ␊ |
46 | + (BootSetupController *)instance;␊ |
47 | ␊ |
48 | @end␊ |
49 | |