gecko-dev/chimera/PreferencePanes/MVPreferencesController.h

27 строки
843 B
Objective-C

#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