📄 warpluginmodule.cpp
字号:
#include "StdAfx.h"#include "WarPluginModule.h" // class implemented#ifndef WAR_PLUGIN_ENGINE_H# include "WarPluginEngine.h"#endif/////////////////////////////// PUBLIC /////////////////////////////////////////============================= LIFECYCLE ====================================WarPluginModule::WarPluginModule(war_ccstr_t name) throw (WarException): mName(name){ WarPluginEngine& engine = WarPluginEngine::GetEngine(); engine.RegisterPluginModule(this);}// WarPluginModuleWarPluginModule::~WarPluginModule(){ WarPluginEngine& engine = WarPluginEngine::GetEngine(); engine.UnregisterPluginModule(this);}// ~WarPluginModule//============================= OPERATORS ====================================//============================= OPERATIONS ===================================void WarPluginModule::NotifyOnClassInstance( const war_ccstr_t className) throw(WarException){ WarPluginEngine::GetEngine().NotifyOnClassInstance(this, className);}//============================= ACCESS ===================================//============================= INQUIRY ===================================/////////////////////////////// PROTECTED ////////////////////////////////////////////////////////////////// PRIVATE ///////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -