Don't include sqlite3.h from headers

So that sqlite is not part of the public interface of csync
(and that the sqlite include path don't need to be passed when compiling
libsync or gui)
This commit is contained in:
Olivier Goffart 2017-12-15 11:07:53 +01:00 committed by Dominik Schmidt
parent f326bf371d
commit 776bbbf7b1
6 changed files with 6 additions and 5 deletions

View File

@ -26,6 +26,7 @@
#include "ownsql.h"
#include "common/utility.h"
#include "common/asserts.h"
#include <sqlite3.h>
#define SQLITE_SLEEP_TIME_USEC 100000
#define SQLITE_REPEAT_COUNT 20

View File

@ -19,13 +19,14 @@
#ifndef OWNSQL_H
#define OWNSQL_H
#include <sqlite3.h>
#include <QObject>
#include <QVariant>
#include "ocsynclib.h"
struct sqlite3;
struct sqlite3_stmt;
namespace OCC {
/**

View File

@ -23,6 +23,7 @@
#include <QElapsedTimer>
#include <QUrl>
#include <QDir>
#include <sqlite3.h>
#include "common/syncjournaldb.h"
#include "version.h"

View File

@ -36,7 +36,6 @@
#include <QHash>
#include <stdint.h>
#include <stdbool.h>
#include <sqlite3.h>
#include <map>
#include <set>
#include <functional>

View File

@ -48,8 +48,6 @@
#include <QClipboard>
#include <sqlite3.h>
#include <QStandardPaths>

View File

@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "csync_update.cpp"
#include <sqlite3.h>
#include "torture.h"