/[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 31 by torben, Sun Sep 3 10:10:19 2006 UTC
# Line 1  Line 1 
1    /*
2     * Primary developers: Hedin & Kevin
3     */
4    
5  #pragma once  #pragma once
6    
7  #include "Containers.h"  #include "Containers.h"
# Line 20  public: Line 24  public:
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  };  };

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

  ViewVC Help
Powered by ViewVC 1.1.20