mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
eace625007
commit
46ce3f3745
@ -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
|
||||
|
@ -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>;
|
||||
|
@ -27,7 +27,6 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <qof.h>
|
||||
#include "qofbackend-p.h"
|
||||
}
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
@ -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"
|
||||
|
@ -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_ */
|
||||
|
@ -21,10 +21,10 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <qof.h>
|
||||
#include <qofbackend-p.h>
|
||||
}
|
||||
|
||||
#include <string>
|
||||
#include <qof-backend.hpp>
|
||||
|
||||
class GncXmlBackend
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 \
|
||||
|
@ -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"
|
@ -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"
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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 = \
|
||||
|
@ -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 );
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user