Fixed line width in the messages advanced prefs
[adiumx.git] / Source / RAFBlockEditorWindowController.h
blob186686ff3b43ff58e2fa544c0a6b63a3294386d3
1 //
2 // RAFBlockEditorWindow.h
3 // Adium
4 //
5 // Created by Augie Fackler on 5/26/05.
6 // Copyright 2006 The Adium Team. All rights reserved.
7 //
9 #import <Adium/AIWindowController.h>
10 #import <AIUtilities/AIAlternatingRowTableView.h>
11 #import <Adium/AIContactControllerProtocol.h>
13 @class AIListContact, AIAccount, AICompletingTextField, AIAccountMenu;
15 @interface RAFBlockEditorWindowController : AIWindowController <AIListObjectObserver> {
16 IBOutlet NSWindow *window;
17 IBOutlet NSTableView *table;
19 IBOutlet NSWindow *sheet;
20 IBOutlet NSPopUpButton *popUp_sheetAccounts;
21 IBOutlet AICompletingTextField *field;
22 IBOutlet NSButton *blockButton;
23 IBOutlet NSButton *cancelButton;
24 IBOutlet NSTextField *label_account;
25 IBOutlet NSTextField *label_privacyLevel;
27 IBOutlet NSTextField *accountText;
28 IBOutlet NSTextField *buddyText;
29 IBOutlet NSTableColumn *buddyCol;
30 IBOutlet NSTableColumn *accountCol;
31 BOOL accountColumnsVisible;
33 IBOutlet NSPopUpButton *stateChooser;
34 IBOutlet NSPopUpButton *popUp_accounts;
35 IBOutlet NSTextField *accountCaption;
37 IBOutlet NSTabView *tabView_contactList;
39 NSMutableArray *listContents;
40 NSMutableArray *listContentsAllAccounts;
41 NSMutableDictionary *accountStates;
43 AIAccountMenu *accountMenu;
44 AIAccountMenu *sheetAccountMenu;
46 NSArray *dragItems;
49 + (void)showWindow;
51 - (IBAction)removeSelection:(id)sender;
53 - (IBAction)runBlockSheet:(id)sender;
54 - (IBAction)cancelBlockSheet: (id)sender;
55 - (IBAction)didBlockSheet: (id)sender;
56 - (void)didEndSheet:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo;
58 - (NSMutableArray*)listContents;
59 - (void)setListContents:(NSArray*)newList;
60 - (IBAction)setPrivacyOption:(id)sender;
62 @end