diff options
Autocommit at 28.05.2022 @ 20:35
1 files changed, 3 insertions, 0 deletions
| -rw-r--r-- | src/Generic/ConsoleInterface/Menu.h | 3 |
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; }; |
