mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
add is_dirty getter
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9496 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -83,6 +83,13 @@ qof_instance_get_slots (QofInstance *inst)
|
||||
return inst->kvp_data;
|
||||
}
|
||||
|
||||
gboolean
|
||||
qof_instance_is_dirty (QofInstance *inst)
|
||||
{
|
||||
if (!inst) return FALSE;
|
||||
return inst->dirty;
|
||||
}
|
||||
|
||||
/* ========================================================== */
|
||||
|
||||
void
|
||||
|
||||
@@ -87,6 +87,9 @@ const GUID * qof_instance_get_guid (QofInstance *);
|
||||
/** return the pointer to the kvp_data */
|
||||
KvpFrame* qof_instance_get_slots (QofInstance *);
|
||||
|
||||
/** return value of is_dirty flag */
|
||||
gboolean qof_instance_is_dirty (QofInstance *);
|
||||
|
||||
/** pair things up. Currently, this routine only inserts a
|
||||
* pair of guid-pointers pointing to each other. it
|
||||
* doesn't copy any data.
|
||||
|
||||
Reference in New Issue
Block a user