GnuCash
4.901-15-g732a005710
gnucash
gnome
gnc-plugin-page-report.h
Go to the documentation of this file.
1
34
#ifndef __GNC_PLUGIN_PAGE_REPORT_H
35
#define __GNC_PLUGIN_PAGE_REPORT_H
36
37
#ifdef __cplusplus
38
extern
"C"
39
{
40
#endif
41
42
#include <gtk/gtk.h>
43
#include "
gnc-plugin.h
"
44
45
G_BEGIN_DECLS
46
47
/* type macros */
48
#define GNC_TYPE_PLUGIN_PAGE_REPORT (gnc_plugin_page_report_get_type ())
49
#define GNC_PLUGIN_PAGE_REPORT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_PAGE_REPORT, GncPluginPageReport))
50
#define GNC_PLUGIN_PAGE_REPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_PAGE_REPORT, GncPluginPageReportClass))
51
#define GNC_IS_PLUGIN_PAGE_REPORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_PAGE_REPORT))
52
#define GNC_IS_PLUGIN_PAGE_REPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_PAGE_REPORT))
53
#define GNC_PLUGIN_PAGE_REPORT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_PAGE_REPORT, GncPluginPageReportClass))
54
55
#define GNC_PLUGIN_PAGE_REPORT_NAME "GncPluginPageReport"
56
57
#define WINDOW_REPORT_CM_CLASS "window-report"
58
59
/* typedefs & structures */
60
typedef
struct
61
{
62
GncPluginPage
gnc_plugin;
63
}
GncPluginPageReport
;
64
65
typedef
struct
66
{
67
GncPluginPageClass
gnc_plugin;
68
69
/* callbacks */
70
}
GncPluginPageReportClass
;
71
72
/* function prototypes */
73
77
GType
gnc_plugin_page_report_get_type
(
void
);
78
83
GncPluginPage
*
gnc_plugin_page_report_new
(
int
reportId );
84
85
void
gnc_plugin_page_report_reload (
GncPluginPageReport
*report);
86
87
// entry-point from scm menu-extension callback [gnc:menu-extension].
88
void
gnc_main_window_open_report (
int
report_id,
GncMainWindow
*window);
89
// directly called through from above
90
void
gnc_main_window_open_report_url (
const
char
* url,
GncMainWindow
*window);
91
92
G_END_DECLS
93
#ifdef __cplusplus
94
}
95
#endif
96
#endif
/* __GNC_PLUGIN_PAGE_REPORT_H */
97
GncPluginPage
The instance data structure for a content plugin.
Definition:
gnc-plugin-page.h:58
GncPluginPageReportClass
Definition:
gnc-plugin-page-report.h:65
gnc_plugin_page_report_get_type
GType gnc_plugin_page_report_get_type(void)
GncPluginPageClass
The class data structure for a content plugin.
Definition:
gnc-plugin-page.h:80
GncPluginPageReport
Definition:
gnc-plugin-page-report.h:60
gnc_plugin_page_report_new
GncPluginPage * gnc_plugin_page_report_new(int reportId)
Definition:
gnc-plugin-page-report.cpp:1336
gnc-plugin.h
Functions for adding plugins to a GnuCash window.
GncMainWindow
The instance data structure for a main window object.
Definition:
gnc-main-window.h:65
Generated by
1.8.14