MyGUI_Plugin.h
Go to the documentation of this file.
/*
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
* Distributed under the MIT License
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
*/
#ifndef MYGUI_PLUGIN_H_
#define MYGUI_PLUGIN_H_
#include "MyGUI_Prerequest.h"
#include <string>
namespace MyGUI
{
class MYGUI_EXPORT IPlugin
{
public:
virtual ~IPlugin() = default;
virtual const std::string& getName() const = 0;
virtual void install() = 0;
virtual void initialize() = 0;
virtual void shutdown() = 0;
virtual void uninstall() = 0;
};
} // namespace MyGUI
#endif // MYGUI_PLUGIN_H_
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition MyGUI_Platform.h:77
MyGUI_Prerequest.h
MyGUI::IPlugin
Base plugin class.
Definition MyGUI_Plugin.h:19
MyGUI::IPlugin::install
virtual void install()=0
MyGUI::IPlugin::~IPlugin
virtual ~IPlugin()=default
MyGUI::IPlugin::initialize
virtual void initialize()=0
MyGUI::IPlugin::getName
virtual const std::string & getName() const =0
MyGUI::IPlugin::shutdown
virtual void shutdown()=0
MyGUI::IPlugin::uninstall
virtual void uninstall()=0
MyGUI
Definition MyGUI_ActionController.h:15