3 #include <gmock/gmock.h> 6 #include <qofinstance-p.h> 9 G_DEFINE_TYPE(
QofInstance, qof_instance, G_TYPE_OBJECT)
18 qof_instance_class_init(QofInstanceClass *klass)
28 ASSERT_TRUE (QOF_IS_INSTANCE (inst));
30 va_start (ap, first_prop);
31 g_object_get_valist (G_OBJECT (inst), first_prop, ap);
41 ASSERT_TRUE (QOF_IS_INSTANCE (inst));
43 va_start (ap, first_prop);
44 g_object_set_valist (G_OBJECT (inst), first_prop, ap);
void qof_instance_get(const QofInstance *inst, const gchar *first_prop,...)
Wrapper for g_object_get.
void qof_instance_set(QofInstance *inst, const gchar *first_prop,...)
Wrapper for g_object_set Group setting multiple parameters in a single begin/commit/rollback.
Object instance holds common fields that most gnucash objects use.