diff options
Autocommit at 05.05.2022 @ 21:29
1 files changed, 5 insertions, 2 deletions
| -rw-r--r-- | src/ConsoleInterface/Menu.h | 7 |
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); |
