/[H8]/trunk/h8server/DatabaseLayer.h
ViewVC logotype

Annotation of /trunk/h8server/DatabaseLayer.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 100 - (hide annotations) (download)
Fri May 25 08:34:08 2007 UTC (17 years ago) by kevin
File MIME type: text/plain
File size: 782 byte(s)
added test program and fixed some log problems
1 kevin 87 /*
2     * Primary developers: Hedin & Kevin
3     */
4    
5     #pragma once
6    
7     #include "Containers.h"
8     #include <vector>
9     #include <afxdb.h>
10    
11     using namespace std;
12    
13     class DatabaseLayer
14     {
15     private:
16     CDatabase db;
17    
18     public:
19     // virtual DatabaseLayer(void);
20     virtual ~DatabaseLayer(void) {};
21    
22 kevin 100 virtual translog Transaktionslog(CString TerminalID, CString logID) = 0;
23 kevin 87 virtual log TransaktionsEnhed(CString transaktion, CString price,CString barcode,CString quantity) = 0;
24     virtual Equipment GetEquipment(CString wantBarcode, CString wantdescription, CString wantprice) = 0;
25     virtual bool Deletelastentry(CString ID, CString barcode) = 0;
26     virtual bool Deletesession(CString ID) = 0;
27    
28     private:
29     //virtual void FillEquipmentVector(vector<Equipment> &buffer, CRecordset &rs) = 0;
30     };

  ViewVC Help
Powered by ViewVC 1.1.20