diff options
author | Florian Jung <flo@thinkpad.(none)> | 2011-02-27 18:48:35 +0100 |
---|---|---|
committer | Florian Jung <flo@thinkpad.(none)> | 2011-02-27 18:48:35 +0100 |
commit | dacd393fefeabafd1306533dd6c5a56e0ab347cc (patch) | |
tree | dd3d0ed19a9490109a890df2c07634a6b823d1ff /TSession.h |
Initial commit
Diffstat (limited to 'TSession.h')
-rw-r--r-- | TSession.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/TSession.h b/TSession.h new file mode 100644 index 0000000..7d36049 --- /dev/null +++ b/TSession.h @@ -0,0 +1,33 @@ +#ifndef _TSESSION_H_ +#define _TSESSION_H_ + +#include "mytypes.h" +#include "myfuncs.h" + +#include "TPluginParent.h" + +#include "TPlugin.h" + +#include "TConnection.h" +class TConnection; + +class TSession : public TPluginParent +{ + public: + TSession(string nickname,TConnection* parent_); + ~TSession(); + void interpret_message (ircmessage msg); + virtual string get_name(); + virtual void say (string what); + void addplugincontext(TPlugin* plugin); + void exec_plugins(list<TPlugin*> plugins); + bool valid(); + + virtual int get_type(); + + private: + string nick; + time_t lastevent; +}; + +#endif |