summaryrefslogtreecommitdiff
path: root/TPluginParentLight.h
diff options
context:
space:
mode:
Diffstat (limited to 'TPluginParentLight.h')
-rw-r--r--TPluginParentLight.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/TPluginParentLight.h b/TPluginParentLight.h
new file mode 100644
index 0000000..0aab45d
--- /dev/null
+++ b/TPluginParentLight.h
@@ -0,0 +1,26 @@
+#ifndef _TPLUGINPARENTLIGHT_H_
+#define _TPLUGINPARENTLIGHT_H_
+
+#include <string>
+
+using namespace std;
+
+#include "mytypes.h"
+#include "myfuncs.h"
+
+#include "TConnectionInterface.h"
+
+#include "TPlugin.h"
+#include "TUserList.h"
+
+class TPluginParentLight
+{
+ public:
+ virtual void say (string what)=0;
+ TConnectionInterface* get_parent(){return parent;}
+ virtual string get_name()=0; //channame, bei sessions ownername
+ virtual int get_type()=0;
+ protected:
+ TConnectionInterface* parent;
+};
+#endif