File:  [mozdev] / chimera / PreferencePanes / MVPreferencesController.h
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Feb 26 11:49:02 2002 UTC (15 years, 9 months ago) by macserv
Branches: MAIN
CVS tags: HEAD
Checking in the underlying prefs structure, and a prefPane, also fir structural integrity.  Also including a couple categories to extend a couple Cocoa objects, and some project changes to support building with the bundled prefPanes.  Also, added a contrib directory to house user contributed artifacts.  To come soon: more prefPanes, and the colorized icon store, with pref-generated notifications to be picked up by toolbars.

#import <Cocoa/Cocoa.h>

extern NSString *MVPreferencesWindowNotification;

@class MVPreferencesMultipleIconView;
@class MVPreferencesGroupedIconView;

@interface MVPreferencesController : NSObject {
	IBOutlet NSWindow *window;
	IBOutlet NSView *loadingView;
	IBOutlet MVPreferencesMultipleIconView *multiView;
	IBOutlet MVPreferencesGroupedIconView *groupView;
	IBOutlet NSImageView *loadingImageView;
	IBOutlet NSTextField *loadingTextFeld;
	NSView *mainView;
	NSMutableArray *panes;
	NSMutableDictionary *loadedPanes, *paneInfo;
	NSString *currentPaneIdentifier, *pendingPane;
	BOOL closeWhenDoneWithSheet, closeWhenPaneIsReady;
}
+ (MVPreferencesController *) sharedInstance;
- (NSWindow *) window;
- (void) showAll:(id) sender;
- (void) showPreferences:(id) sender;
- (void) selectPreferencePaneByIdentifier:(NSString *) identifier;
@end

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>