source:
svn/trunk/zasc/app/DST_DB_Engine.h
@
76
| Last change on this file since 76 was 2, checked in by phkim, 11 years ago | |
|---|---|
| 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 | |
| 6 | class CDB |
| 7 | { |
| 8 | private: |
| 9 | |
| 10 | int mRow; |
| 11 | int mCol; |
| 12 | char **mResult; |
| 13 | |
| 14 | public: |
| 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.
