GnuCash 2.4.99
gnc-plugin-page-report.h
Go to the documentation of this file.
00001 
00034 #ifndef __GNC_PLUGIN_PAGE_REPORT_H
00035 #define __GNC_PLUGIN_PAGE_REPORT_H
00036 
00037 #include <gtk/gtk.h>
00038 #include "gnc-plugin.h"
00039 
00040 G_BEGIN_DECLS
00041 
00042 /* type macros */
00043 #define GNC_TYPE_PLUGIN_PAGE_REPORT            (gnc_plugin_page_report_get_type ())
00044 #define GNC_PLUGIN_PAGE_REPORT(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_PAGE_REPORT, GncPluginPageReport))
00045 #define GNC_PLUGIN_PAGE_REPORT_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_PAGE_REPORT, GncPluginPageReportClass))
00046 #define GNC_IS_PLUGIN_PAGE_REPORT(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_PAGE_REPORT))
00047 #define GNC_IS_PLUGIN_PAGE_REPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_PAGE_REPORT))
00048 #define GNC_PLUGIN_PAGE_REPORT_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_PAGE_REPORT, GncPluginPageReportClass))
00049 
00050 #define GNC_PLUGIN_PAGE_REPORT_NAME "GncPluginPageReport"
00051 
00052 /* typedefs & structures */
00053 typedef struct
00054 {
00055     GncPluginPage gnc_plugin;
00056 } GncPluginPageReport;
00057 
00058 typedef struct
00059 {
00060     GncPluginPageClass gnc_plugin;
00061 
00062     /* callbacks */
00063 } GncPluginPageReportClass;
00064 
00065 /* function prototypes */
00066 
00070 GType gnc_plugin_page_report_get_type( void );
00071 
00076 GncPluginPage *gnc_plugin_page_report_new( int reportId );
00077 
00078 // entry-point from scm menu-extension callback [gnc:menu-extension].
00079 void       gnc_main_window_open_report (int report_id, GncMainWindow *window);
00080 // directly called through from above
00081 void       gnc_main_window_open_report_url (const char * url, GncMainWindow *window);
00082 
00083 G_END_DECLS
00084 
00085 #endif /* __GNC_PLUGIN_PAGE_REPORT_H */
00086 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines