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 (17 years, 7 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.

    1: #import <Cocoa/Cocoa.h>
    2: 
    3: extern NSString *MVPreferencesWindowNotification;
    4: 
    5: @class MVPreferencesMultipleIconView;
    6: @class MVPreferencesGroupedIconView;
    7: 
    8: @interface MVPreferencesController : NSObject {
    9: 	IBOutlet NSWindow *window;
   10: 	IBOutlet NSView *loadingView;
   11: 	IBOutlet MVPreferencesMultipleIconView *multiView;
   12: 	IBOutlet MVPreferencesGroupedIconView *groupView;
   13: 	IBOutlet NSImageView *loadingImageView;
   14: 	IBOutlet NSTextField *loadingTextFeld;
   15: 	NSView *mainView;
   16: 	NSMutableArray *panes;
   17: 	NSMutableDictionary *loadedPanes, *paneInfo;
   18: 	NSString *currentPaneIdentifier, *pendingPane;
   19: 	BOOL closeWhenDoneWithSheet, closeWhenPaneIsReady;
   20: }
   21: + (MVPreferencesController *) sharedInstance;
   22: - (NSWindow *) window;
   23: - (void) showAll:(id) sender;
   24: - (void) showPreferences:(id) sender;
   25: - (void) selectPreferencePaneByIdentifier:(NSString *) identifier;
   26: @end

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