author | zecke <zecke> | 2002-08-27 20:17:50 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-08-27 20:17:50 (UTC) |
commit | 86352e32f449ecf00de254674b7dcac72bc34a14 (patch) (unidiff) | |
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 @@ | |||
1 | #include "osqlerror.h" | ||
2 | |||
3 | OSQLError::OSQLError( const QString& driverText, | ||
4 | const QString& driverDatabaseText, | ||
5 | int type, int subType ) | ||
6 | : m_drvText( driverText ), m_drvDBText( driverDatabaseText ), | ||
7 | m_type( type ), m_number( subType ) | ||
8 | { | ||
9 | } | ||
10 | OSQLError::~OSQLError() { | ||
11 | } | ||
12 | QString OSQLError::driverText()const { | ||
13 | return m_drvText; | ||
14 | } | ||
15 | QString OSQLError::databaseText()const { | ||
16 | return m_drvDBText; | ||
17 | } | ||
18 | int OSQLError::type()const { | ||
19 | return m_type; | ||
20 | } | ||
21 | int OSQLError::subNumber()const { | ||
22 | return m_number; | ||
23 | } | ||