|
GnuCash 2.4.99
|
00001 /******************************************************************** 00002 * gnc-report.h -- C functions for reports. * 00003 * * 00004 * Copyright (C) 2001 Linux Developers Group * 00005 * Copyright (C) 2006 Chris Shoemaker <c.shoemaker@cox.net> * 00006 * * 00007 * This program is free software; you can redistribute it and/or * 00008 * modify it under the terms of the GNU General Public License as * 00009 * published by the Free Software Foundation; either version 2 of * 00010 * the License, or (at your option) any later version. * 00011 * * 00012 * This program is distributed in the hope that it will be useful, * 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00015 * GNU General Public License for more details. * 00016 * * 00017 * You should have received a copy of the GNU General Public License* 00018 * along with this program; if not, contact: * 00019 * * 00020 * Free Software Foundation Voice: +1-617-542-5942 * 00021 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 * 00022 * Boston, MA 02110-1301, USA gnu@gnu.org * 00023 ********************************************************************/ 00024 00025 #ifndef GNC_REPORT_H 00026 #define GNC_REPORT_H 00027 00028 #include <glib.h> 00029 #include <libguile.h> 00030 00031 gboolean gnc_run_report (gint report_id, char ** data); 00032 gboolean gnc_run_report_id_string (const char * id_string, char **data); 00033 00039 gchar* gnc_report_name( SCM report ); 00040 00041 /* returns #f if the report id cannot be found */ 00042 SCM gnc_report_find(gint id); 00043 void gnc_report_remove_by_id(gint id); 00044 gint gnc_report_add(SCM report); 00045 00046 void gnc_reports_flush_global(void); 00047 GHashTable *gnc_reports_get_global(void); 00048 00049 gchar* gnc_get_default_report_font_family(void); 00050 00051 #endif
1.7.4