From 86352e32f449ecf00de254674b7dcac72bc34a14 Mon Sep 17 00:00:00 2001 From: zecke Date: Tue, 27 Aug 2002 20:17:50 +0000 Subject: Initial check in of the light wrapper library around normal SQL The first driver implementation is a SQLite version --- (limited to 'libsql/osqlerror.cpp') 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; +} -- cgit v0.9.0.2