Reports
[GUI]


Files

file  gnc-plugin-page-report.c
 Report page.
file  gnc-plugin-page-report.h
 Report page.

Data Structures

struct  GncPluginPageReportPrivate
struct  GncPluginPageReport
struct  GncPluginPageReportClass

Defines

#define WINDOW_REPORT_CM_CLASS   "window-report"
#define GNC_PLUGIN_PAGE_REPORT_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), GNC_TYPE_PLUGIN_PAGE_REPORT, GncPluginPageReportPrivate))
#define SCHEME_OPTIONS   "SchemeOptions"
#define SCHEME_OPTIONS_N   "SchemeOptions%d"
#define GNC_TYPE_PLUGIN_PAGE_REPORT   (gnc_plugin_page_report_get_type ())
#define GNC_PLUGIN_PAGE_REPORT(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_PAGE_REPORT, GncPluginPageReport))
#define GNC_PLUGIN_PAGE_REPORT_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_PAGE_REPORT, GncPluginPageReportClass))
#define GNC_IS_PLUGIN_PAGE_REPORT(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_PAGE_REPORT))
#define GNC_IS_PLUGIN_PAGE_REPORT_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_PAGE_REPORT))
#define GNC_PLUGIN_PAGE_REPORT_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_PAGE_REPORT, GncPluginPageReportClass))
#define GNC_PLUGIN_PAGE_REPORT_NAME   "GncPluginPageReport"

Enumerations

enum  { PROP_0, PROP_REPORT_ID }

Functions

void gnc_plugin_page_report_destroy (GncPluginPageReportPrivate *priv)
void gnc_plugin_page_report_remove_edited_report (GncPluginPageReportPrivate *priv, SCM report)
void gnc_plugin_page_report_add_edited_report (GncPluginPageReportPrivate *priv, SCM report)
void gnc_plugin_page_report_raise_editor (SCM report)
GType gnc_plugin_page_report_get_type (void)
GncPluginPagegnc_plugin_page_report_new (int reportId)
void gnc_main_window_open_report (int report_id, GncMainWindow *window)
void gnc_main_window_open_report_url (const char *url, GncMainWindow *window)


Define Documentation

#define SCHEME_OPTIONS   "SchemeOptions"

The key name used it the state file for storing the report options.

Definition at line 664 of file gnc-plugin-page-report.c.


Enumeration Type Documentation

anonymous enum

Enumerator:
PROP_0 
PROP_REPORT_ID 

Definition at line 80 of file gnc-plugin-page-report.c.

00080      {
00081     PROP_0,
00082     PROP_REPORT_ID,
00083   };


Function Documentation

GType gnc_plugin_page_report_get_type ( void   ) 

Returns:
the type number for an "report" plugin page.

Definition at line 168 of file gnc-plugin-page-report.c.

00169 {
00170         static GType gnc_plugin_page_report_type = 0;
00171 
00172         if (gnc_plugin_page_report_type == 0) {
00173                 static const GTypeInfo our_info = {
00174                         sizeof (GncPluginPageReportClass),
00175                         NULL,
00176                         NULL,
00177                         (GClassInitFunc) gnc_plugin_page_report_class_init,
00178                         NULL,
00179                         NULL,
00180                         sizeof (GncPluginPageReport),
00181                         0,
00182                         (GInstanceInitFunc) gnc_plugin_page_report_init
00183                 };
00184                 
00185                 gnc_plugin_page_report_type = g_type_register_static (GNC_TYPE_PLUGIN_PAGE,
00186                                                                       "GncPluginPageReport",
00187                                                                       &our_info, 0);
00188         }
00189 
00190         return gnc_plugin_page_report_type;
00191 }

GncPluginPage * gnc_plugin_page_report_new ( int  reportId  ) 

Parameters:
reportId The scheme-defined report identifier
Returns:
a new "report" plugin page.

Definition at line 1087 of file gnc-plugin-page-report.c.

01088 {
01089         GncPluginPageReport *plugin_page;
01090 
01091         DEBUG( "report id = %d", reportId );
01092         plugin_page = g_object_new( GNC_TYPE_PLUGIN_PAGE_REPORT,
01093                                     "report-id", reportId, NULL );
01094         DEBUG( "plugin_page: %p", plugin_page );
01095         DEBUG( "set %d on page %p", reportId, plugin_page );
01096         return GNC_PLUGIN_PAGE( plugin_page );
01097 }


Generated on Fri Oct 10 05:06:58 2008 for GnuCash by  doxygen 1.5.2