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 <Adium/AIAbstractListController.h>
20 @
class ESContactInfoListController
, AIModularPaneCategoryView
, AIContactInfoImageViewWithImagePicker
, AIAutoScrollView
,
21 AIListOutlineView
, AIListObject
;
23 @interface AIContactInfoWindowController
: AIWindowController
<AIListControllerDelegate
> {
24 IBOutlet NSTabView
*tabView_category
;
26 IBOutlet NSTabViewItem
*tabViewItem_info
;
27 IBOutlet NSTabViewItem
*tabViewItem_accounts
;
28 NSTabViewItem
*tabViewItem_lastSelectedForListContacts
;
30 IBOutlet AIContactInfoImageViewWithImagePicker
*imageView_userIcon
;
31 IBOutlet NSTextField
*textField_accountName
;
32 IBOutlet NSTextField
*textField_service
;
34 IBOutlet AIModularPaneCategoryView
*view_Profile
;
35 IBOutlet AIModularPaneCategoryView
*view_Accounts
;
36 IBOutlet AIModularPaneCategoryView
*view_Alerts
;
37 IBOutlet AIModularPaneCategoryView
*view_Settings
;
39 IBOutlet NSDrawer
*drawer_metaContact
;
41 IBOutlet AIAutoScrollView
*scrollView_contactList
;
42 IBOutlet AIListOutlineView
*contactListView
;
43 IBOutlet NSButton
*button_addContact
;
44 IBOutlet NSButton
*button_removeContact
;
46 AIListObject
*displayedObject
;
47 NSMutableDictionary
*loadedPanes
;
49 ESContactInfoListController
*contactListController
;
52 + (id
)showInfoWindowForListObject
:(AIListObject
*)listObject
;
53 + (void)closeInfoWindow
;
54 - (void)configureForListObject
:(AIListObject
*)inObject
;
56 - (IBAction
)addContact
:(id
)sender
;
57 - (IBAction
)removeContact
:(id
)sender
;
60 - (float)drawerTrailingOffset
;
61 - (void)contactInfoListControllerSelectionDidChangeToListObject
:(AIListObject
*)listObject
;