Changeset View
Changeset View
Standalone View
Standalone View
src/service/plugins/sqlite/Utils.h
Show All 18 Lines | |||||
19 | 19 | | |||
20 | #ifndef PLUGINS_SQLITE_DATABASE_UTILS_H | 20 | #ifndef PLUGINS_SQLITE_DATABASE_UTILS_H | ||
21 | #define PLUGINS_SQLITE_DATABASE_UTILS_H | 21 | #define PLUGINS_SQLITE_DATABASE_UTILS_H | ||
22 | 22 | | |||
23 | #include <QSqlQuery> | 23 | #include <QSqlQuery> | ||
24 | #include <common/database/schema/ResourcesDatabaseSchema.h> | 24 | #include <common/database/schema/ResourcesDatabaseSchema.h> | ||
25 | #include <memory> | 25 | #include <memory> | ||
26 | 26 | | |||
27 | #include "DebugResources.h" | ||||
28 | | ||||
27 | namespace Utils { | 29 | namespace Utils { | ||
28 | 30 | | |||
29 | static unsigned int errorCount = 0; | 31 | static unsigned int errorCount = 0; | ||
30 | 32 | | |||
31 | inline bool prepare(Common::Database &database, | 33 | inline bool prepare(Common::Database &database, | ||
32 | QSqlQuery &query, | 34 | QSqlQuery &query, | ||
33 | const QString &queryString) | 35 | const QString &queryString) | ||
34 | { | 36 | { | ||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |