GnuCash  5.6-150-g038405b370+
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
window-report.h
1 /********************************************************************\
2  * window-report.h -- a report window for hypertext report. *
3  * Copyright (C) 1997 Robin D. Clark *
4  * *
5  * This program is free software; you can redistribute it and/or *
6  * modify it under the terms of the GNU General Public License as *
7  * published by the Free Software Foundation; either version 2 of *
8  * the License, or (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public License*
16  * along with this program; if not, contact: *
17  * *
18  * Free Software Foundation Voice: +1-617-542-5942 *
19  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
20  * Boston, MA 02110-1301, USA gnu@gnu.org *
21 \********************************************************************/
22 
23 #ifndef GNC_REPORT_WINDOW_H
24 #define GNC_REPORT_WINDOW_H
25 
26 #include <libguile.h>
27 //#include "gnc-html.h"
28 #include "qof.h"
29 #include "gnc-optiondb.h"
30 
31 typedef struct gnc_report_window_s gnc_report_window;
32 
33 #ifdef __cplusplus
34 extern "C"
35 {
36 #endif
37 
39 // scm-exposed
40 GtkWidget * gnc_report_window_default_params_editor(GncOptionDB* odb, SCM report, GtkWindow *parent);
41 
42 // called from multiple places
43 // [gnome-business/dialog-invoice.c;gnome/window-register.c]; and
44 // scm-exposed; 3-liner which calls gnc_main_window_open_report after handling busy-cursor.
45 void reportWindow(int id, GtkWindow *parent);
46 gboolean gnc_report_edit_options(SCM report, GtkWindow *parent);
47 
48 #ifdef __cplusplus
49 }
50 GncOptionDB* gnc_get_report_optiondb(SCM report_instance);
51 #endif
52 #endif
Holds all of the options for a book, report, or stylesheet, organized by GncOptionSections.
C public interface for the Options Database.