Rename qofbackend-p.h and qofbackend.cpp

To qof-backend.hpp and qof-backend.cpp respectively, to reflect that they
implement the QofBackend class (which won’t be a class until a future commit).
This commit is contained in:
John Ralls 2016-11-27 14:12:43 -08:00
parent eace625007
commit 46ce3f3745
19 changed files with 20 additions and 22 deletions

View File

@ -482,7 +482,7 @@ src/libqof/qof/gnc-timezone.cpp
src/libqof/qof/guid.cpp
src/libqof/qof/kvp_frame.cpp
src/libqof/qof/kvp-value.cpp
src/libqof/qof/qofbackend.cpp
src/libqof/qof/qof-backend.cpp
src/libqof/qof/qofbook.cpp
src/libqof/qof/qofchoice.cpp
src/libqof/qof/qofclass.cpp

View File

@ -27,13 +27,14 @@
extern "C"
{
#include <qof.h>
#include <qofbackend-p.h>
#include <Account.h>
}
#include <memory>
#include <exception>
#include <sstream>
#include <vector>
#include <qof-backend.hpp>
class GncSqlColumnTableEntry;
using GncSqlColumnTableEntryPtr = std::shared_ptr<GncSqlColumnTableEntry>;
using EntryVec = std::vector<GncSqlColumnTableEntryPtr>;

View File

@ -27,7 +27,6 @@
extern "C"
{
#include <qof.h>
#include "qofbackend-p.h"
}
#include <memory>
#include <vector>

View File

@ -78,7 +78,7 @@ extern "C"
#include <gnc-backend-prov.hpp>
#include "gnc-backend-xml.h"
#include <qofbackend-p.h>
#include <qof-backend.hpp>
#include "gnc-xml-backend.hpp"
#include "gnc-xml-helper.h"
#include "io-gncxml-v2.h"

View File

@ -36,7 +36,6 @@ extern "C"
#endif
#include <qof.h>
#include <gmodule.h>
#include <qofbackend-p.h>
typedef enum
{
@ -70,6 +69,6 @@ void qof_backend_module_init (void);
#endif
#ifdef __cplusplus
}
#include <qof-backend.hpp>
#endif
#endif /* GNC_BACKEND_XML_H_ */

View File

@ -21,10 +21,10 @@
extern "C"
{
#include <qof.h>
#include <qofbackend-p.h>
}
#include <string>
#include <qof-backend.hpp>
class GncXmlBackend
{

View File

@ -35,7 +35,6 @@ extern "C"
#include "../gnc-lot.h"
#include "../gnc-event.h"
#include <qof.h>
#include <qofbackend-p.h>
#ifdef HAVE_GLIB_2_38
#define _Q "'"
@ -50,6 +49,7 @@ static const gchar *suitename = "/engine/Transaction";
void test_suite_transaction ( void );
}
#include <qof-backend.hpp>
#include <kvp_frame.hpp>
/* Copied from Transaction.c. Changing these values will break

View File

@ -14,7 +14,7 @@ SET (gnc_qof_HEADERS
qof/kvp_frame.hpp
qof/kvp-value.hpp
qof/qof.h
qof/qofbackend-p.h
qof/qof-backend.hpp
qof/qofbackend.h
qof/qofbook.h
qof/qofbookslots.h
@ -59,7 +59,7 @@ SET (gnc_qof_SOURCES
qof/guid.cpp
qof/kvp_frame.cpp
qof/kvp-value.cpp
qof/qofbackend.cpp
qof/qof-backend.cpp
qof/qofbook.cpp
qof/qofchoice.cpp
qof/qofclass.cpp

View File

@ -32,7 +32,7 @@ libgnc_qof_la_SOURCES = \
guid.cpp \
kvp_frame.cpp \
kvp-value.cpp \
qofbackend.cpp \
qof-backend.cpp \
qofbook.cpp \
qofchoice.cpp \
qofclass.cpp \
@ -61,7 +61,7 @@ qofinclude_HEADERS = \
kvp_frame.hpp \
kvp-value.hpp \
qof.h \
qofbackend-p.h \
qof-backend.hpp \
qofbackend.h \
qofbook.h \
qofbookslots.h \

View File

@ -34,10 +34,10 @@ extern "C"
#include <gmodule.h>
#include <errno.h>
#include "qof.h"
#include "qofbackend-p.h"
}
#include "qof-backend.hpp"
G_GNUC_UNUSED static QofLogModule log_module = QOF_MOD_BACKEND;
#define QOF_CONFIG_DESC "desc"

View File

@ -52,7 +52,7 @@ extern "C"
#include "qof.h"
#include "qofevent-p.h"
#include "qofbackend-p.h"
#include "qofbackend.h"
#include "qofbook-p.h"
#include "qofid-p.h"
#include "qofobject-p.h"

View File

@ -41,6 +41,7 @@ extern "C"
#include "qofid-p.h"
#include "kvp_frame.hpp"
#include "qofinstance-p.h"
#include "qof-backend.hpp"
static QofLogModule log_module = QOF_MOD_ENGINE;

View File

@ -33,7 +33,7 @@ extern "C"
}
#include "qof.h"
#include "qofbackend-p.h"
#include "qof-backend.hpp"
#include "qofbook-p.h"
#include "qofclass-p.h"
#include "qofquery-p.h"

View File

@ -56,7 +56,7 @@ extern "C"
static QofLogModule log_module = QOF_MOD_SESSION;
} //extern 'C'
#include "qofbackend-p.h"
#include "qof-backend.hpp"
#include "qofsession.hpp"
#include "gnc-backend-prov.hpp"

View File

@ -32,7 +32,7 @@
#include <stdlib.h>
#include <string.h>
#include "qof.h"
#include "qofbackend-p.h"
#include "qof-backend.hpp"
G_GNUC_UNUSED static QofLogModule log_module = QOF_MOD_UTIL;

View File

@ -14,9 +14,7 @@ test_qof_SOURCES = \
test-qofbook.c \
test-qofinstance.cpp \
test-qofobject.c \
test-qofsession-old.cpp \
test-qof-string-cache.c \
test-gnc-guid-old.cpp \
${top_srcdir}/src/test-core/unittest-support.c
test_qof_HEADERS = \

View File

@ -27,8 +27,8 @@ extern "C"
#include <glib.h>
#include <unittest-support.h>
#include "../qof.h"
#include "../qofbackend-p.h"
}
#include "../qof-backend.hpp"
#include "../kvp_frame.hpp"
static const gchar *suitename = "/qof/qofinstance";
extern "C" void test_suite_qofinstance ( void );

View File

@ -25,7 +25,7 @@
#include <gtest/gtest.h>
#include "../guid.hpp"
#include <qofsession.hpp>
#include "qofbackend-p.h"
#include <qof-backend.hpp>
#include <cstdlib>
#include "../gnc-backend-prov.hpp"