summaryrefslogtreecommitdiff
path: root/TSession.h
diff options
context:
space:
mode:
Diffstat (limited to 'TSession.h')
-rw-r--r--TSession.h33
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