11 #ifndef _INCLUDE_SQLITECONX_H_
12 #define _INCLUDE_SQLITECONX_H_
14 #include <drift/DB_Common.h>
17 #if defined(DSL_DLL) && defined(WIN32)
18 #if defined(DSL_SQLITE_EXPORTS)
19 #define DSL_SQLITE_API extern "C" __declspec(dllexport)
20 #define DSL_SQLITE_API_CLASS __declspec(dllexport)
22 #define DSL_SQLITE_API extern "C" __declspec(dllimport)
23 #define DSL_SQLITE_API_CLASS __declspec(dllimport)
26 #define DSL_SQLITE_API DSL_API_VIS
27 #define DSL_SQLITE_API_CLASS DSL_API_VIS
41 bool Open(
const string& filename);
42 bool OpenV2(
const string& filename,
int flags,
const string& vfs=
"");
46 string GetErrorString();
49 bool NoResultQuery(
const string& query);
58 uint32_t GetQueryCount();
60 string EscapeString(
const string& str);
61 string MPrintf(
const char * str, ...);
62 sqlite3 * GetHandle();
70 uint32_t query_count = 0;
Definition: DB_SQLite.h:36
Definition: DB_Common.h:14
Definition: DB_Common.h:26
Definition: DB_Common.h:36
Definition: DB_SQLite.h:30