#pragma once #include "common.h" #include "CDefRsrcPlugin.h" class AFX_EXT_CLASS 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; };