summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2TemplatePlugin.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2TemplatePlugin.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/T2DLL/T2TemplatePlugin.h b/src/T2DLL/T2TemplatePlugin.h
new file mode 100644
index 0000000..5ea32e8
--- /dev/null
+++ b/src/T2DLL/T2TemplatePlugin.h
@@ -0,0 +1,17 @@
+#pragma once
+#include "common.h"
+#include "CDefRsrcPlugin.h"
+
+class T2TemplatePlugin : public CDefRsrcPlugin {
+public:
+ T2TemplatePlugin(DWORD type, T2PluginSpecifier& specifier, CResFile* resFile, CProgramPlugin* plugin);
+ virtual ~T2TemplatePlugin();
+ virtual int GetSortKey() { return 0; }
+ virtual int InitObject(T2Object*);
+ virtual void LoadSound(T2TowerDoc*);
+
+ CProgramPlugin* GetPlugin() { return mPlugin; }
+
+protected:
+ CProgramPlugin *mPlugin;
+};