blob: 0aab45d25912ab49a0fa65abb50413340257816c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
|