MyGUI: MyGUI_SubWidgetManager.h Source File

MyGUI 3.4.3

MyGUI_SubWidgetManager.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_SUB_WIDGET_MANAGER_H_
8#define MYGUI_SUB_WIDGET_MANAGER_H_
9
10#include "MyGUI_Prerequest.h"
11#include "MyGUI_Singleton.h"
12
13namespace MyGUI
14{
15
16 class MYGUI_EXPORT SubWidgetManager
17 {
18 MYGUI_SINGLETON_DECLARATION(SubWidgetManager);
19
20 public:
21 SubWidgetManager();
22
23 void initialise();
24 void shutdown();
25
26 const std::string& getCategoryName() const;
27 const std::string& getStateCategoryName() const;
28
29 private:
30 bool mIsInitialise{false};
31 std::string mCategoryName;
32 std::string mStateCategoryName;
33 };
34
35} // namespace MyGUI
36
37#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