mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Move initialization of business objects into gncBusiness.c so that this fits to the header where the function was declared.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19328 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
5133b1733e
commit
8e781e8cb4
@ -23,12 +23,35 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
#include "gncBusiness.h"
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include "gncBusiness.h"
|
#include "gncAddressP.h"
|
||||||
#include "gncBusinessP.h"
|
#include "gncBillTermP.h"
|
||||||
|
#include "gncCustomerP.h"
|
||||||
|
#include "gncEmployeeP.h"
|
||||||
|
#include "gncEntryP.h"
|
||||||
|
#include "gncInvoiceP.h"
|
||||||
|
#include "gncJobP.h"
|
||||||
|
#include "gncOrderP.h"
|
||||||
|
#include "gncOwnerP.h"
|
||||||
|
#include "gncTaxTableP.h"
|
||||||
|
#include "gncVendorP.h"
|
||||||
|
|
||||||
/* This file is currently unused;
|
void
|
||||||
* its contents have been moved to qofid.[ch]
|
gnc_module_init_business_core_init(void)
|
||||||
*/
|
{
|
||||||
// void gncBusinessInitialize (int argc, char **argv) {}
|
/* initialize known types */
|
||||||
|
gncInvoiceRegister ();
|
||||||
|
gncJobRegister ();
|
||||||
|
gncBillTermRegister ();
|
||||||
|
gncCustomerRegister ();
|
||||||
|
gncAddressRegister ();
|
||||||
|
gncEmployeeRegister ();
|
||||||
|
gncEntryRegister ();
|
||||||
|
gncOrderRegister ();
|
||||||
|
gncOwnerRegister ();
|
||||||
|
gncTaxTableRegister ();
|
||||||
|
gncVendorRegister ();
|
||||||
|
}
|
||||||
|
@ -29,18 +29,7 @@
|
|||||||
|
|
||||||
#include "gnc-module.h"
|
#include "gnc-module.h"
|
||||||
#include "gnc-module-api.h"
|
#include "gnc-module-api.h"
|
||||||
|
#include "gncBusiness.h"
|
||||||
#include "gncAddressP.h"
|
|
||||||
#include "gncBillTermP.h"
|
|
||||||
#include "gncCustomerP.h"
|
|
||||||
#include "gncEmployeeP.h"
|
|
||||||
#include "gncEntryP.h"
|
|
||||||
#include "gncInvoiceP.h"
|
|
||||||
#include "gncJobP.h"
|
|
||||||
#include "gncOrderP.h"
|
|
||||||
#include "gncOwnerP.h"
|
|
||||||
#include "gncTaxTableP.h"
|
|
||||||
#include "gncVendorP.h"
|
|
||||||
|
|
||||||
GNC_MODULE_API_DECL(libgncmod_business_core)
|
GNC_MODULE_API_DECL(libgncmod_business_core)
|
||||||
|
|
||||||
@ -67,23 +56,6 @@ libgncmod_business_core_gnc_module_description(void)
|
|||||||
return g_strdup("The GnuCash business core");
|
return g_strdup("The GnuCash business core");
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
gnc_module_init_business_core_init(void)
|
|
||||||
{
|
|
||||||
/* initialize known types */
|
|
||||||
gncInvoiceRegister ();
|
|
||||||
gncJobRegister ();
|
|
||||||
gncBillTermRegister ();
|
|
||||||
gncCustomerRegister ();
|
|
||||||
gncAddressRegister ();
|
|
||||||
gncEmployeeRegister ();
|
|
||||||
gncEntryRegister ();
|
|
||||||
gncOrderRegister ();
|
|
||||||
gncOwnerRegister ();
|
|
||||||
gncTaxTableRegister ();
|
|
||||||
gncVendorRegister ();
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
int
|
||||||
libgncmod_business_core_gnc_module_init(int refcount)
|
libgncmod_business_core_gnc_module_init(int refcount)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user