Add support for handling PART and fix parsing of JOIN.

FossilOrigin-Name: 92093d341f66e0a9f0227e44f122b8caca3ced8aff1f50d88b4bb7d4a4a4ba81
This commit is contained in:
Jonathan Schleifer 2011-09-09 16:23:50 +00:00
parent 3180fb3557
commit 8e1e22cbf7
2 changed files with 42 additions and 9 deletions

View file

@ -31,19 +31,23 @@
@protocol IRCConnectionDelegate
@optional
- (void)connection: (IRCConnection*)conn
- (void)connection: (IRCConnection*)connection
didReceiveLine: (OFString*)line;
- (void)connection: (IRCConnection*)conn
- (void)connection: (IRCConnection*)connection
didSendLine: (OFString*)line;
- (void)connectionWasEstablished: (IRCConnection*)conn;
- (void)connection: (IRCConnection*)conn
- (void)connectionWasEstablished: (IRCConnection*)connection;
- (void)connection: (IRCConnection*)connection
didSeeUser: (IRCUser*)user
joinChannel: (IRCChannel*)channel;
- (void)connection: (IRCConnection*)conn
- (void)connection: (IRCConnection*)connection
didSeeUser: (IRCUser*)user
leaveChannel: (IRCChannel*)channel
withReason: (OFString*)reason;
- (void)connection: (IRCConnection*)connection
didReceiveMessage: (OFString*)msg
fromUser: (IRCUser*)user
inChannel: (IRCChannel*)channel;
- (void)connection: (IRCConnection*)conn
- (void)connection: (IRCConnection*)connection
didReceivePrivateMessage: (OFString*)msg
fromUser: (IRCUser*)user;
@end