Chameleon Applications

Chameleon Applications Svn Source Tree

Root/branches/iFabio/ChameleonPrefPane/Sources/GroupControllerProtocol.h

Source at commit 261 created 12 years 11 months ago.
By ifabio, "re-open": create two folder, one for the prefpanel project, other for chameleon bootloader trunk, also synk with latest 832 trunk's code, added some stuff like OpenBSD/FreeBSD/Haiku detection, and added more Nvidia ID cards.
1//
2// GroupControllerProtocol.h
3// ChameleonPrefPane
4//
5// Created by Rekursor on 1/25/10.
6// Copyright 2010 __MyCompanyName__. All rights reserved.
7//
8
9#import <Cocoa/Cocoa.h>
10
11
12// Defintion of the required protocol for any derived classes of PreferencesControllerBase
13@protocol GroupControllerProtocol
14
15@required
16// must be implemented in all derived classes
17
18// Called by all buttons of each group in therface
19- (IBAction) onCheckButtonChange: (NSButton*) sender;
20
21// Called by all text fields of each group in therface
22- (IBAction) onTextFiedChange: (NSTextField*) sender;
23
24// Add the boot config options descriptors to the consolidated dictionary
25- (void) addOptionsDesc;
26
27// Permit to each group to customize his default settings
28- (void) setDefaultsValues: (NSMutableDictionary*) dict;
29
30// Set refresh all group states {enabled | disabled} depending on the authorizations state
31- (void) refreshLockStates;
32
33// load the corresponding pref filer options from the interface
34- (void) loadOptionsFromPreferencesFile: (NSMutableDictionary*) dict;
35
36@end
37
38

Archive Download this file

Revision: 261