From 2f68a9da7121ab2adaa70ff257577ee596b4c4ee Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Mon, 26 Mar 2012 20:04:36 +0200 Subject: Some general cleanups and merged Being::perform() into update() The main change here is to remove the separate calling of 'perform' on all beings, and rather rely on the beings to do whatever they were doing in that function when the virtual 'update' function is called. Reviewed-by: Yohann Ferreira --- src/dal/sqlitedataprovider.cpp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src/dal/sqlitedataprovider.cpp') diff --git a/src/dal/sqlitedataprovider.cpp b/src/dal/sqlitedataprovider.cpp index cc698f6..8054f1f 100644 --- a/src/dal/sqlitedataprovider.cpp +++ b/src/dal/sqlitedataprovider.cpp @@ -20,11 +20,19 @@ #include "sqlitedataprovider.h" -#include - #include "dalexcept.h" -#include "../utils/logger.h" +#include "common/configuration.h" +#include "utils/logger.h" + +#include +#include + +// sqlite3_int64 is the preferred new datatype for 64-bit int values. +// see: http://www.sqlite.org/capi3ref.html#sqlite3_int64 +#ifndef sqlite3_int64 +typedef sqlite_int64 sqlite3_int64; +#endif namespace dal { -- cgit