mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-12 18:57:16 +01:00
116 lines
3.2 KiB
C++
116 lines
3.2 KiB
C++
#ifndef _LIBRARY_SQLITE_COMMON_HPP_
|
|
#define _LIBRARY_SQLITE_COMMON_HPP_
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
namespace SqMod {
|
|
namespace SQLite {
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
* ...
|
|
*/
|
|
class ConnectionHandle
|
|
{
|
|
public:
|
|
|
|
/* --------------------------------------------------------------------------------------------
|
|
* ...
|
|
*/
|
|
ConnectionHandle();
|
|
|
|
/* --------------------------------------------------------------------------------------------
|
|
* ...
|
|
*/
|
|
ConnectionHandle(const ConnectionHandle & o);
|
|
|
|
/* --------------------------------------------------------------------------------------------
|
|
* ...
|
|
*/
|
|
ConnectionHandle(ConnectionHandle && o);
|
|
|
|
/* --------------------------------------------------------------------------------------------
|
|
* ...
|
|
*/
|
|
~ConnectionHandle();
|
|
|
|
/* --------------------------------------------------------------------------------------------
|
|
* ...
|
|
*/
|
|
ConnectionHandle & operator = (const ConnectionHandle & o);
|
|
|
|
/* --------------------------------------------------------------------------------------------
|
|
* ...
|
|
*/
|
|
ConnectionHandle & operator = (ConnectionHandle && o);
|
|
|
|
/* --------------------------------------------------------------------------------------------
|
|
* ...
|
|
*/
|
|
|
|
|
|
protected:
|
|
|
|
// --------------------------------------------------------------------------------------------
|
|
|
|
private:
|
|
|
|
// --------------------------------------------------------------------------------------------
|
|
|
|
};
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
* ...
|
|
*/
|
|
class StatementHandle
|
|
{
|
|
public:
|
|
|
|
/* --------------------------------------------------------------------------------------------
|
|
* ...
|
|
*/
|
|
StatementHandle();
|
|
|
|
/* --------------------------------------------------------------------------------------------
|
|
* ...
|
|
*/
|
|
StatementHandle(const StatementHandle & o);
|
|
|
|
/* --------------------------------------------------------------------------------------------
|
|
* ...
|
|
*/
|
|
StatementHandle(StatementHandle && o);
|
|
|
|
/* --------------------------------------------------------------------------------------------
|
|
* ...
|
|
*/
|
|
~StatementHandle();
|
|
|
|
/* --------------------------------------------------------------------------------------------
|
|
* ...
|
|
*/
|
|
StatementHandle & operator = (const StatementHandle & o);
|
|
|
|
/* --------------------------------------------------------------------------------------------
|
|
* ...
|
|
*/
|
|
StatementHandle & operator = (StatementHandle && o);
|
|
|
|
/* --------------------------------------------------------------------------------------------
|
|
* ...
|
|
*/
|
|
|
|
|
|
protected:
|
|
|
|
// --------------------------------------------------------------------------------------------
|
|
|
|
private:
|
|
|
|
// --------------------------------------------------------------------------------------------
|
|
|
|
};
|
|
|
|
} // Namespace:: SQLite
|
|
} // Namespace:: SqMod
|
|
|
|
#endif // _LIBRARY_SQLITE_COMMON_HPP_
|