IRCClient: IRCClientChannel.h Source File

- Main Page
- Classes
- Files

- File List

# IRCClientChannel.h

Go to the documentation of this file.

    00001 /*
    00002  * Copyright (C) 2009 Nathan Ollerenshaw chrome@stupendous.net
    00003  *
    00004  * This library is free software; you can redistribute it and/or modify it
    00005  * under the terms of the GNU Lesser General Public License as published by
    00006  * the Free Software Foundation; either version 2 of the License, or (at your
    00007  * option) any later version.
    00008  *
    00009  * This library is distributed in the hope that it will be useful, but WITHOUT
    00010  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    00011  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
    00012  * License for more details.
    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