MyGUI  3.2.1
MyGUI_SubWidgetManager.h
Go to the documentation of this file.
00001 /*
00002  * This source file is part of MyGUI. For the latest info, see http://mygui.info/
00003  * Distributed under the MIT License
00004  * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
00005  */
00006 
00007 #ifndef __MYGUI_SUB_WIDGET_MANAGER_H__
00008 #define __MYGUI_SUB_WIDGET_MANAGER_H__
00009 
00010 #include "MyGUI_Prerequest.h"
00011 #include "MyGUI_Singleton.h"
00012 
00013 namespace MyGUI
00014 {
00015 
00016     class MYGUI_EXPORT SubWidgetManager :
00017         public Singleton<SubWidgetManager>
00018     {
00019     public:
00020         SubWidgetManager();
00021 
00022         void initialise();
00023         void shutdown();
00024 
00025         const std::string& getCategoryName() const;
00026         const std::string& getStateCategoryName() const;
00027 
00028     private:
00029         bool mIsInitialise;
00030         std::string mCategoryName;
00031         std::string mStateCategoryName;
00032     };
00033 
00034 } // namespace MyGUI
00035 
00036 #endif // __MYGUI_SUB_WIDGET_MANAGER_H__