GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
A SX List Plugin Page

Data Structures

struct  GncPluginPageSxListPrivate
 
struct  GncPluginPageSxList
 
struct  GncPluginPageSxListClass
 

Macros

#define G_LOG_DOMAIN   "gnc.gui.plugin-page.sx-list"
 Functions providing the SX List as a plugin page. More...
 
#define PLUGIN_PAGE_SX_LIST_CM_CLASS   "plugin-page-sx-list"
 
#define STATE_SECTION   "SX Transaction List"
 
#define GNC_PLUGIN_PAGE_SX_LIST_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), GNC_TYPE_PLUGIN_PAGE_SX_LIST, GncPluginPageSxListPrivate))
 
#define GNC_TYPE_PLUGIN_PAGE_SX_LIST   (gnc_plugin_page_sx_list_get_type ())
 Functions providing a list of scheduled transactions as a plugin page. More...
 
#define GNC_PLUGIN_PAGE_SX_LIST(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_PAGE_SX_LIST, GncPluginPageSxList))
 
#define GNC_PLUGIN_PAGE_SX_LIST_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_PAGE_SX_LIST, GncPluginPageSxListClass))
 
#define GNC_IS_PLUGIN_PAGE_SX_LIST(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_PAGE_SX_LIST))
 
#define GNC_IS_PLUGIN_PAGE_SX_LIST_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_PAGE_SX_LIST))
 
#define GNC_PLUGIN_PAGE_SX_LIST_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_PAGE_SX_LIST, GncPluginPageSxListClass))
 
#define GNC_PLUGIN_PAGE_SX_LIST_NAME   "GncPluginPageSxList"
 

Typedefs

typedef struct
GncPluginPageSxListPrivate 
GncPluginPageSxListPrivate
 

Functions

GType gnc_plugin_page_sx_list_get_type (void)
 
GncPluginPagegnc_plugin_page_sx_list_new (void)
 

Detailed Description

Macro Definition Documentation

#define G_LOG_DOMAIN   "gnc.gui.plugin-page.sx-list"

Functions providing the SX List as a plugin page.

Author
Josh Sled jsled.nosp@m.@asy.nosp@m.nchro.nosp@m.nous.nosp@m..org

Definition at line 78 of file gnc-plugin-page-sx-list.c.

#define GNC_TYPE_PLUGIN_PAGE_SX_LIST   (gnc_plugin_page_sx_list_get_type ())

Functions providing a list of scheduled transactions as a plugin page.

Author
Josh Sled jsled.nosp@m.@asy.nosp@m.nchro.nosp@m.nous.nosp@m..org

Definition at line 57 of file gnc-plugin-page-sx-list.h.

Function Documentation

GType gnc_plugin_page_sx_list_get_type ( void  )

Retrieve the type number for an "sx list" plugin page.

Returns
The type number.

Definition at line 167 of file gnc-plugin-page-sx-list.c.

168 {
169  static GType gnc_plugin_page_sx_list_type = 0;
170 
171  if (gnc_plugin_page_sx_list_type == 0)
172  {
173  static const GTypeInfo our_info =
174  {
175  sizeof (GncPluginPageSxListClass),
176  NULL,
177  NULL,
178  (GClassInitFunc) gnc_plugin_page_sx_list_class_init,
179  NULL,
180  NULL,
181  sizeof (GncPluginPageSxList),
182  0,
183  (GInstanceInitFunc) gnc_plugin_page_sx_list_init
184  };
185 
186  gnc_plugin_page_sx_list_type = g_type_register_static (GNC_TYPE_PLUGIN_PAGE,
187  GNC_PLUGIN_PAGE_SX_LIST_NAME,
188  &our_info, 0);
189  }
190 
191  return gnc_plugin_page_sx_list_type;
192 }
GncPluginPage * gnc_plugin_page_sx_list_new ( void  )
Returns
The newly created plugin page.

Definition at line 196 of file gnc-plugin-page-sx-list.c.

197 {
198  GncPluginPageSxList *plugin_page;
199  const GList *object = gnc_gobject_tracking_get_list (GNC_PLUGIN_PAGE_SX_LIST_NAME);
200  if (object && GNC_IS_PLUGIN_PAGE_SX_LIST (object->data))
201  plugin_page = GNC_PLUGIN_PAGE_SX_LIST (object->data);
202  else
203  {
204  plugin_page = g_object_new (GNC_TYPE_PLUGIN_PAGE_SX_LIST, NULL);
205  }
206  return GNC_PLUGIN_PAGE(plugin_page);
207 }
const GList * gnc_gobject_tracking_get_list(const gchar *name)
#define GNC_TYPE_PLUGIN_PAGE_SX_LIST
Functions providing a list of scheduled transactions as a plugin page.