Chameleon Applications

Chameleon Applications Svn Source Tree

Root/trunk/ChameleonPrefPane/EfiInjectController.mm

1//
2// EfiInject.mm
3// ChameleonPrefPane
4//
5// Created by Rekursor on 1/26/10.
6//
7
8#import "EfiInjectController.h"
9
10
11static EfiInjectController *gInstance = NULL;
12
13@implementation EfiInjectController
14//--------------------------------------------------------------------------
15- (id) init
16{
17self = [super init];
18return (gInstance = self);
19}
20
21//--------------------------------------------------------------------------
22- (void) addOptionsDesc
23{
24 BootProp::instance().addOptionDesc(mEfiInject, mEfiInjectText, OptionString, "device-properties", "");
25}
26
27//--------------------------------------------------------------------------
28-(void) setDefaultsValues: (NSMutableDictionary*) dict
29{
30}
31
32//--------------------------------------------------------------------------
33- (void) refreshLockStates
34{
35// automatic, nothing to do
36}
37
38//--------------------------------------------------------------------------
39-(void) loadOptionsFromPreferencesFile: (NSMutableDictionary*) dict
40{
41
42}
43
44//--------------------------------------------------------------------------
45-(IBAction) onCheckButtonChange: (NSButton*) sender
46{
47[self handleSender: sender];
48}
49
50//--------------------------------------------------------------------------
51-(IBAction) onTextFiedChange: (NSTextField*) sender
52{
53[self handleSender: sender];
54}
55
56+ (EfiInjectController *)instance { return(gInstance);}
57
58@end
59

Archive Download this file

Revision: 62