Website Summary Files Commits Branches @commit @diff @stats
path: root / src / ConsoleInterface / Menu.h
diff options
context:
space:
mode:
Commit5eb6112aaabebe5338e65f16cf4f18acc38ddf4d (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 21:29:12 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 21:29:12 +0300
Files208df29b92d915ecf020fa3c3f06e698069388a0 /src/ConsoleInterface/Menu.h
FMI-OOP-P1_TicketSystem-5eb6112aaabebe5338e65f16cf4f18acc38ddf4d.tar
FMI-OOP-P1_TicketSystem-5eb6112aaabebe5338e65f16cf4f18acc38ddf4d.tar.gz
FMI-OOP-P1_TicketSystem-5eb6112aaabebe5338e65f16cf4f18acc38ddf4d.zip
Parent1a24b8b50e1c6956be96cd6f0337c963728ebc9b (diff)
Autocommit at 05.05.2022 @ 21:29
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);