summaryrefslogtreecommitdiffstats
path: root/gui/pages.hpp
diff options
context:
space:
mode:
authorthat <github@that.at>2015-12-26 20:53:51 +0100
committerEthan Yonker <dees_troy@teamw.in>2015-12-29 22:39:57 +0100
commit10ae24ff94396c67e773e3ce967bce82cdb9b4f6 (patch)
tree8f8ee4bf0fcc61b3df78a5b39b3893defd189f53 /gui/pages.hpp
parentdo not include stlport headers unless link to it (diff)
downloadandroid_bootable_recovery-10ae24ff94396c67e773e3ce967bce82cdb9b4f6.tar
android_bootable_recovery-10ae24ff94396c67e773e3ce967bce82cdb9b4f6.tar.gz
android_bootable_recovery-10ae24ff94396c67e773e3ce967bce82cdb9b4f6.tar.bz2
android_bootable_recovery-10ae24ff94396c67e773e3ce967bce82cdb9b4f6.tar.lz
android_bootable_recovery-10ae24ff94396c67e773e3ce967bce82cdb9b4f6.tar.xz
android_bootable_recovery-10ae24ff94396c67e773e3ce967bce82cdb9b4f6.tar.zst
android_bootable_recovery-10ae24ff94396c67e773e3ce967bce82cdb9b4f6.zip
Diffstat (limited to 'gui/pages.hpp')
-rw-r--r--gui/pages.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/gui/pages.hpp b/gui/pages.hpp
index 5dcc9e0b5..e7ad55e94 100644
--- a/gui/pages.hpp
+++ b/gui/pages.hpp
@@ -101,6 +101,7 @@ public:
// Helper routine for identifing if we're the current page
int IsCurrentPage(Page* page);
+ std::string GetCurrentPage() const;
// These are routing routines
int Render(void);
@@ -144,10 +145,7 @@ public:
static int ChangePage(std::string name);
static int ChangeOverlay(std::string name);
static const ResourceManager* GetResources();
-
- // Used for console-only mode
- static int SwitchToConsole(void);
- static int EndConsole(void);
+ static std::string GetCurrentPage();
// Helper to identify if a particular page is the active page
static int IsCurrentPage(Page* page);