-rw-r--r-- | libsql/osqlitedriver.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/libsql/osqlitedriver.h b/libsql/osqlitedriver.h deleted file mode 100644 index 6984539..0000000 --- a/libsql/osqlitedriver.h +++ b/dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | #ifndef OSQL_LITE_DRIVER_H | ||
2 | #define OSQL_LITE_DRIVER_H | ||
3 | |||
4 | #include <sqlite.h> | ||
5 | |||
6 | #include "osqldriver.h" | ||
7 | #include "osqlerror.h" | ||
8 | #include "osqlresult.h" | ||
9 | |||
10 | class OSQLiteDriver : public OSQLDriver { | ||
11 | Q_OBJECT | ||
12 | public: | ||
13 | OSQLiteDriver( QLibrary *lib = 0l ); | ||
14 | ~OSQLiteDriver(); | ||
15 | QString id()const; | ||
16 | void setUserName( const QString& ); | ||
17 | void setPassword( const QString& ); | ||
18 | void setUrl( const QString& url ); | ||
19 | void setOptions( const QStringList& ); | ||
20 | bool open(); | ||
21 | bool close(); | ||
22 | OSQLError lastError(); | ||
23 | OSQLResult query( OSQLQuery* ); | ||
24 | OSQLTable::ValueList tables()const; | ||
25 | private: | ||
26 | OSQLError m_lastE; | ||
27 | OSQLResult m_result; | ||
28 | OSQLResultItem m_items; | ||
29 | int handleCallBack( int, char**, char** ); | ||
30 | static int call_back( void*, int, char**, char** ); | ||
31 | QString m_url; | ||
32 | sqlite *m_sqlite; | ||
33 | }; | ||
34 | #endif | ||