|
|
Class keeping a list of ChanAssist objects. It also serves as base to implement channel assisting plugins.
enum { Startup = Private, Hangup, Disconnected, AssistPrivate } |
Message realy IDs
~ChanAssistList ()
| ~ChanAssistList |
[virtual]
Destructor
bool received (Message& msg, int id)
| received |
[virtual]
Message handler called internally
Parameters:
msg | Received nessage |
id | Numeric identifier of the message type |
Returns: True if the message was handled and further processing should stop
Reimplemented from Module.
bool received (Message& msg, int id, ChanAssist* assist)
| received |
[virtual]
Message handler for an assistant object
Parameters:
msg | Received nessage |
id | Numeric identifier of the message type |
assist | Pointer to the matching assistant object |
Returns: True if the message was handled and further processing should stop
Reimplemented from Module.
void initialize ()
| initialize |
[virtual]
Method to (re)initialize the plugin
Reimplemented from Module.
ChanAssist* create (Message& msg, const String& id)
| create |
[pure virtual]
Create a new channel assistant
Parameters:
msg | Message that triggered the creation |
id | Channel's identifier |
Returns: Pointer to new assistant object, NULL if unacceptable
void init (int priority = 15)
| init |
[virtual]
Initialize the plugin for the first time
Parameters:
priority | Priority used to install message handlers |
inline ChanAssist* find (const String& id)
| find |
[const]
Find a channel assistant by channel ID
Parameters:
id | Identifier of the assisted channel |
Returns: Pointer to the assistant object
inline ChanAssistList (const char* name)
| ChanAssistList |
[protected]
Constructor
Parameters:
name | Name of the module |
void removeAssist (ChanAssist* assist)
| removeAssist |
[protected]
Removes an assistant object from list
Parameters:
assist | Object to remove from list |
Generated by: root on dragoshel on Sat Apr 14 01:50:50 2007, using kdoc 2.0a54. |