root/tags/2D16/JVChatController.h

Revision 2603, 2.1 kB (checked in by eridius, 3 years ago)

Do a little judicious renaming.
And here is a test of a potential Trac bug: whee!
if there is a [[BR]] then the bug is there.
Test two: whee!
Note that there was a space on that one

Line 
1 #import "KAIgnoreRule.h"
2
3 @class MVChatConnection;
4 @class MVChatRoom;
5 @class MVChatUser;
6 @class JVChatWindowController;
7 @class JVChatRoomPanel;
8 @class JVDirectChatPanel;
9 @class JVChatTranscriptPanel;
10 @class JVSmartTranscriptPanel;
11 @class JVChatConsolePanel;
12
13 @protocol JVChatViewController;
14
15 @interface JVChatController : NSObject {
16         @private
17         NSMutableArray *_chatWindows;
18         NSMutableArray *_chatControllers;
19 }
20 + (JVChatController *) defaultController;
21 + (NSMenu *) smartTranscriptMenu;
22 + (void) refreshSmartTranscriptMenu;
23
24 - (NSSet *) allChatWindowControllers;
25 - (JVChatWindowController *) newChatWindowController;
26 - (void) disposeChatWindowController:(JVChatWindowController *) controller;
27
28 - (NSSet *) allChatViewControllers;
29 - (NSSet *) chatViewControllersWithConnection:(MVChatConnection *) connection;
30 - (NSSet *) chatViewControllersOfClass:(Class) class;
31 - (NSSet *) chatViewControllersKindOfClass:(Class) class;
32
33 - (JVChatRoomPanel *) chatViewControllerForRoom:(MVChatRoom *) room ifExists:(BOOL) exists;
34 - (JVDirectChatPanel *) chatViewControllerForUser:(MVChatUser *) user ifExists:(BOOL) exists;
35 - (JVDirectChatPanel *) chatViewControllerForUser:(MVChatUser *) user ifExists:(BOOL) exists userInitiated:(BOOL) requested;
36 - (JVChatTranscriptPanel *) chatViewControllerForTranscript:(NSString *) filename;
37 - (JVChatConsolePanel *) chatConsoleForConnection:(MVChatConnection *) connection ifExists:(BOOL) exists;
38
39 - (JVSmartTranscriptPanel *) newSmartTranscript;
40 - (NSSet *) smartTranscripts;
41 - (void) saveSmartTranscripts;
42 - (void) disposeSmartTranscript:(JVSmartTranscriptPanel *) panel;
43
44 - (void) disposeViewController:(id <JVChatViewController>) controller;
45 - (void) detachViewController:(id <JVChatViewController>) controller;
46
47 - (IBAction) detachView:(id) sender;
48
49 - (JVIgnoreMatchResult) shouldIgnoreUser:(MVChatUser *) user withMessage:(NSAttributedString *) message inView:(id <JVChatViewController>) view;
50 @end
51
52 @interface NSObject (MVChatPluginCommandSupport)
53 - (BOOL) processUserCommand:(NSString *) command withArguments:(NSAttributedString *) arguments toConnection:(MVChatConnection *) connection inView:(id <JVChatViewController>) view;
54 @end
Note: See TracBrowser for help on using the browser.