author | mickeyl <mickeyl> | 2003-08-10 15:42:26 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-08-10 15:42:26 (UTC) |
commit | 90dbd3e9e7139c1280e71f9c77ed4362b8d0f367 (patch) (unidiff) | |
tree | 22f0947337ea9b21a1d8f56d04ce3292c9d6f19e /libsql/osqlitedriver.h | |
parent | 616e919ff6aea6a30e18edb37128c229e806beae (diff) | |
download | opie-90dbd3e9e7139c1280e71f9c77ed4362b8d0f367.zip opie-90dbd3e9e7139c1280e71f9c77ed4362b8d0f367.tar.gz opie-90dbd3e9e7139c1280e71f9c77ed4362b8d0f367.tar.bz2 |
libsql is now a part of libopie2
-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 | ||