2009-03-08 02:38:25 +00:00
|
|
|
//
|
|
|
|
// PreferencesWindowController.h
|
|
|
|
// Cog
|
|
|
|
//
|
|
|
|
// Created by Vincent Spader on 3/7/09.
|
|
|
|
// Copyright 2009 __MyCompanyName__. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
2021-01-08 05:25:30 +00:00
|
|
|
/**
|
|
|
|
* TODO: Use NSTabViewController.
|
|
|
|
* This will allow to manage Toolbar automatically, lazy load
|
|
|
|
* preference panes and and crossfade between them.
|
|
|
|
*/
|
2022-02-07 05:49:27 +00:00
|
|
|
@interface PreferencesWindow : NSWindow <NSToolbarDelegate>
|
2009-03-08 02:38:25 +00:00
|
|
|
|
2021-01-08 05:25:30 +00:00
|
|
|
- (instancetype)initWithPreferencePanes:(NSArray *)preferencePanes NS_DESIGNATED_INITIALIZER;
|
|
|
|
- (instancetype)initWithContentRect:(NSRect)contentRect
|
|
|
|
styleMask:(NSWindowStyleMask)style
|
|
|
|
backing:(NSBackingStoreType)backingStoreType
|
|
|
|
defer:(BOOL)flag NS_UNAVAILABLE;
|
2009-03-08 02:38:25 +00:00
|
|
|
|
|
|
|
- (void)show;
|
|
|
|
|
|
|
|
@end
|