1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#ifndef HEADER_CONSOLEINTERFACE_MENU #define HEADER_CONSOLEINTERFACE_MENU #include "Command.h" #include "../List/List.h" class Menu { List<Command> menuOptions; public: Menu(const Command* commands, unsigned commandCount); void navigate() const; }; #endif