Put NSAutoreleasePool usage around other distributed notification observer methods
[adiumx.git] / Source / AIChatCommandsController.h
blob62f873269718928c04f5040559faecf660e6481a
1 //
2 // AIChatCommandsController.h
3 // Adium
4 //
5 // Created by Chloe Haney on 11/07/07.
6 // Copyright 2007 __MyCompanyName__. All rights reserved.
7 //
9 #import <Cocoa/Cocoa.h>
10 #import <AIAccount.h>
11 #import "AIChat.h"
12 #import "AIWindowController.h"
13 #import "AIUtilities/AICompletingTextField.h"
14 #import "AIMetaContact.h"
16 @interface AIChatCommandsController : AIWindowController
18 IBOutlet id sheet;
19 IBOutlet id label_target;
20 IBOutlet id label_comment;
21 IBOutlet AICompletingTextField *textField_target;
22 IBOutlet NSTextField *textField_comment;
23 id delegate;
24 NSMutableDictionary *parameters;
25 NSMutableString *nibToLoad;
26 AIChatCommandsController *newChatCommandsController;
30 +(id)init;
32 -(void)verifyCommand:(NSString*)command forChat:(AIChat*)chat;
33 -(id)delegate;
34 -(void)setDelegate:(id)newDelegate;
35 -(IBAction)ok:(id)sender;
36 -(IBAction)cancel:(id)sender;
38 @end
40 @interface NSObject (AIChatCommandsControllerDelegate)
41 - (void)executeCommandWithParameters:(NSDictionary *)paramters;
42 @end