mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix build with glib2 2.67.x.
glib headers should not be included with 'extern "C"'.
This commit is contained in:
parent
0d196bfb65
commit
f60b6354f8
@ -32,6 +32,8 @@
|
||||
#include "qof.h"
|
||||
#include "gnc-ui-util.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#define GNC_TYPE_AMOUNT_EDIT (gnc_amount_edit_get_type())
|
||||
#define GNC_AMOUNT_EDIT(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, GNC_TYPE_AMOUNT_EDIT, GNCAmountEdit)
|
||||
#define GNC_AMOUNT_EDIT_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, GNC_TYPE_AMOUNT_EDIT, GNCAmountEditClass)
|
||||
|
@ -36,6 +36,7 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include <glib/gi18n.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <string.h>
|
||||
|
||||
|
@ -26,8 +26,6 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
@ -52,6 +50,9 @@ extern "C"
|
||||
#endif
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <gnc-locale-utils.hpp>
|
||||
#include <boost/locale.hpp>
|
||||
#include <string>
|
||||
|
@ -27,13 +27,13 @@ extern "C" {
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "engine-helpers.h"
|
||||
#include "gnc-ui-util.h"
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include <exception>
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
@ -26,8 +26,6 @@ extern "C" {
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "engine-helpers.h"
|
||||
#include "gnc-csv-account-map.h"
|
||||
@ -39,6 +37,9 @@ extern "C" {
|
||||
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <exception>
|
||||
#include <map>
|
||||
|
@ -37,6 +37,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
#include "datecell.h"
|
||||
|
@ -32,6 +32,7 @@
|
||||
|
||||
#include <config.h>
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <glib-object.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include "gnc-ui-util.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "Account.h"
|
||||
#include "Split.h"
|
||||
|
@ -37,9 +37,6 @@ extern "C"
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <errno.h>
|
||||
#include <glib.h>
|
||||
#include <glib/gstdio.h>
|
||||
|
||||
#include "qof.h"
|
||||
#include "qofquery-p.h"
|
||||
#include "qofquerycore-p.h"
|
||||
@ -61,6 +58,10 @@ extern "C"
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gstdio.h>
|
||||
|
||||
#include <boost/regex.hpp>
|
||||
#include <string>
|
||||
#include <iomanip>
|
||||
|
@ -31,12 +31,12 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-engine.h"
|
||||
|
||||
#include "gncAddress.h"
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <sstream>
|
||||
|
@ -29,8 +29,6 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "qof.h"
|
||||
|
||||
#include "gnc-engine.h"
|
||||
@ -42,6 +40,8 @@ extern "C"
|
||||
#endif
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-sql-connection.hpp"
|
||||
#include "gnc-sql-backend.hpp"
|
||||
#include "gnc-sql-object-backend.hpp"
|
||||
|
@ -31,7 +31,6 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@ -40,6 +39,8 @@ extern "C"
|
||||
#include "gncTaxTableP.h"
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-sql-connection.hpp"
|
||||
#include "gnc-sql-backend.hpp"
|
||||
#include "gnc-sql-object-backend.hpp"
|
||||
|
@ -31,13 +31,13 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "gnc-commodity.h"
|
||||
#include "gncEmployeeP.h"
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-sql-connection.hpp"
|
||||
#include "gnc-sql-backend.hpp"
|
||||
|
@ -31,7 +31,6 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@ -40,6 +39,7 @@ extern "C"
|
||||
#include "gncInvoiceP.h"
|
||||
#include "gncTaxTableP.h"
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-sql-connection.hpp"
|
||||
#include "gnc-sql-backend.hpp"
|
||||
|
@ -31,12 +31,12 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "gncJobP.h"
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-sql-connection.hpp"
|
||||
#include "gnc-sql-backend.hpp"
|
||||
|
@ -29,8 +29,6 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "qof.h"
|
||||
#include "gnc-pricedb.h"
|
||||
|
||||
@ -38,6 +36,7 @@ extern "C"
|
||||
#include "splint-defs.h"
|
||||
#endif
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-sql-connection.hpp"
|
||||
#include "gnc-sql-backend.hpp"
|
||||
|
@ -29,8 +29,6 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "qof.h"
|
||||
#include "gnc-engine.h"
|
||||
#include "Recurrence.h"
|
||||
@ -39,6 +37,7 @@ extern "C"
|
||||
#include "splint-defs.h"
|
||||
#endif
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-sql-connection.hpp"
|
||||
#include "gnc-sql-backend.hpp"
|
||||
|
@ -29,8 +29,6 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "qof.h"
|
||||
#include "SchedXaction.h"
|
||||
#include "SX-book.h"
|
||||
@ -41,6 +39,8 @@ extern "C"
|
||||
#endif
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-sql-connection.hpp"
|
||||
#include "gnc-sql-backend.hpp"
|
||||
#include "gnc-sql-object-backend.hpp"
|
||||
|
@ -30,8 +30,6 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@ -41,6 +39,8 @@ extern "C"
|
||||
#include "gncTaxTableP.h"
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-sql-connection.hpp"
|
||||
#include "gnc-sql-backend.hpp"
|
||||
#include "gnc-sql-object-backend.hpp"
|
||||
|
@ -25,14 +25,14 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <AccountP.h>
|
||||
#include <Account.h>
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-xml-helper.h"
|
||||
#include "sixtp.h"
|
||||
#include "sixtp-utils.h"
|
||||
|
@ -24,11 +24,11 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-xml-helper.h"
|
||||
|
||||
#include "sixtp.h"
|
||||
|
@ -32,9 +32,6 @@ extern "C"
|
||||
#include <config.h>
|
||||
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <glib/gstdio.h>
|
||||
#include <libintl.h>
|
||||
#include <locale.h>
|
||||
#include <fcntl.h>
|
||||
@ -76,6 +73,10 @@ extern "C"
|
||||
#endif
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <glib/gstdio.h>
|
||||
|
||||
#include <gnc-backend-prov.hpp>
|
||||
#include "gnc-backend-xml.h"
|
||||
#include <qof-backend.hpp>
|
||||
|
@ -24,8 +24,6 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
@ -25,13 +25,13 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "qof.h"
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-xml-helper.h"
|
||||
|
||||
#include "sixtp.h"
|
||||
|
@ -24,12 +24,12 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-xml-helper.h"
|
||||
#include "sixtp.h"
|
||||
#include "sixtp-utils.h"
|
||||
|
@ -24,13 +24,13 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <string.h>
|
||||
#include "AccountP.h"
|
||||
#include "Account.h"
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-xml-helper.h"
|
||||
#include "sixtp.h"
|
||||
#include "sixtp-utils.h"
|
||||
|
@ -24,8 +24,6 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@ -34,6 +32,8 @@ extern "C"
|
||||
#include "gncTaxTableP.h"
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-xml-helper.h"
|
||||
#include "gnc-customer-xml-v2.h"
|
||||
#include "gnc-address-xml-v2.h"
|
||||
|
@ -24,12 +24,11 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "gncEmployeeP.h"
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-xml-helper.h"
|
||||
#include "sixtp.h"
|
||||
|
@ -24,8 +24,6 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@ -35,6 +33,8 @@ extern "C"
|
||||
#include "gncTaxTableP.h"
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-xml-helper.h"
|
||||
#include "sixtp.h"
|
||||
#include "sixtp-utils.h"
|
||||
|
@ -25,13 +25,12 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <string.h>
|
||||
#include "qof.h"
|
||||
#include "SchedXaction.h"
|
||||
#include "FreqSpec.h"
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-xml-helper.h"
|
||||
#include "sixtp.h"
|
||||
|
@ -24,14 +24,13 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "gncBillTermP.h"
|
||||
#include "gncInvoiceP.h"
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-xml-helper.h"
|
||||
#include "sixtp.h"
|
||||
|
@ -24,12 +24,11 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "gncJobP.h"
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-xml-helper.h"
|
||||
#include "sixtp.h"
|
||||
|
@ -25,13 +25,12 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "gnc-lot.h"
|
||||
#include "gnc-lot-p.h"
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-xml-helper.h"
|
||||
#include "sixtp.h"
|
||||
|
@ -24,12 +24,11 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "gncOrderP.h"
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-xml-helper.h"
|
||||
#include "sixtp.h"
|
||||
|
@ -24,8 +24,6 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "gncCustomerP.h"
|
||||
@ -33,6 +31,7 @@ extern "C"
|
||||
#include "gncVendorP.h"
|
||||
#include "gncEmployeeP.h"
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-xml-helper.h"
|
||||
#include "sixtp.h"
|
||||
|
@ -24,12 +24,11 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <string.h>
|
||||
#include "qof.h"
|
||||
#include "Recurrence.h"
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-xml.h"
|
||||
#include "gnc-xml-helper.h"
|
||||
|
@ -23,12 +23,11 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "SX-book.h"
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-xml-helper.h"
|
||||
#include "sixtp.h"
|
||||
|
@ -24,13 +24,12 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "gncEntry.h"
|
||||
#include "gncTaxTableP.h"
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-xml-helper.h"
|
||||
#include "sixtp.h"
|
||||
|
@ -24,8 +24,6 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <string.h>
|
||||
#include "AccountP.h"
|
||||
#include "Transaction.h"
|
||||
@ -33,6 +31,7 @@ extern "C"
|
||||
#include "gnc-lot.h"
|
||||
#include "gnc-lot-p.h"
|
||||
}
|
||||
#include <glib.h>
|
||||
#include "gnc-xml-helper.h"
|
||||
|
||||
#include "sixtp.h"
|
||||
|
@ -24,8 +24,6 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "gncBillTermP.h"
|
||||
@ -33,6 +31,7 @@ extern "C"
|
||||
#include "gncTaxTableP.h"
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
#include "gnc-xml-helper.h"
|
||||
#include "sixtp.h"
|
||||
#include "sixtp-utils.h"
|
||||
|
@ -27,8 +27,6 @@ extern "C"
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <glib.h>
|
||||
#include <glib/gstdio.h>
|
||||
#include <regex.h>
|
||||
|
||||
#include <gnc-engine.h> //for GNC_MOD_BACKEND
|
||||
@ -38,6 +36,8 @@ extern "C"
|
||||
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gstdio.h>
|
||||
#include <sstream>
|
||||
|
||||
#include "gnc-xml-backend.hpp"
|
||||
|
@ -21,10 +21,7 @@
|
||||
* Boston, MA 02110-1301, USA gnu@gnu.org *
|
||||
* *
|
||||
\********************************************************************/
|
||||
extern "C"
|
||||
{
|
||||
#include <glib.h>
|
||||
}
|
||||
|
||||
#include "gnc-xml-helper.h"
|
||||
|
||||
|
@ -24,6 +24,9 @@
|
||||
|
||||
#ifndef GNC_XML_HELPER_H
|
||||
#define GNC_XML_HELPER_H
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#include <libxml/xmlversion.h>
|
||||
|
@ -41,9 +41,6 @@ extern "C"
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <glib/gstdio.h>
|
||||
#include "gnc-engine.h"
|
||||
#include "Scrub.h"
|
||||
#include "TransLog.h"
|
||||
@ -53,6 +50,9 @@ extern "C"
|
||||
#endif
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <glib/gstdio.h>
|
||||
#include "sixtp.h"
|
||||
|
||||
#include "gnc-xml.h"
|
||||
|
@ -24,10 +24,8 @@
|
||||
|
||||
#ifndef IO_GNCXML_GEN_H
|
||||
#define IO_GNCXML_GEN_H
|
||||
extern "C"
|
||||
{
|
||||
|
||||
#include <glib.h>
|
||||
}
|
||||
|
||||
#include "sixtp.h"
|
||||
|
||||
|
@ -36,8 +36,6 @@ extern "C"
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#endif
|
||||
#include <glib.h>
|
||||
#include <glib/gstdio.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
@ -66,6 +64,9 @@ extern "C"
|
||||
#endif
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gstdio.h>
|
||||
|
||||
#include "gnc-xml-backend.hpp"
|
||||
#include "sixtp-parsers.h"
|
||||
#include "sixtp-utils.h"
|
||||
|
@ -26,9 +26,9 @@ extern "C"
|
||||
#include <config.h>
|
||||
|
||||
#include <stdio.h>
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
}
|
||||
|
||||
#include "gnc-xml.h"
|
||||
#include "io-utils.h"
|
||||
|
@ -25,10 +25,10 @@ extern "C"
|
||||
#define __EXTENSIONS__
|
||||
|
||||
#include <config.h>
|
||||
#include <glib.h>
|
||||
|
||||
#include <gnc-date.h>
|
||||
}
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-xml-helper.h"
|
||||
#include "sixtp-dom-generators.h"
|
||||
|
@ -24,13 +24,13 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "gnc-xml-helper.h"
|
||||
#include <gnc-engine.h>
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
#include "gnc-xml-helper.h"
|
||||
#include "sixtp-utils.h"
|
||||
#include "sixtp-dom-parsers.h"
|
||||
#include <kvp-frame.hpp>
|
||||
|
@ -23,12 +23,11 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include <ctype.h>
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "sixtp-parsers.h"
|
||||
#include "sixtp-utils.h"
|
||||
#include "sixtp.h"
|
||||
|
@ -23,9 +23,6 @@
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gstdio.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
@ -37,6 +34,9 @@ extern "C"
|
||||
#endif
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gstdio.h>
|
||||
|
||||
#include "sixtp.h"
|
||||
#include "sixtp-parsers.h"
|
||||
#include "sixtp-stack.h"
|
||||
|
@ -25,12 +25,12 @@
|
||||
#define SIXTP_H
|
||||
extern "C"
|
||||
{
|
||||
#include <glib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <stdarg.h>
|
||||
#include "gnc-engine.h"
|
||||
}
|
||||
#include <glib.h>
|
||||
#include "gnc-xml-helper.h"
|
||||
#include "gnc-backend-xml.h"
|
||||
|
||||
|
@ -26,6 +26,11 @@
|
||||
* @author Copyright (c) 2000 Dave Peticolas
|
||||
*/
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <glib/gprintf.h>
|
||||
#include <glib/gstdio.h>
|
||||
|
||||
extern "C" {
|
||||
#include <config.h>
|
||||
|
||||
@ -35,10 +40,6 @@ extern "C" {
|
||||
#include <Shlobj.h>
|
||||
#endif
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <glib/gprintf.h>
|
||||
#include <glib/gstdio.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
@ -19,10 +19,7 @@
|
||||
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02110-1301, USA gnu@gnu.org *
|
||||
\********************************************************************/
|
||||
extern "C"
|
||||
{
|
||||
#include <glib.h>
|
||||
}
|
||||
#include <clocale>
|
||||
#include <boost/locale.hpp>
|
||||
#include "gnc-locale-utils.hpp"
|
||||
|
@ -45,7 +45,11 @@
|
||||
#ifndef GNC_PREFS_H
|
||||
#define GNC_PREFS_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C++" {
|
||||
#include <glib.h>
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Preference groups used across multiple modules */
|
||||
#define GNC_PREFS_GROUP_GENERAL "general"
|
||||
|
@ -42,7 +42,11 @@
|
||||
typedef struct xaccSchedXactionsDef SchedXactions;
|
||||
typedef struct _SchedXactionsClass SchedXactionsClass;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C++" {
|
||||
#include <glib.h>
|
||||
}
|
||||
#endif
|
||||
#include "SchedXaction.h"
|
||||
#include "qof.h"
|
||||
|
||||
|
@ -25,7 +25,11 @@
|
||||
#ifndef ENGINE_HELPERS_H
|
||||
#define ENGINE_HELPERS_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C++" {
|
||||
#include <glib.h>
|
||||
}
|
||||
#endif
|
||||
|
||||
#include "gnc-engine.h"
|
||||
#include "Account.h"
|
||||
|
@ -49,8 +49,13 @@
|
||||
typedef struct _GncCommodityClass gnc_commodityClass;
|
||||
typedef struct _GncCommodityNamespaceClass gnc_commodity_namespaceClass;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C++" {
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
}
|
||||
#endif
|
||||
|
||||
#include "gnc-engine.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -26,11 +26,11 @@
|
||||
\********************************************************************/
|
||||
|
||||
#define __EXTENSIONS__
|
||||
#include <glib.h>
|
||||
extern "C"
|
||||
{
|
||||
|
||||
#include <config.h>
|
||||
#include <glib.h>
|
||||
#include <libintl.h>
|
||||
#include <stdlib.h>
|
||||
#include "platform.h"
|
||||
|
@ -68,12 +68,21 @@
|
||||
|
||||
#ifndef GNC_DATE_H
|
||||
#define GNC_DATE_H
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C++" {
|
||||
#endif
|
||||
#include <glib-object.h>
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#include <time.h>
|
||||
|
||||
/**
|
||||
|
@ -36,7 +36,12 @@
|
||||
#ifndef GNC_ENGINE_H
|
||||
#define GNC_ENGINE_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C++" {
|
||||
#include <glib.h>
|
||||
}
|
||||
#endif
|
||||
|
||||
#include "qof.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -26,7 +26,6 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@ -35,6 +34,7 @@ extern "C"
|
||||
#include "qof.h"
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdint.h>
|
||||
#include <boost/regex.hpp>
|
||||
#include <boost/locale/encoding_utf.hpp>
|
||||
|
@ -34,7 +34,11 @@
|
||||
#ifndef GNC_BUSINESS_H_
|
||||
#define GNC_BUSINESS_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C++" {
|
||||
#include <glib.h>
|
||||
}
|
||||
#endif
|
||||
#include "qof.h"
|
||||
#include "Account.h"
|
||||
|
||||
|
@ -31,6 +31,12 @@
|
||||
#ifndef GNC_ENTRY_H_
|
||||
#define GNC_ENTRY_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C++" {
|
||||
#include <glib.h>
|
||||
}
|
||||
#endif
|
||||
|
||||
typedef struct _gncEntry GncEntry;
|
||||
typedef struct _gncEntryClass GncEntryClass;
|
||||
|
||||
|
@ -31,12 +31,13 @@ extern "C"
|
||||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "qof.h"
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
/* Uncomment if you need to log anything.
|
||||
static QofLogModule log_module = QOF_MOD_UTIL;
|
||||
*/
|
||||
|
@ -68,7 +68,11 @@
|
||||
*/
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C++" {
|
||||
#include <glib.h>
|
||||
}
|
||||
#endif
|
||||
#include "qofid.h"
|
||||
#include "qoflog.h"
|
||||
#include "gnc-date.h"
|
||||
|
@ -41,7 +41,6 @@ extern "C"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <glib.h>
|
||||
#ifdef GNC_PLATFORM_WINDOWS
|
||||
/* Mingw disables the standard type macros for C++ without this override. */
|
||||
#define __STDC_FORMAT_MACROS = 1
|
||||
@ -50,6 +49,7 @@ extern "C"
|
||||
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
#include "qof.h"
|
||||
#include "qofevent-p.h"
|
||||
#include "qofbackend.h"
|
||||
|
@ -21,14 +21,9 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
||||
#include <config.h>
|
||||
#include <glib.h>
|
||||
|
||||
}
|
||||
|
||||
#include "qof.h"
|
||||
#include "qofchoice.h"
|
||||
|
||||
|
@ -21,11 +21,8 @@
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
#include <glib.h>
|
||||
}
|
||||
|
||||
#include "qof.h"
|
||||
#include "qofclass-p.h"
|
||||
|
@ -22,11 +22,8 @@
|
||||
* *
|
||||
********************************************************************/
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
#include <glib.h>
|
||||
}
|
||||
|
||||
#include "qof.h"
|
||||
#include "qofevent-p.h"
|
||||
|
@ -26,9 +26,9 @@ extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
#include <string.h>
|
||||
#include <glib.h>
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
#include "qof.h"
|
||||
#include "qofid-p.h"
|
||||
#include "qofinstance-p.h"
|
||||
|
@ -34,8 +34,6 @@ extern "C"
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gstdio.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#else
|
||||
@ -48,10 +46,12 @@ extern "C"
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#undef G_LOG_DOMAIN
|
||||
#define G_LOG_DOMAIN "qof.log"
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gstdio.h>
|
||||
#undef G_LOG_DOMAIN
|
||||
#define G_LOG_DOMAIN "qof.log"
|
||||
#include "qof.h"
|
||||
#include "qoflog.h"
|
||||
#include <string>
|
||||
|
@ -23,11 +23,8 @@
|
||||
* Copyright (C) 2001 Derek Atkins
|
||||
* Author: Derek Atkins <warlord@MIT.EDU>
|
||||
*/
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
#include <glib.h>
|
||||
}
|
||||
|
||||
#include "qof.h"
|
||||
#include "qofobject-p.h"
|
||||
|
@ -27,11 +27,11 @@ extern "C"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <time.h>
|
||||
#include <glib.h>
|
||||
#include <regex.h>
|
||||
#include <string.h>
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
#include "qof.h"
|
||||
#include "qof-backend.hpp"
|
||||
#include "qofbook-p.h"
|
||||
|
@ -48,13 +48,13 @@ extern "C"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include <glib.h>
|
||||
#include "qof.h"
|
||||
#include "qofobject-p.h"
|
||||
|
||||
static QofLogModule log_module = QOF_MOD_SESSION;
|
||||
} //extern 'C'
|
||||
|
||||
#include <glib.h>
|
||||
#include "qofbook-p.h"
|
||||
#include "qof-backend.hpp"
|
||||
#include "qofsession.hpp"
|
||||
|
Loading…
Reference in New Issue
Block a user