/[H6]/DatabaseLayer.h
ViewVC logotype

Diff of /DatabaseLayer.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8 by torben, Wed Aug 30 12:39:09 2006 UTC revision 27 by torben, Sun Sep 3 09:14:24 2006 UTC
# Line 20  public: Line 20  public:
20          bool AddPerson(Person NewPerson);          bool AddPerson(Person NewPerson);
21          bool UpdatePerson(Person ChangePerson);          bool UpdatePerson(Person ChangePerson);
22          bool DeletePerson(Person RemovePerson);          bool DeletePerson(Person RemovePerson);
23            bool ReturnEquipment(CString barcode);
24            bool CheckoutEquipment(Person CheckPersID, Equipment CheckEquip, int Numdays);
25            bool EquipmentReservation(CString barcode, Person CheckPerson);
26            bool UpdateEquipment(Equipment CheckEquip);
27            bool AddEquipment(Equipment AddEquip);
28            vector<Equipment> GetEquipmentAll(void);
29            Equipment GetEquipment(CString wantBarcode);
30            bool DeleteEquipment(Equipment DelEquip);
31            vector<Equipment> Search(CString barcode, CString name, CString inits, bool available, bool reserved, bool deposited);
32            void checkReservations(CString barcode);
33            bool DeleteReservation(CString barcode, CString resid);
34    
35    private:
36            void FillEquipmentVector(vector<Equipment> &buffer, CRecordset &rs);
37  };  };

Legend:
Removed from v.8  
changed lines
  Added in v.27

  ViewVC Help
Powered by ViewVC 1.1.20