Mercurial > mercurial > hgweb_searcher2.cgi
comparison include/wx/wxsqlite3opt.h @ 0:c174ac668e9f
First commit ! (ver2.8)
author | pyon@macmini |
---|---|
date | Tue, 05 Apr 2011 18:44:57 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c174ac668e9f |
---|---|
1 /////////////////////////////////////////////////////////////////////////////// | |
2 // Name: wxsqlite3opt.h | |
3 // Purpose: wxSQLite3 optional feature selection | |
4 // Author: Ulrich Telle | |
5 // Modified by: | |
6 // Created: 2007-02-01 | |
7 // | |
8 // Copyright: (c) Ulrich Telle | |
9 // Licence: wxWindows licence | |
10 /////////////////////////////////////////////////////////////////////////////// | |
11 | |
12 /// \file wxsqlite3opt.h Compile time switches for the wxSQLite3 class | |
13 | |
14 #ifndef _WX_SQLITE3_OPT_H_ | |
15 #define _WX_SQLITE3_OPT_H_ | |
16 | |
17 // Conditional compilation | |
18 // ----------------------- | |
19 | |
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 | |
24 #endif | |
25 | |
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 | |
30 #endif | |
31 | |
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 | |
36 #endif | |
37 | |
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 | |
42 #endif | |
43 | |
44 //! To disable support for named collections define WXSQLITE3_USE_NAMED_COLLECTIONS as 0 here. | |
45 //! Attention: if WXSQLITE3_USE_NAMED_COLLECTIONS is defined as 1 (default) SQLite needs to be | |
46 //! compiled without SQLITE_OMIT_VIRTUALTABLE for this to work | |
47 #ifndef WXSQLITE3_USE_NAMED_COLLECTIONS | |
48 #define WXSQLITE3_USE_NAMED_COLLECTIONS 1 | |
49 #endif | |
50 | |
51 #endif // _WX_SQLITE3_OPT_H_ |