mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Refactor: hide implementation of GncSxInstanceModel (move from .h -> .c)
This commit is contained in:
@@ -72,6 +72,18 @@ typedef struct _SxTxnCreationData
|
||||
GList **creation_errors;
|
||||
} SxTxnCreationData;
|
||||
|
||||
struct _GncSxInstanceModel
|
||||
{
|
||||
GObject parent;
|
||||
gboolean disposed;
|
||||
|
||||
gint qof_event_handler_id;
|
||||
|
||||
GDate range_end;
|
||||
gboolean include_disabled;
|
||||
GList *sx_instance_list; /* <GncSxInstances*> */
|
||||
};
|
||||
|
||||
static GncSxInstanceModel* gnc_sx_instance_model_new(void);
|
||||
|
||||
static GncSxInstance* gnc_sx_instance_new(GncSxInstances *parent, GncSxInstanceState state, GDate *date, void *temporal_state, gint sequence_num);
|
||||
|
||||
@@ -37,24 +37,6 @@ G_BEGIN_DECLS
|
||||
#define GNC_TYPE_SX_INSTANCE_MODEL (gnc_sx_instance_model_get_type ())
|
||||
G_DECLARE_FINAL_TYPE (GncSxInstanceModel, gnc_sx_instance_model, GNC, SX_INSTANCE_MODEL, GObject)
|
||||
|
||||
typedef struct _GncSxInstanceModel
|
||||
{
|
||||
GObject parent;
|
||||
gboolean disposed;
|
||||
|
||||
/* private */
|
||||
gint qof_event_handler_id;
|
||||
|
||||
/* signals */
|
||||
/* void (*added)(SchedXaction *sx); // gpointer user_data */
|
||||
/* void (*updated)(SchedXaction *sx); // gpointer user_data */
|
||||
/* void (*removing)(SchedXaction *sx); // gpointer user_data */
|
||||
|
||||
GDate range_end;
|
||||
gboolean include_disabled;
|
||||
GList *sx_instance_list; /* <GncSxInstances*> */
|
||||
} GncSxInstanceModel;
|
||||
|
||||
typedef struct _GncSxInstances
|
||||
{
|
||||
SchedXaction *sx;
|
||||
|
||||
Reference in New Issue
Block a user