/[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 9 by torben, Wed Aug 30 21:57:57 2006 UTC
# Line 9  class DatabaseLayer Line 9  class DatabaseLayer
9  {  {
10  private:  private:
11          CDatabase db;          CDatabase db;
12            vector<Person> persons;
13            vector<Equipment> equipments;
14    
15  public:  public:
16          DatabaseLayer(void);          DatabaseLayer(void);
# Line 20  public: Line 22  public:
22          bool AddPerson(Person NewPerson);          bool AddPerson(Person NewPerson);
23          bool UpdatePerson(Person ChangePerson);          bool UpdatePerson(Person ChangePerson);
24          bool DeletePerson(Person RemovePerson);          bool DeletePerson(Person RemovePerson);
25    
26            bool UpdateEquipment(Equipment ChangeEquipment);
27            Equipment GetEquipment(CString barcode);
28    
29    
30            bool AddEquipment(Equipment e);
31            vector<Equipment> GetEquipmentAll();
32  };  };

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

  ViewVC Help
Powered by ViewVC 1.1.20