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 | ␉IBOutlet NSButton*␉␉mBootExtraPath;␊ |
38 | ␉IBOutlet NSTextField*␉mBootExtraPathText;␊ |
39 | ␉␊ |
40 | ␉IBOutlet NSButton*␉␉mBootCdbootPath;␊ |
41 | ␉IBOutlet NSTextField*␉mBootCdbootPathText;␊ |
42 | ␉␊ |
43 | }␊ |
44 | ␊ |
45 | - (IBAction) onCheckButtonChange: (NSButton*) sender;␊ |
46 | - (IBAction) onTextFiedChange: (NSTextField*) sender;␊ |
47 | - (void) setDefaultsValues: (NSMutableDictionary*) dict;␊ |
48 | ␊ |
49 | - (void) doSwapHD: (int) val save: (bool) doSave src: (int) isrc dst: (int) idst;␊ |
50 | - (IBAction) onForceBootConfigPath: (id) sender;␊ |
51 | - (IBAction) onCdBootConfigPath: (id) sender;␊ |
52 | - (IBAction) onExtraConfigPath: (id) sender;␊ |
53 | - (IBAction) onCreateBootCD: (id) sender;␊ |
54 | ␊ |
55 | + (BootSetupController *)instance;␊ |
56 | ␊ |
57 | @end␊ |
58 | |