-
Notifications
You must be signed in to change notification settings - Fork 0
/
UI.h
52 lines (41 loc) · 1.11 KB
/
UI.h
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#pragma once
#include <iostream>
#ifdef _WIN32
#include <Windows.h>
#else
#include <unistd.h>
#endif
#include <iostream>
#include <cstdlib>
using namespace std;
/*
Current Time (Day:Hour):70:9
7 Waiting Cargos: [110,113] (116,118) {119,112,114}
-------------------------------------------------------
4 Loading Trucks: 5[3,4,12,15] 1(6) 7{9,11} 2[5,7]
-------------------------------------------------------
4 Empty Trucks: [4], (10), [6], {8}
-------------------------------------------------------
5 Moving Cargos: 7[45, 52] 12{34, 77, 80}
-------------------------------------------------------
2 In-Checkup Trucks: [2] {3}
-------------------------------------------------------
3 Delivered Cargos: {5} [4] (1)
*/
class Company;
class UI{
int x;
string filename;
public:
void PrintUI(Company* PC);
void Interactive(Company* PC);
void PrintMessage(string message);
string GetUserInput();
void stepbystep(Company* PC);
void silent(Company* PC);
void Mode();
int GetMode() const;
void SetMode(int h);
string GetFileName() const;
void GetFileNameFromUser();
};