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

Annotation of /trunk/h8server/DatabaseLayer.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 87 - (hide annotations) (download)
Tue May 8 08:51:55 2007 UTC (17 years ago) by kevin
File MIME type: text/plain
File size: 762 byte(s)
added h8server visual studio project - with files this time :P
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     virtual log Transaktionslog(CString TerminalID) = 0;
23     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