source: svn/trunk/zasc/app/DST_DB_Engine.h @ 51

Last change on this file since 51 was 2, checked in by jglee, 11 years ago

first commit

File size: 359 bytes
Line 
1#ifndef _DB_ENGINE_H_
2#define _DB_ENGINE_H_
3#include "DST_Common.h"
4#include "DST_CommonAPI.h"
5
6class CDB
7{
8private:
9       
10        int mRow;
11        int mCol;
12        char **mResult;
13
14public:
15        CDB();
16        ~CDB();
17        int Query(const char* strSQL, ...);
18        int GetTable(const char* strSQL, ...);
19       
20        int GetRow();
21        int GetCol();
22        char* GetResult(int i);
23       
24};
25
26#endif
27
Note: See TracBrowser for help on using the repository browser.