1 #include "gmock-qofbook.h" 5 QofInstanceClass parent_class;
9 G_DEFINE_TYPE(
QofMockBook, qof_mockbook, QOF_TYPE_INSTANCE)
18 qof_mockbook_class_init(QofMockBookClass *klass)
24 GType qof_book_get_type(
void)
26 return qof_mockbook_get_type();
33 auto mockbook = qof_mockbook(book);
34 return mockbook ? mockbook->use_split_action_for_num_field() : FALSE;
gboolean qof_book_use_split_action_for_num_field(const QofBook *book)
Returns TRUE if this book uses split action field as the 'Num' field, FALSE if it uses transaction nu...