-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAPPLICATION.H
43 lines (35 loc) · 1.08 KB
/
APPLICATION.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
#ifndef application_h
#define application_h
/* Include custom headers */
#include "vehicle.h"
#include "user.h"
#include "trip.h"
#include "database.h"
#include "error.cpp"
#include "string_helper.h"
/*include standard cpp headers */
#include <fstream>
extern const char DELIMITER;
class Application {
private :
Database * db;
void renderMenu () ;
void welcome () ;
void gotoXY ( int x , int y ) const ;
/* Render Menu */
void renderAddNewVehicleMenu () const ;
void renderViewVehicleMenu () const ;
void renderEditVehicleMenu () const ;
void renderAddNewUserMenu () const ;
void renderAddNewTripMenu () const ;
void renderViewTripMenu () const;
void renderStartTripMenu () const ;
void renderCompleteTripMenu () const ;
void showDialog ( string message, string id = " ") const ;
void cleanMemory () ;
public :
Application ();
/* start application */
void start ();
};
#endif