From dacd393fefeabafd1306533dd6c5a56e0ab347cc Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Sun, 27 Feb 2011 18:48:35 +0100 Subject: Initial commit --- TSession.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 TSession.h (limited to 'TSession.h') 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 plugins); + bool valid(); + + virtual int get_type(); + + private: + string nick; + time_t lastevent; +}; + +#endif -- cgit v1.2.1