MyGUI
3.2.2
MyGUIEngine
include
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
18
class
MYGUI_EXPORT
IPlugin
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_
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:103
MyGUI
Definition:
MyGUI_ActionController.h:15
MyGUI::IPlugin::IPlugin
IPlugin()
Definition:
MyGUI_Plugin.h:21
MyGUI::IPlugin::~IPlugin
virtual ~IPlugin()
Definition:
MyGUI_Plugin.h:22
Generated by
1.8.20