1 |
|
/* |
2 |
|
* Primary developers: Hedin & Kevin |
3 |
|
*/ |
4 |
|
|
5 |
#pragma once |
#pragma once |
6 |
|
|
7 |
#include "Containers.h" |
#include "Containers.h" |
24 |
bool AddPerson(Person NewPerson); |
bool AddPerson(Person NewPerson); |
25 |
bool UpdatePerson(Person ChangePerson); |
bool UpdatePerson(Person ChangePerson); |
26 |
bool DeletePerson(Person RemovePerson); |
bool DeletePerson(Person RemovePerson); |
27 |
|
bool ReturnEquipment(CString barcode); |
28 |
|
bool CheckoutEquipment(Person CheckPersID, Equipment CheckEquip, int Numdays); |
29 |
|
bool EquipmentReservation(CString barcode, Person CheckPerson); |
30 |
|
bool UpdateEquipment(Equipment CheckEquip); |
31 |
|
bool AddEquipment(Equipment AddEquip); |
32 |
|
vector<Equipment> GetEquipmentAll(void); |
33 |
|
Equipment GetEquipment(CString wantBarcode); |
34 |
|
bool DeleteEquipment(Equipment DelEquip); |
35 |
|
vector<Equipment> Search(CString barcode, CString name, CString inits, bool available, bool reserved, bool deposited); |
36 |
|
void checkReservations(CString barcode); |
37 |
|
bool DeleteReservation(CString barcode, CString resid); |
38 |
|
|
39 |
|
private: |
40 |
|
void FillEquipmentVector(vector<Equipment> &buffer, CRecordset &rs); |
41 |
}; |
}; |