Files
MuditaOS/module-db/Database/config.h
Alek-Mudita b853087b3b Egd 2513 callog phonebook integration (#173)
* [EGD-2513] new API to create temparary contact entry if cannot be found
Calllog should search for contact.

* [EGD-2513] #pragma once in all headers file in module-db

* [EGD-2513] new constructor for CalllogRecord

* [EGD-2513] contact recognition for calllog DB API

* [EGD-2513] clean up

* [EGD-2513] displaying name and surname call and calllog

* [EGD-2513] enum instead bool

* [EGD-2513] fix in remporary contact creation

* [fix][EGD-2513] missing c_str

* [fix][EGD-2513] minor fixes in documentation

* [EGD-2513] unified entry read state for both sms and calllog dbs

* [EGD-2513] calllog db documentation

* [EGD-2513] code reviex fixed in ContactRecord
2020-03-02 16:43:29 +01:00

25 lines
1.2 KiB
C

/**
* @file config.h
* @author Lukasz Skrzypczak (lukasz.skrypczak@mudita.com)
* @date 21 cze 2018
* @brief Insert brief information about this file purpose.
* @copyright Copyright (C) 2018 mudita.com.
* @details More detailed information related to this code.
*/
#pragma once
#define SQLITE_OS_OTHER 1 //SQLITE has definitions for major OSes - UNIX, WIN etc. This define indicates that no known (at least to SQLITE) of is used
#define SQLITE_TEMP_STORE 3 //Temporary files. The user must configure SQLite to use in-memory temp files when using this VFS
#define SQLITE_THREADSAFE 0 //Use serialized thread-safe mode. This is fully supported threading environment setting
#define SQLITE_MEMDEBUG 0 //Not sure what exactly this do but without this SQLITE crashes
#define SQLITE_OMIT_AUTOINIT 1 // If this is set user has to manually invoke sqlite3_initialize.
#define SQLITE_DEFAULT_MEMSTATUS 0
#pragma GCC diagnostic ignored "-Wunused-variable"
#pragma GCC diagnostic ignored "-Wsign-compare"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Woverflow"