summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2TemplatePlugin.h
blob: df39975316ad6d32e6653281ba7eb7b9c02b9dfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once
#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;
};