MyGUI  3.2.1
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  IPlugin() { }
22  virtual ~IPlugin() { }
23 
28  virtual const std::string& getName() const = 0;
29 
32  virtual void install() = 0;
33 
37  virtual void initialize() = 0;
38 
41  virtual void shutdown() = 0;
42 
45  virtual void uninstall() = 0;
46  };
47 
48 } // namespace MyGUI
49 
50 #endif // __MYGUI_PLUGIN_H__