• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-core-2.5.1/Examples/ApplicationPlugins/Colloqui/Colloquy Plugin SDK/Headers/
1#import <Foundation/NSObject.h>
2#import <AppKit/NSNibDeclarations.h>
3#import "JVChatWindowController.h"
4
5@class NSView;
6@class NSTextView;
7@class MVTextView;
8@class MVChatConnection;
9
10@interface JVChatConsole : NSObject <JVChatViewController> {
11	@protected
12	IBOutlet NSView *contents;
13	IBOutlet NSTextView *display;
14	IBOutlet MVTextView *send;
15	BOOL _nibLoaded;
16	BOOL _verbose;
17	BOOL _ignorePRIVMSG;
18	BOOL _paused;
19	float _sendHeight;
20	BOOL _scrollerIsAtBottom;
21	BOOL _forceSplitViewPosition;
22	int _historyIndex;
23	NSMutableArray *_sendHistory;
24	JVChatWindowController *_windowController;
25	MVChatConnection *_connection;
26}
27- (id) initWithConnection:(MVChatConnection *) connection;
28
29- (void) pause;
30- (void) resume;
31- (BOOL) isPaused;
32
33- (void) addMessageToDisplay:(NSString *) message asOutboundMessage:(BOOL) outbound;
34- (IBAction) send:(id) sender;
35@end
36
37@interface JVChatConsole (JVChatConsoleScripting) <JVChatListItemScripting>
38- (NSNumber *) uniqueIdentifier;
39@end
40
41@interface NSObject (MVChatPluginCommandSupport)
42- (BOOL) processUserCommand:(NSString *) command withArguments:(NSAttributedString *) arguments toConnection:(MVChatConnection *) connection;
43@end
44