Parent Directory | Revision Log
Refactored the database layer classes. Pushed most of the functions to the parent class.
1 | /* |
2 | * Primary developers: Hedin & Kevin |
3 | */ |
4 | |
5 | #pragma once |
6 | |
7 | #include "DatabaseLayer.h" |
8 | #include "Containers.h" |
9 | #include "ConfigFile.h" |
10 | #include <vector> |
11 | |
12 | using namespace std; |
13 | |
14 | class MySQLLayer : public DatabaseLayer |
15 | { |
16 | public: |
17 | MySQLLayer(ConfigFile &config); |
18 | virtual ~MySQLLayer(void); |
19 | |
20 | |
21 | virtual vector<Equipment> Search(CString barcode, CString name, CString inits, bool available, bool reserved, bool deposited); |
22 | protected: |
23 | virtual CString GenerateQueryForLatestCheckouts(CString barcode); |
24 | }; |
ViewVC Help | |
Powered by ViewVC 1.1.20 |