- Main Page
- Classes
- Files

- File List

# IRCClientSessionDelegate.h

    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
    00015 #import <Cocoa/Cocoa.h>
    00016 #include "libircclient.h"
    00017
    00027 @class IRCClientChannel;
    00028
    00038 @interface NSObject (IRCClientSessionDelegate)
    00039
    00042 - (void)onConnect;
    00043
    00051 - (void)onNick:(NSString *)nick oldNick:(NSString *)oldNick;
    00052
    00059 - (void)onQuit:(NSString *)nick reason:(NSString *)reason;
    00060
    00074 - (void)onJoinChannel:(IRCClientChannel *)channel;
    00075
    00081 - (void)onMode:(NSString *)mode;
    00082
    00089 - (void)onPrivmsg:(NSData *)message nick:(NSString *)nick;
    00090
    00097 - (void)onNotice:(NSData *)notice nick:(NSString *)nick;
    00098
    00105 - (void)onInvite:(NSString *)channel nick:(NSString *)nick;
    00106
    00114 - (void)onCtcpRequest:(NSString *)request type:(NSString *)type nick:(NSString *)nick;
    00115
    00122 - (void)onCtcpReply:(NSData *)reply nick:(NSString *)nick;
    00123
    00132 - (void)onAction:(NSData *)action nick:(NSString *)nick;
    00133
    00141 - (void)onUnknownEvent:(NSString *)event origin:(NSString *)origin params:(NSArray *)params;
    00142
    00150 - (void)onNumericEvent:(NSUInteger)event origin:(NSString *)origin params:(NSArray *)params;
    00151
    00152 @end