author | zecke <zecke> | 2002-08-27 20:17:50 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-08-27 20:17:50 (UTC) |
commit | 86352e32f449ecf00de254674b7dcac72bc34a14 (patch) (side-by-side diff) | |
tree | b5803b69ca00dceea1e2a76a5eee390f0748f27e /libsql/osqlerror.cpp | |
parent | 1398b50ffc193bc9ab69ebe198aeda847c39516e (diff) | |
download | opie-86352e32f449ecf00de254674b7dcac72bc34a14.zip opie-86352e32f449ecf00de254674b7dcac72bc34a14.tar.gz opie-86352e32f449ecf00de254674b7dcac72bc34a14.tar.bz2 |
Initial check in of the light wrapper library
around normal SQL
The first driver implementation is a SQLite version
-rw-r--r-- | libsql/osqlerror.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libsql/osqlerror.cpp b/libsql/osqlerror.cpp new file mode 100644 index 0000000..3890a50 --- a/dev/null +++ b/libsql/osqlerror.cpp @@ -0,0 +1,23 @@ +#include "osqlerror.h" + +OSQLError::OSQLError( const QString& driverText, + const QString& driverDatabaseText, + int type, int subType ) + : m_drvText( driverText ), m_drvDBText( driverDatabaseText ), + m_type( type ), m_number( subType ) +{ +} +OSQLError::~OSQLError() { +} +QString OSQLError::driverText()const { + return m_drvText; +} +QString OSQLError::databaseText()const { + return m_drvDBText; +} +int OSQLError::type()const { + return m_type; +} +int OSQLError::subNumber()const { + return m_number; +} |