MyGUI
3.2.1
|
00001 /* 00002 * This source file is part of MyGUI. For the latest info, see http://mygui.info/ 00003 * Distributed under the MIT License 00004 * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT) 00005 */ 00006 00007 #ifndef __MYGUI_PLUGIN_H__ 00008 #define __MYGUI_PLUGIN_H__ 00009 00010 #include "MyGUI_Prerequest.h" 00011 #include <string> 00012 00013 namespace MyGUI 00014 { 00015 00018 class MYGUI_EXPORT IPlugin 00019 { 00020 public: 00021 IPlugin() { } 00022 virtual ~IPlugin() { } 00023 00028 virtual const std::string& getName() const = 0; 00029 00032 virtual void install() = 0; 00033 00037 virtual void initialize() = 0; 00038 00041 virtual void shutdown() = 0; 00042 00045 virtual void uninstall() = 0; 00046 }; 00047 00048 } // namespace MyGUI 00049 00050 #endif // __MYGUI_PLUGIN_H__