GnuCash
5.6-150-g038405b370+
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
#include <gtk/gtk.h>
38
#include "
gnc-plugin.h
"
39
40
#ifdef __cplusplus
41
extern
"C"
42
{
43
#endif
44
45
/* type macros */
46
#define GNC_TYPE_PLUGIN_PAGE_REPORT (gnc_plugin_page_report_get_type ())
47
#define GNC_PLUGIN_PAGE_REPORT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_PAGE_REPORT, GncPluginPageReport))
48
#define GNC_PLUGIN_PAGE_REPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_PAGE_REPORT, GncPluginPageReportClass))
49
#define GNC_IS_PLUGIN_PAGE_REPORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_PAGE_REPORT))
50
#define GNC_IS_PLUGIN_PAGE_REPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_PAGE_REPORT))
51
#define GNC_PLUGIN_PAGE_REPORT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_PAGE_REPORT, GncPluginPageReportClass))
52
53
#define GNC_PLUGIN_PAGE_REPORT_NAME "GncPluginPageReport"
54
55
#define WINDOW_REPORT_CM_CLASS "window-report"
56
57
/* typedefs & structures */
58
typedef
struct
59
{
60
GncPluginPage
gnc_plugin;
61
}
GncPluginPageReport
;
62
63
typedef
struct
64
{
65
GncPluginPageClass
gnc_plugin;
66
67
/* callbacks */
68
}
GncPluginPageReportClass
;
69
70
/* function prototypes */
71
75
GType
gnc_plugin_page_report_get_type
(
void
);
76
81
GncPluginPage
*
gnc_plugin_page_report_new
(
int
reportId );
82
83
void
gnc_plugin_page_report_reload (
GncPluginPageReport
*report);
84
85
// entry-point from scm menu-extension callback [gnc:menu-extension].
86
void
gnc_main_window_open_report (
int
report_id,
GncMainWindow
*window);
87
// directly called through from above
88
void
gnc_main_window_open_report_url (
const
char
* url,
GncMainWindow
*window);
89
90
#ifdef __cplusplus
91
}
92
#endif
93
94
#endif
/* __GNC_PLUGIN_PAGE_REPORT_H */
95
GncPluginPage
The instance data structure for a content plugin.
Definition:
gnc-plugin-page.h:58
GncPluginPageReportClass
Definition:
gnc-plugin-page-report.h:63
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:58
gnc_plugin_page_report_new
GncPluginPage * gnc_plugin_page_report_new(int reportId)
Definition:
gnc-plugin-page-report.cpp:1334
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:66
Generated by
1.8.14