Chameleon Applications

Chameleon Applications Svn Source Tree

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

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: 396