37 #ifndef QOF_INSTANCE_H
38 #define QOF_INSTANCE_H
50 #include "qof-gobject.h"
53 #define QOF_TYPE_INSTANCE (qof_instance_get_type ())
54 #define QOF_INSTANCE(o) \
55 (G_TYPE_CHECK_INSTANCE_CAST ((o), QOF_TYPE_INSTANCE, QofInstance))
56 #define QOF_INSTANCE_CLASS(k) \
57 (G_TYPE_CHECK_CLASS_CAST((k), QOF_TYPE_INSTANCE, QofInstanceClass))
58 #define QOF_IS_INSTANCE(o) \
59 (G_TYPE_CHECK_INSTANCE_TYPE ((o), QOF_TYPE_INSTANCE))
60 #define QOF_IS_INSTANCE_CLASS(k) \
61 (G_TYPE_CHECK_CLASS_TYPE ((k), QOF_TYPE_INSTANCE))
62 #define QOF_INSTANCE_GET_CLASS(o) \
63 (G_TYPE_INSTANCE_GET_CLASS ((o), QOF_TYPE_INSTANCE, QofInstanceClass))
80 GObjectClass parent_class;
129 gint qof_instance_get_editlevel (gconstpointer ptr);
162 void qof_instance_print_dirty (
const QofInstance *entity, gpointer dummy);
165 #define qof_instance_is_dirty qof_instance_get_dirty
168 gboolean qof_instance_get_infant(
const QofInstance *inst);
int qof_instance_version_cmp(const QofInstance *left, const QofInstance *right)
const GncGUID * qof_instance_get_guid(gconstpointer)
void qof_instance_get(const QofInstance *inst, const gchar *first_param,...)
Wrapper for g_object_get.
Date and Time handling routines.
A key-value frame system.
QofBook * qof_instance_get_book(gconstpointer)
GList * qof_instance_get_referring_object_list_from_collection(const QofCollection *coll, const QofInstance *ref)
gboolean qof_instance_get_destroying(gconstpointer ptr)
void qof_instance_set(QofInstance *inst, const gchar *first_param,...)
Wrapper for g_object_set Group setting multiple parameters in a single begin/commit/rollback.
globally unique ID User API
QofCollection * qof_instance_get_collection(gconstpointer inst)
QOF entity type identification system.
void qof_instance_init_data(QofInstance *, QofIdType, QofBook *)
guint32 qof_instance_get_idata(gconstpointer inst)
gboolean qof_instance_get_dirty_flag(gconstpointer ptr)
void qof_instance_copy_book(gpointer ptr1, gconstpointer ptr2)
GList * qof_instance_get_typed_referring_object_list(const QofInstance *inst, const QofInstance *ref)
const GncGUID * qof_entity_get_guid(gconstpointer)
gboolean qof_instance_books_equal(gconstpointer ptr1, gconstpointer ptr2)
GList * qof_instance_get_referring_object_list(const QofInstance *inst)
void qof_instance_set_book(gconstpointer inst, QofBook *book)
gint qof_instance_guid_compare(const gconstpointer ptr1, const gconstpointer ptr2)
struct KvpFrameImpl KvpFrame
GType qof_instance_get_type(void)
gboolean qof_instance_refers_to_object(const QofInstance *inst, const QofInstance *ref)
gchar * qof_instance_get_display_name(const QofInstance *inst)