16 #include "gnc-module.h"
17 #include "gnc-module-api.h"
19 #include "window-report.h"
21 GNC_MODULE_API_DECL(libgncmod_report_gnome)
24 int libgncmod_report_gnome_gnc_module_system_interface = 0;
27 int libgncmod_report_gnome_gnc_module_current = 0;
28 int libgncmod_report_gnome_gnc_module_revision = 0;
29 int libgncmod_report_gnome_gnc_module_age = 0;
33 libgncmod_report_gnome_gnc_module_path(
void)
35 return g_strdup(
"gnucash/report/report-gnome");
39 libgncmod_report_gnome_gnc_module_description(
void)
41 return g_strdup(
"Gnome component of GnuCash report generation system");
47 char * form = g_strdup_printf(
"(use-modules %s)\n", mn);
48 scm_c_eval_string(form);
51 extern SCM scm_init_sw_report_gnome_module(
void);
54 libgncmod_report_gnome_gnc_module_init(
int refcount)
56 if (!gnc_module_load(
"gnucash/app-utils", 0))
61 if (!gnc_module_load(
"gnucash/gnome-utils", 0))
66 if (!gnc_module_load(
"gnucash/report/report-system", 0))
70 scm_init_sw_report_gnome_module();
72 lmod (
"(sw_report_gnome)");
73 lmod (
"(gnucash report report-gnome)");
82 libgncmod_report_gnome_gnc_module_end(
int refcount)