diff options
Diffstat (limited to 'TChannel.h')
-rw-r--r-- | TChannel.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/TChannel.h b/TChannel.h new file mode 100644 index 0000000..338d4a9 --- /dev/null +++ b/TChannel.h @@ -0,0 +1,40 @@ +#ifndef _TCHANNEL_H_ +#define _TCHANNEL_H_ + +#include "mytypes.h" +#include "myfuncs.h" + +#include "TPluginParent.h" + +#include "TPlugin.h" + +#include "TUserList.h" +#include "TConnection.h" +class TConnection; + +class TChannel : public TPluginParent +{ + public: + TChannel(string channame, TConnection* parent_); + ~TChannel(); + void interpret_message (ircmessage msg); + virtual string get_name(); + virtual void say (string what); + void show_users (); + void exec_plugins(list<TPlugin*> plugins); + void addplugincontext(TPlugin* plugin); + TUserList get_users(); + string get_modes(); + string get_topic(); + + virtual int get_type(); + + private: + TUserList users; + string name; + string chanmodes; + string chantopic; + bool receiving_names_list; +}; + +#endif |