Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Generic / ConsoleInterface / Menu.h
diff options
context:
space:
mode:
Commitacbf9eba57c6531a1589a6f72062a67e11e9f76e (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-05-28 20:35:09 +0300
Committer
 Syndamia <kamen@syndamia.com>
2022-05-28 20:35:09 +0300
Filesdc967e82735b6d695abe1a9a9e9d499458531f79 /src/Generic/ConsoleInterface/Menu.h
FMI-OOP-P2_Tables-acbf9eba57c6531a1589a6f72062a67e11e9f76e.tar
FMI-OOP-P2_Tables-acbf9eba57c6531a1589a6f72062a67e11e9f76e.tar.gz
FMI-OOP-P2_Tables-acbf9eba57c6531a1589a6f72062a67e11e9f76e.zip
Parent49e3e3737c1f26846ef443f2621bbc2a552184c9 (diff)
Autocommit at 28.05.2022 @ 20:35
1 files changed, 3 insertions, 0 deletions
-rw-r--r--src/Generic/ConsoleInterface/Menu.h3
diff --git a/src/Generic/ConsoleInterface/Menu.h b/src/Generic/ConsoleInterface/Menu.h
index 68037df..faadba9 100644
--- a/src/Generic/ConsoleInterface/Menu.h
+++ b/src/Generic/ConsoleInterface/Menu.h
@@ -23,6 +23,9 @@ public:
//! Copies commands
Menu(const Command* commands, unsigned commandCount);
+ //! Adds a command to the internal Command list
+ void addCommand(const Command& command);
+
//! Lists commands and after user input executes an appropriate command run() function
void navigate() const;
};