![]() This will increment the named counter for this book and format it. Qof_book_increment_and_format_counter (QofBook *book, const char *counter_name) This will get the named counter for this book. Qof_book_get_counter (QofBook *book, const char *counter_name) Set the function to call when a book transitions from clean to dirty, or vice versa. Qof_book_set_dirty_cb (QofBook *book, QofBookDirt圜B cb, gpointer user_data) Retrieve the earliest modification time on the book. Qof_book_get_session_dirty_time (const QofBook *book) ![]() The qof_book_mark_dirty() routine marks the book as having been modified. Qof_book_mark_session_dirty (QofBook *book) The qof_book_mark_saved() routine marks the book as having been saved (to a file, to a database). Qof_book_mark_session_saved (QofBook *book) Qof_book_not_saved() returns the value of the session_dirty flag, set when changes to any object in the book are committed (qof_backend->commit_edit has been called) and the backend hasn't yet written out the changes. Qof_book_session_not_saved (const QofBook *book) Qof_book_shutting_down (const QofBook *book) Returns TRUE if this book uses split action field as the 'Num' field, FALSE if it uses transaction number field. Qof_book_use_split_action_for_num_field (const QofBook *book) Get the length of time available to change the used Invoice Report when printing Invoices. Qof_book_get_default_invoice_report_timeout (const QofBook *book) Get the name of the Invoice Report to be used as the default for printing Invoices. Qof_book_get_default_invoice_report_name (const QofBook *book) Get the guid of the Invoice Report to be used as the default for printing Invoices. Qof_book_get_default_invoice_report_guid (const QofBook *book) Save the Invoice Report name / guid to be used as the default for printing Invoices. Qof_book_set_default_invoice_report (QofBook *book, const gchar *guid, const gchar *name) Returns the GDate that is the threshold for auto-read-only. Qof_book_get_autoreadonly_gdate (const QofBook *book) Returns the number of days for auto-read-only transactions. Qof_book_get_num_days_autoreadonly (const QofBook *book) Returns TRUE if the auto-read-only feature should be used, otherwise FALSE. ![]() Qof_book_uses_autoreadonly (const QofBook *book) Returns flag indicating whether this book uses trading accounts. Qof_book_use_trading_accounts (const QofBook *book) More.Ĭheck if the book has had anything loaded into it. Qof_book_is_readonly (const QofBook *book) Retrieves arbitrary pointers to structs stored by qof_book_set_data. Qof_book_get_data (const QofBook *book, const gchar *key) Same as qof_book_set_data(), except that the callback will be called when the book is destroyed. Qof_book_set_data_fin (QofBook *book, const gchar *key, gpointer data, QofBookFinalCB) The qof_book_set_data() allows arbitrary pointers to structs to be stored in QofBook. Qof_book_set_data (QofBook *book, const gchar *key, gpointer data) Qof_book_foreach_collection (const QofBook *, QofCollectionForeachCB, gpointer) Return The table of entities of the given type. Qof_book_get_collection (const QofBook *, QofIdType) More.Įnd any editing sessions associated with book, and free all memory associated with it. More.Īllocate, initialise and return a new QofBook. Register the book object with the QOF object system. Invoke the indicated callback on each collection in the book. QofCollectionForeachCB) (QofCollection *, gpointer user_data) QofBookFinalCB) (QofBook *, gpointer key, gpointer user_data) GncOptionLoad) ( GncOptionDB *, QofBook *) GncOptionSave) ( GncOptionDB *, QofBook *, gboolean) QofBookDirt圜B) (QofBook *, gboolean dirty, gpointer user_data) Qof_book_get_guid(X) qof_entity_get_guid (QOF_INSTANCE(X)) QOF_BOOK_RETURN_ENTITY(book, guid, e_type, c_type)Įncapsulates all the information about a dataset manipulated by QOF. ![]() QOF_BOOK_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), QOF_TYPE_BOOK, QofBookClass)) QOF_IS_BOOK_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), QOF_TYPE_BOOK)) QOF_IS_BOOK(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), QOF_TYPE_BOOK)) QOF_BOOK_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), QOF_TYPE_BOOK, QofBookClass)) QOF_BOOK(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), QOF_TYPE_BOOK, QofBook)) Encapsulate all the information about a dataset.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |