MyGUI_SubWidgetManager.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_SUB_WIDGET_MANAGER_H_
#define MYGUI_SUB_WIDGET_MANAGER_H_
#include "MyGUI_Prerequest.h"
#include "MyGUI_Singleton.h"
namespace MyGUI
{
class MYGUI_EXPORT SubWidgetManager
{
MYGUI_SINGLETON_DECLARATION(SubWidgetManager);
public:
SubWidgetManager();
void initialise();
void shutdown();
const std::string& getCategoryName() const;
const std::string& getStateCategoryName() const;
private:
bool mIsInitialise{false};
std::string mCategoryName;
std::string mStateCategoryName;
};
} // namespace MyGUI
#endif // MYGUI_SUB_WIDGET_MANAGER_H_
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition MyGUI_Platform.h:77
MyGUI_Prerequest.h
MyGUI_Singleton.h
MYGUI_SINGLETON_DECLARATION
#define MYGUI_SINGLETON_DECLARATION(ClassName)
Definition MyGUI_Singleton.h:112
MyGUI::SubWidgetManager::getStateCategoryName
const std::string & getStateCategoryName() const
Definition MyGUI_SubWidgetManager.cpp:91
MyGUI::SubWidgetManager::initialise
void initialise()
Definition MyGUI_SubWidgetManager.cpp:32
MyGUI::SubWidgetManager::shutdown
void shutdown()
Definition MyGUI_SubWidgetManager.cpp:59
MyGUI::SubWidgetManager::getCategoryName
const std::string & getCategoryName() const
Definition MyGUI_SubWidgetManager.cpp:86
MyGUI::SubWidgetManager::SubWidgetManager
SubWidgetManager(const SubWidgetManager &)=delete
MyGUI
Definition MyGUI_ActionController.h:15