blob: 1455ce4bb1c4ef17e9ac792be4b619416d5f894d (
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
27
28
|
#ifndef HEADER_USERINTERFACE
#define HEADER_USERINTERFACE
#include "../Generic/ConsoleInterface/Menu.h"
#include "../Models/Table.h"
class UserInterface {
Menu menu;
static bool instantiated;
static Table& table;
static void com_open(const char* params);
static void com_close(const char* params);
static void com_save(const char* params);
static void com_saveas(const char* params);
static void com_help(const char* params);
static void com_exit(const char* params);
static void com_print(const char* params);
static void com_edit(const char* params);
public:
UserInterface(Table& table);
void run();
};
#endif
|