Chameleon Applications

Chameleon Applications Svn Source Tree

Root/branches/ErmaC/ChameleonPrefPane/Sources/BootSetupController.h

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
12static const char* const kDefaultPartition = "Default Partition";
13static const char* const kHidePartition = "Hide Partition";
14static const char* const kRenamePartition = "Rename Partition";
15
16// TabView subpane controller definition
17@interface BootSetupController : PreferencesControllerBase <GroupControllerProtocol>
18{
19@public
20IBOutlet NSButton *mSwapHD01;
21IBOutlet NSButton *mSwapHD02;
22IBOutlet NSButton *mFreezeParts;
23IBOutlet NSButton *mInjectFrozenParts;
24
25IBOutlet NSButton*mDefaultPartition;
26IBOutlet NSTextField*mDefaultPartitionText;
27
28IBOutlet NSButton*mHidePartition;
29IBOutlet NSTextField*mHidePartitionText;
30
31IBOutlet NSButton*mRenamePartition;
32IBOutlet NSTextField*mRenamePartitionText;
33
34IBOutlet NSButton*mBootConfigPath;
35IBOutlet NSTextField*mBootConfigPathText;
36
37IBOutlet NSButton*mBootExtraPath;
38IBOutlet NSTextField*mBootExtraPathText;
39
40IBOutlet NSButton*mBootCdbootPath;
41IBOutlet 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

Archive Download this file

Revision: 396