#include "StdAfx.h" #include "CProgramPlugin.h" CProgramPlugin::CProgramPlugin(DWORD type, T2PluginSpecifier& specifier) : CFilePlugin(type, specifier) { mTemplatePlugin = NULL; } /*virtual*/ CProgramPlugin::~CProgramPlugin() { } /*virtual*/ void CProgramPlugin::GetInfoString(CString& outStr) { outStr.Format("%d", mType); outStr += " "; CString name; GetName(name); outStr += name; } /*virtual*/ BOOL CProgramPlugin::LoadAllTemplatePlugin(HINSTANCE, T2WorldDef*, T2TemplatePluginDB*) { return true; } /*virtual*/ void CProgramPlugin::DrawProc(T2HaveOutViewObject*, const RECT&, T2TowerDoc*) { } /*virtual*/ unsigned int CProgramPlugin::IdleProc(T2HaveOutViewObject*, T2TowerDoc*) { return 0xFFFFFFFF; }