Parkmanne/headers/Interface.h

19 lines
522 B
C
Raw Permalink Normal View History

2019-07-06 14:52:01 +00:00
#include "Query.h"
2019-07-08 20:57:09 +00:00
using std::cin;
2019-07-06 16:32:00 +00:00
void interface(vector<Park_spot>& spots);
void interface_member(vector<Park_spot>& spots, Customer& c);
2019-07-06 16:32:00 +00:00
void interface_admin(vector<Park_spot>& spots);
2019-07-08 20:57:09 +00:00
void park(Customer& c, vector<Park_spot>& spots);
void new_customer();
void new_admin();
2019-07-20 23:32:47 +00:00
void new_parkspot(vector<Park_spot>& spots);
// time creation
pair<int, int> create_month_period();
2019-07-20 23:32:47 +00:00
pair<int, int> create_week_period();
// report stuff
void report_single_spot(bool weekly = false);
void report_all_spots(bool weekly = false);