1
///////////////////////////////////////////////////////////////////////////////
2
// Name: wxsqlite3opt.h
3
// Purpose: wxSQLite3 optional feature selection
4
// Author: Ulrich Telle
8
// Copyright: (c) Ulrich Telle
9
// Licence: wxWindows licence
10
///////////////////////////////////////////////////////////////////////////////
12
/// \file wxsqlite3opt.h Compile time switches for the wxSQLite3 class
14
#ifndef _WX_SQLITE3_OPT_H_
15
#define _WX_SQLITE3_OPT_H_
17
// Conditional compilation
18
// -----------------------
20
//! If this define is set to 1, then the SQLite library will be loaded dynamically
21
//! otherwise a link library is required to build wxSQLite3.
22
#ifndef wxUSE_DYNAMIC_SQLITE3_LOAD
23
#define wxUSE_DYNAMIC_SQLITE3_LOAD 0
26
//! To enable SQLite's meta data methods define WXSQLITE3_HAVE_METADATA as 1 here.
27
//! Attention: SQLite needs to be compiled with SQLITE_ENABLE_COLUMN_METADATA for this to work
28
#ifndef WXSQLITE3_HAVE_METADATA
29
#define WXSQLITE3_HAVE_METADATA 0
32
//! To enable SQLite's database encryption support define WXSQLITE3_HAVE_CODEC as 1 here.
33
//! Attention: SQLite needs to be compiled with SQLITE_HAS_CODEC for this to work
34
#ifndef WXSQLITE3_HAVE_CODEC
35
#define WXSQLITE3_HAVE_CODEC 0
38
//! To enable SQLite's loadable extension feature define WXSQLITE3_HAVE_LOAD_EXTENSION as 1 here.
39
//! Attention: SQLite needs to be compiled without SQLITE_OMIT_LOAD_EXTENSION for this to work
40
#ifndef WXSQLITE3_HAVE_LOAD_EXTENSION
41
#define WXSQLITE3_HAVE_LOAD_EXTENSION 0
44
#endif // _WX_SQLITE3_OPT_H_