IRC client framework (wrapper around libircclient library).
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

IRCClientChannel_Private.h 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. //
  2. // IRCClientChannel_Private.h
  3. //
  4. // Modified IRCClient Copyright 2015-2021 Said Achmiz.
  5. // Original IRCClient Copyright 2009 Nathan Ollerenshaw.
  6. // libircclient Copyright 2004-2009 Georgy Yunaev.
  7. //
  8. // See LICENSE and README.md for more info.
  9. #import "IRCClientChannel.h"
  10. #include "libircclient.h"
  11. /********************************************/
  12. #pragma mark IRCClientChannel class extension
  13. /********************************************/
  14. @interface IRCClientChannel ()
  15. /** initWithName:andIRCSession:
  16. *
  17. * Returns an initialised IRCClientChannel with a given channel name, associated
  18. * with the given irc_session_t object. You are not expected to initialize your
  19. * own IRCClientChannel objects; if you wish to join a channel you should send a
  20. * [IRCClientSession join:key:] message to your IRCClientSession object.
  21. *
  22. * @param aName Name of the channel.
  23. */
  24. -(instancetype) initWithName:(NSData *)aName
  25. andIRCSession:(irc_session_t *)session;
  26. /****************************/
  27. #pragma mark - Event handlers
  28. /****************************/
  29. /* NOTE: These methods are not to be called by classes that use IRCClient;
  30. * they are for the framework’s internal use only. Do not import this header
  31. * in files that make use of the IRCClientChannel class.
  32. */
  33. -(void) userJoined:(NSData *)nick;
  34. -(void) userParted:(NSData *)nick
  35. withReason:(NSData *)reason
  36. us:(BOOL)wasItUs;
  37. -(void) modeSet:(NSData *)mode
  38. withParams:(NSData *)params
  39. by:(NSData *)nick;
  40. -(void) topicSet:(NSData *)newTopic
  41. by:(NSData *)nick;
  42. -(void) userKicked:(NSData *)nick
  43. withReason:(NSData *)reason
  44. by:(NSData *)byNick
  45. us:(BOOL)wasItUs;
  46. -(void) messageSent:(NSData *)message
  47. byUser:(NSData *)nick;
  48. -(void) noticeSent:(NSData *)notice
  49. byUser:(NSData *)nick;
  50. -(void) actionPerformed:(NSData *)action
  51. byUser:(NSData *)nick;
  52. @end