summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2TemplatePlugin.h
blob: 3c92af552e5a957b964b8db021b961e5aa1856dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef T2DLL_T2TEMPLATEPLUGIN_H
#define T2DLL_T2TEMPLATEPLUGIN_H
#include "../common.h"
#include "CDefRsrcPlugin.h"

class AFX_CLASS_EXPORT T2TemplatePlugin : public CDefRsrcPlugin {
public:
	T2TemplatePlugin(DWORD type, T2PluginSpecifier& specifier, CResFile* resFile, CProgramPlugin* plugin);
	virtual ~T2TemplatePlugin();
	virtual int GetSortKey() { return 0; }
	virtual BOOL InitObject(T2Object*);
	virtual void LoadSound(T2TowerDoc*);

	CProgramPlugin* GetPlugin() { return mPlugin; }

protected:
	CProgramPlugin *mPlugin;
};
#endif