00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00023 #import <Cocoa/Cocoa.h>
00024 #import "IRCClientChannelDelegate.h"
00025 
00035 @class IRCClientSession;
00036 @interface IRCClientChannel : NSObject {
00037         id                                      delegate;
00038         NSString                        *name;
00039         NSStringEncoding        encoding;
00040         IRCClientSession        *session;
00041         NSString                        *topic;
00042         NSString                        *modes;
00043         NSMutableArray          *names;
00044 }
00045 
00047 @property (assign)                      id                                      delegate;
00048 
00050 @property (copy)                        NSString                        *name;
00051 
00053 @property (assign)                      NSStringEncoding        encoding;
00054 
00056 @property (assign)                      IRCClientSession        *session;
00057 
00059 @property (copy)                        NSString                        *topic;
00060 
00062 @property (copy)                        NSString                        *modes;
00063 
00066 @property (assign, readonly) NSMutableArray             *names;
00067 
00078 - (id)initWithName:(NSString *)aName;
00079 
00083 - (int)part;
00084 
00090 - (int)invite:(NSString *)nick;
00091 
00100 - (void)setTopic:(NSString *)aTopic;
00101 
00111 - (int)setMode:(NSString *)mode params:(NSString *)params;
00112 
00119 - (int)message:(NSString *)message;
00120 
00126 - (int)action:(NSString *)action;
00127 
00133 - (int)notice:(NSString *)notice;
00134 
00141 - (int)kick:(NSString *)nick reason:(NSString *)reason;
00142 
00151 - (int)ctcpRequest:(NSString *)request;
00152 
00153 @end