diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2015-10-27 15:49:01 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2015-11-09 21:57:23 +0100 |
commit | e0f1f3b4d1860143070d15501e19546680ed664a (patch) | |
tree | fe735392f3ca0709ae84e7729568fcaa5b43d6ce /gui/pages.hpp | |
parent | Fix rules for libstlport (diff) | |
download | android_bootable_recovery-e0f1f3b4d1860143070d15501e19546680ed664a.tar android_bootable_recovery-e0f1f3b4d1860143070d15501e19546680ed664a.tar.gz android_bootable_recovery-e0f1f3b4d1860143070d15501e19546680ed664a.tar.bz2 android_bootable_recovery-e0f1f3b4d1860143070d15501e19546680ed664a.tar.lz android_bootable_recovery-e0f1f3b4d1860143070d15501e19546680ed664a.tar.xz android_bootable_recovery-e0f1f3b4d1860143070d15501e19546680ed664a.tar.zst android_bootable_recovery-e0f1f3b4d1860143070d15501e19546680ed664a.zip |
Diffstat (limited to 'gui/pages.hpp')
-rw-r--r-- | gui/pages.hpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gui/pages.hpp b/gui/pages.hpp index 03fb0e5de..018c2cab2 100644 --- a/gui/pages.hpp +++ b/gui/pages.hpp @@ -78,11 +78,11 @@ protected: class PageSet { public: - PageSet(char* xmlFile); + PageSet(const char* xmlFile); virtual ~PageSet(); public: - int Load(ZipArchive* package); + int Load(ZipArchive* package, char* xmlFile); int CheckInclude(ZipArchive* package, xml_document<> *parentDoc); Page* FindPage(std::string name); @@ -109,14 +109,11 @@ protected: int LoadVariables(xml_node<>* vars); protected: - char* mXmlFile; - xml_document<> mDoc; ResourceManager* mResources; std::vector<Page*> mPages; std::vector<xml_node<>*> templates; Page* mCurrentPage; std::vector<Page*> mOverlays; // Special case for popup dialogs and the lock screen - std::vector<xml_document<>*> mIncludedDocs; }; class PageManager @@ -128,6 +125,8 @@ public: static PageSet* SelectPackage(std::string name); static int ReloadPackage(std::string name, std::string package); static void ReleasePackage(std::string name); + static int RunReload(); + static void RequestReload(); // Used for actions and pages static int ChangePage(std::string name); @@ -166,6 +165,8 @@ protected: static PageSet* mBaseSet; static MouseCursor *mMouseCursor; static HardwareKeyboard *mHardwareKeyboard; + static bool mReloadTheme; + static std::string mStartPage; }; #endif // _PAGES_HEADER_HPP |