summaryrefslogtreecommitdiff
path: root/libsql/osqlitedriver.h
Side-by-side diff
Diffstat (limited to 'libsql/osqlitedriver.h') (more/less context) (show whitespace changes)
-rw-r--r--libsql/osqlitedriver.h34
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 @@
-#ifndef OSQL_LITE_DRIVER_H
-#define OSQL_LITE_DRIVER_H
-
-#include <sqlite.h>
-
-#include "osqldriver.h"
-#include "osqlerror.h"
-#include "osqlresult.h"
-
-class OSQLiteDriver : public OSQLDriver {
- Q_OBJECT
-public:
- OSQLiteDriver( QLibrary *lib = 0l );
- ~OSQLiteDriver();
- QString id()const;
- void setUserName( const QString& );
- void setPassword( const QString& );
- void setUrl( const QString& url );
- void setOptions( const QStringList& );
- bool open();
- bool close();
- OSQLError lastError();
- OSQLResult query( OSQLQuery* );
- OSQLTable::ValueList tables()const;
-private:
- OSQLError m_lastE;
- OSQLResult m_result;
- OSQLResultItem m_items;
- int handleCallBack( int, char**, char** );
- static int call_back( void*, int, char**, char** );
- QString m_url;
- sqlite *m_sqlite;
-};
-#endif