2 // AIChatCommandsController.h
5 // Created by Chloe Haney on 11/07/07.
6 // Copyright 2007 __MyCompanyName__. All rights reserved.
9 #import <Cocoa/Cocoa.h>
12 #import "AIWindowController.h"
13 #import "AIUtilities/AICompletingTextField.h"
14 #import "AIMetaContact.h"
16 @interface AIChatCommandsController
: AIWindowController
19 IBOutlet id label_target
;
20 IBOutlet id label_comment
;
21 IBOutlet AICompletingTextField
*textField_target
;
22 IBOutlet NSTextField
*textField_comment
;
24 NSMutableDictionary
*parameters
;
25 NSMutableString
*nibToLoad
;
26 AIChatCommandsController
*newChatCommandsController
;
32 -(void)verifyCommand
:(NSString
*)command forChat
:(AIChat
*)chat
;
34 -(void)setDelegate
:(id
)newDelegate
;
35 -(IBAction
)ok
:(id
)sender
;
36 -(IBAction
)cancel
:(id
)sender
;
40 @interface
NSObject (AIChatCommandsControllerDelegate
)
41 - (void)executeCommandWithParameters
:(NSDictionary
*)paramters
;