MyGUI  3.4.0
MyGUI_Plugin.h
Go to the documentation of this file.
1 /*
2  * This source file is part of MyGUI. For the latest info, see http://mygui.info/
3  * Distributed under the MIT License
4  * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5  */
6 
7 #ifndef MYGUI_PLUGIN_H_
8 #define MYGUI_PLUGIN_H_
9 
10 #include "MyGUI_Prerequest.h"
11 #include <string>
12 
13 namespace MyGUI
14 {
15 
19  {
20  public:
21  virtual ~IPlugin() { }
22 
27  virtual const std::string& getName() const = 0;
28 
31  virtual void install() = 0;
32 
36  virtual void initialize() = 0;
37 
40  virtual void shutdown() = 0;
41 
44  virtual void uninstall() = 0;
45  };
46 
47 } // namespace MyGUI
48 
49 #endif // MYGUI_PLUGIN_H_
MyGUI::IPlugin::initialize
virtual void initialize()=0
MyGUI::IPlugin::install
virtual void install()=0
MyGUI::IPlugin::uninstall
virtual void uninstall()=0
MyGUI_Prerequest.h
MyGUI::IPlugin
Base plugin class.
Definition: MyGUI_Plugin.h:19
MyGUI::IPlugin::shutdown
virtual void shutdown()=0
MyGUI::IPlugin::getName
virtual const std::string & getName() const =0
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition: MyGUI_Platform.h:89
MyGUI
Definition: MyGUI_ActionController.h:15
MyGUI::IPlugin::~IPlugin
virtual ~IPlugin()
Definition: MyGUI_Plugin.h:21