-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAdmin.h
More file actions
30 lines (28 loc) · 704 Bytes
/
Copy pathAdmin.h
File metadata and controls
30 lines (28 loc) · 704 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
#include "Appointments.h"
#include "Doctor.h"
#include "Patient.h"
class Admin{
doctor *D = new doctor[20];
int NoOFDoc;
int NoOfPat;
public:
patient *P = new patient[20];
Appointments App;
Admin() {NoOFDoc=0;NoOfPat=0;}
void Login();
void RegPatient();
void RegDoc();
string DocLog();
string PatLog();
void ManageDoc();
void DeleteDoc();
void DeletePat();
void EditDoc(const string fileName,string NIC);
void SearchDoc();
void BookApp(string Nic);
void ManageApp(const string fName,string NIC);
void LeaveJob(string NIC);
void cancelApp(string NIC);
void takeApp(string NIC);
void SeeFeedbacks(string NIC);
};