Transform to CMake project.

This commit is contained in:
SET
2022-10-15 15:27:56 +02:00
parent 472a3a8fd0
commit 1061b744c2
132 changed files with 136 additions and 3300 deletions

49
LSQresult.h Normal file
View File

@@ -0,0 +1,49 @@
/*
* File: LSQresult.h
* Author: SET - nmset@yandex.com
* License : LGPL version 2.1
* Copyright SET, M. D. - © 2014
*
* Created on 31 mai 2014, 18:56
*/
#ifdef USE_LIBSQ
#ifndef LSQRESULT_H
#define LSQRESULT_H
/**
* SQLite namespace.
*
* Please note USE_LIBSQ pre-processor directive must be defined to include the SQLite backend.
*/
namespace SQ
{
class SQresult
{
/**
* This class is used to reference the data obtained by LSQConnection::ExecuteSQL.
*
* If no rows are returned, m_data is NULL and does not even provide the column names.
*/
public:
SQresult();
virtual ~SQresult();
/**
* Pointer to the array of column names and data.
*/
char ** m_data;
/**
* Number of rows.
*/
int m_nbRows;
/**
* Number of columns
*/
int m_nbCols;
private:
};
}
#endif /* LSQRESULT_H */
#endif