QGIS API Documentation
2.12.0-Lyon
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
core
qgsslconnect.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsslconnect.h - thin wrapper class to connect to spatialite databases
3
----------------------
4
begin : May 2015
5
copyright : (C) 2015 by Jürgen fischer
6
email : jef at norbit dot de
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGSSLCONNECT_H
17
#define QGSSLCONNECT_H
18
19
#include <QHash>
20
21
struct
sqlite3
;
22
23
class
CORE_EXPORT
QgsSLConnect
24
{
25
public
:
26
static
int
sqlite3_open(
const
char
*filename,
sqlite3
**ppDb );
27
static
int
sqlite3_close(
sqlite3
* );
28
29
static
int
sqlite3_open_v2(
const
char
*filename,
sqlite3
**ppDb,
int
flags,
const
char
*zVfs );
30
static
int
sqlite3_close_v2(
sqlite3
* );
31
32
#if defined(SPATIALITE_HAS_INIT_EX)
33
private
:
34
static
QHash<sqlite3 *, void *>
mSLconns;
35
#endif
36
};
37
38
#endif
39
QgsSLConnect
Definition:
qgsslconnect.h:23
QHash
sqlite3
struct sqlite3 sqlite3
Definition:
qgscoordinatereferencesystem.h:33
Generated on Sat Oct 24 2015 04:11:23 for QGIS API Documentation by
1.8.9.1