Website Summary Files Commits Branches @commit @diff @stats
path: root / src / ConsoleInterface / Menu.h
blob: 37bdf4847c714a1f4300e691dd601aae04c87381 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef HEADER_CONSOLEINTERFACE_MENU
#define HEADER_CONSOLEINTERFACE_MENU

#include "Command.h"
#include "../List/List.hpp"

class Menu {
	char title[256];
	List<Command> menuOptions;

public:
	Menu();
	Menu(const Command* commands, unsigned commandCount, const char* title);

	void addCommand(const Command& command);
	void navigate() const;
};

#endif