~siretart/gnucash/ubuntu-fullsource

« back to all changes in this revision

Viewing changes to src/report/report-system/gnc-report.h

  • Committer: Reinhard Tartler
  • Date: 2008-08-03 07:25:46 UTC
  • Revision ID: siretart@tauware.de-20080803072546-y6p8xda8zpfi62ys
import gnucash_2.2.4.orig.tar.gz

The original tarball had the md5sum: 27e660297dc5b8ce574515779d05a5a5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/********************************************************************
 
2
 * gnc-report.h -- C functions for reports.                         *
 
3
 *                                                                  *
 
4
 * Copyright (C) 2001 Linux Developers Group                        *
 
5
 * Copyright (C) 2006 Chris Shoemaker <c.shoemaker@cox.net>         *
 
6
 *                                                                  *
 
7
 * This program is free software; you can redistribute it and/or    *
 
8
 * modify it under the terms of the GNU General Public License as   *
 
9
 * published by the Free Software Foundation; either version 2 of   *
 
10
 * the License, or (at your option) any later version.              *
 
11
 *                                                                  *
 
12
 * This program is distributed in the hope that it will be useful,  *
 
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of   *
 
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    *
 
15
 * GNU General Public License for more details.                     *
 
16
 *                                                                  *
 
17
 * You should have received a copy of the GNU General Public License*
 
18
 * along with this program; if not, contact:                        *
 
19
 *                                                                  *
 
20
 * Free Software Foundation           Voice:  +1-617-542-5942       *
 
21
 * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652       *
 
22
 * Boston, MA  02110-1301,  USA       gnu@gnu.org                   *
 
23
 ********************************************************************/
 
24
 
 
25
#ifndef GNC_REPORT_H
 
26
#define GNC_REPORT_H
 
27
 
 
28
#include <glib.h>
 
29
#include <libguile.h>
 
30
 
 
31
gboolean gnc_run_report (gint report_id, char ** data);
 
32
gboolean gnc_run_report_id_string (const char * id_string, char **data);
 
33
 
 
34
/**
 
35
 * @param report The SCM version of the report.
 
36
 * @return a caller-owned copy of the name of the report, or NULL if report
 
37
 * is invalid.
 
38
 **/
 
39
gchar* gnc_report_name( SCM report );
 
40
 
 
41
/* returns #f if the report id cannot be found */
 
42
SCM gnc_report_find(gint id);
 
43
void gnc_report_remove_by_id(gint id);
 
44
gint gnc_report_add(SCM report);
 
45
 
 
46
void gnc_reports_flush_global(void);
 
47
GHashTable *gnc_reports_get_global(void);
 
48
 
 
49
#endif