-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainGateway.h
More file actions
34 lines (25 loc) · 724 Bytes
/
MainGateway.h
File metadata and controls
34 lines (25 loc) · 724 Bytes
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
//
// Created by oka on 4/15/2021.
//
#ifndef PSS_HW_4_MAINGATEWAY_H
#define PSS_HW_4_MAINGATEWAY_H
#include <string>
#include "MainGateway.h"
using namespace std;
class PassengerGateway;
class MainGateway {
public:
vector<string>b;
vector<string>c;
vector<string>d;
int a=0;
static void enter();
static void GetAndReplace(string & data, const std::string& toSearch, const std::string& toReplace);
static void succed();
//scan for driver history
void Scan(const string& str);
MainGateway()=default;
void scanOrder(string &car, string &Status, const string& File, int i);
void NewOrder(string &Pass, string &Status, const string& File);
};
#endif //PSS_HW_4_MAINGATEWAY_H