Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Generic / ConsoleInterface / Menu.h
diff options
context:
space:
mode:
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;
};