blob: 5c070b51e554849b8d947acf2c9744d847352251 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef T2DLL_CPROGRAMPLUGIN_H
#define T2DLL_CPROGRAMPLUGIN_H
#include "../common.h"
#include "CFilePlugin.h"
class AFX_CLASS_EXPORT CProgramPlugin : public CFilePlugin {
public:
CProgramPlugin(DWORD type, T2PluginSpecifier& specifier);
virtual ~CProgramPlugin();
virtual DWORD GetPluginStyle() { return 'PPlg'; }
virtual void GetInfoString(CString& outStr);
virtual BOOL LoadAllTemplatePlugin(HINSTANCE, T2WorldDef*, T2TemplatePluginDB*);
virtual void DrawProc(T2HaveOutViewObject*, const RECT&, T2TowerDoc*);
virtual unsigned int IdleProc(T2HaveOutViewObject*, T2TowerDoc*);
T2TemplatePlugin* GetTemplatePlugin() { return mTemplatePlugin; }
BOOL HasDrawProc() { return false; }
protected:
T2TemplatePlugin *mTemplatePlugin;
};
#endif
|