2 * Adium is the legal property of its developers, whose names are listed in the copyright file included
3 * with this source distribution.
5 * This program is free software; you can redistribute it and/or modify it under the terms of the GNU
6 * General Public License as published by the Free Software Foundation; either version 2 of the License,
7 * or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
10 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
11 * Public License for more details.
13 * You should have received a copy of the GNU General Public License along with this program; if not,
14 * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 #import <Adium/AIWindowController.h>
18 #import "AIPreferenceController.h"
20 @
class AIModularPaneCategoryView
, AIAutoScrollView
, AIColoredBoxView
, AIPreferencePane
;
22 @interface AIPreferenceWindowController
: AIWindowController
{
23 IBOutlet NSTabView
*tabView_category
;
25 IBOutlet AIModularPaneCategoryView
*view_Accounts
;
26 IBOutlet AIModularPaneCategoryView
*view_General
;
27 IBOutlet AIModularPaneCategoryView
*view_Appearance
;
28 IBOutlet AIModularPaneCategoryView
*view_Messages
;
29 IBOutlet AIModularPaneCategoryView
*view_Status
;
30 IBOutlet AIModularPaneCategoryView
*view_Events
;
31 IBOutlet AIModularPaneCategoryView
*view_FileTransfer
;
33 IBOutlet NSTableView
*tableView_advanced
;
34 IBOutlet AIAutoScrollView
*scrollView_advanced
;
36 IBOutlet AIModularPaneCategoryView
*view_Advanced
;
37 IBOutlet NSButton
*button_restoreDefaults
;
40 NSMutableArray
*loadedPanes
;
41 NSMutableArray
*loadedAdvancedPanes
;
42 NSMutableArray
*_advancedCategoryArray
;
44 BOOL shouldRestorePreviousSelectedPane
;
47 + (void)openPreferenceWindow
;
48 + (void)openPreferenceWindowToCategoryWithIdentifier
:(NSString
*)identifier
;
49 + (void)openPreferenceWindowToAdvancedPane
:(NSString
*)advancedPane
;
50 + (void)closePreferenceWindow
;
53 - (void)selectCategoryWithIdentifier
:(NSString
*)identifier
;
54 - (void)selectAdvancedPane
:(NSString
*)advancedPane
;
56 //Advanced Preferences
57 - (void)configureAdvancedPreferencesForPane
:(AIPreferencePane
*)preferencePane
;
58 - (NSArray
*)advancedCategoryArray
;
59 - (IBAction
)restoreDefaults
:(id
)sender
;