Website Summary Files Commits Branches @commit @diff @stats
path: root / src / ConsoleInterface / Menu.h
diff options
context:
space:
mode:
1 files changed, 5 insertions, 2 deletions
-rw-r--r--src/ConsoleInterface/Menu.h7
diff --git a/src/ConsoleInterface/Menu.h b/src/ConsoleInterface/Menu.h
index bdfb602..2501871 100644
--- a/src/ConsoleInterface/Menu.h
+++ b/src/ConsoleInterface/Menu.h
@@ -8,10 +8,13 @@ class Menu {
char title[256];
List<Command> menuOptions;
+ bool backExistsApp;
+ bool isSubMenu;
+
public:
Menu();
- Menu(const char* title);
- Menu(const char* title, const Command* commands, unsigned commandCount);
+ Menu(const char* title, bool backExistsApp, bool isSubMenu);
+ Menu(const char* title, bool backExistsApp, bool isSubMenu, const Command* commands, unsigned commandCount);
void addCommand(const Command& command);