From 10ae24ff94396c67e773e3ce967bce82cdb9b4f6 Mon Sep 17 00:00:00 2001 From: that Date: Sat, 26 Dec 2015 20:53:51 +0100 Subject: get rid of console thread for OpenRecoveryScript - CLI commands run in a threaded action "twcmd" - Console is displayed via "singleaction_page" - move ORS execution code from GUI action to OpenRecoveryScript class - remove unused function gui_changePackage - don't change PageManager package in home action - fix that /tmp/openrecoveryscript was not deleted after execution Change-Id: Ic688c0b04647ce09e9db979b0bc5123f47cf4f70 --- gui/pages.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gui/pages.hpp') 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); -- cgit v1.2.3