Website Summary Files Commits Branches @commit @diff @stats
path: root / src / UserInterface / UserInterface.h
blob: 5e0549084db4d7b670a9077326c3166a95c2eb38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef HEADER_USERINTERFACE
#define HEADER_USERINTERFACE

#include "../Generic/ConsoleInterface/Menu.h"
#include "../Models/Table.h"

class UserInterface {
	Menu menu;
	Table& table;

	void com_open(const char* params);
	void com_close(const char* params);
	void com_save(const char* params);
	void com_saveas(const char* params);
	void com_help(const char* params);
	void com_exit(const char* params);

	void com_print(const char* params);
	void com_edit(const char* params);

public:
	UserInterface(Table& table);
	void run();
};

#endif