blob: 5bf7d370477e49a6e072c975ffe17bd318e00544 (
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
27
28
|
#pragma once
#include "common.h"
#include "T2PluginSpecifier.h"
class AFX_CLASS_EXPORT CPlugin {
public:
CPlugin(DWORD type, T2PluginSpecifier& specifier);
virtual ~CPlugin();
virtual DWORD GetPluginStyle() { return 'plug'; }
virtual void GetName(CString&);
virtual void GetInfoString(CString&);
virtual HINSTANCE GetModuleHandle();
DWORD GetType() { return mType; }
BOOL IsLoaded() { return mIsLoaded; }
protected:
BOOL mIsLoaded;
DWORD mType;
public:
// this gets accessed by T2TenantDef::SetCustomerTable without an inline
T2PluginSpecifier mSpecifier;
// this gets accessed by T2PaletteAnime without an inline
HINSTANCE mModuleHandle;
T2ImageObj *mImageObj;
};
|