From acbf9eba57c6531a1589a6f72062a67e11e9f76e Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 28 May 2022 20:35:09 +0300 Subject: Autocommit at 28.05.2022 @ 20:35 --- src/Generic/ConsoleInterface/Menu.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Generic/ConsoleInterface/Menu.h') 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; }; -- cgit v1.3.1-23-gd82d