24 #ifndef QOFBOOKMERGE_H 25 #define QOFBOOKMERGE_H 27 #define QOF_MOD_MERGE "qof-merge" 478 #endif // QOFBOOKMERGE_H
gint qof_book_merge_commit(QofBookMergeData *mergeData)
Commits the import data to the target book.
the Core Object Description Interface
Object instance holds common fields that most QofObjects use.
QOF error logging and tracing facility.
GHashTable * target_table
QofBookMergeResult mergeResult
void qof_book_merge_rule_foreach(QofBookMergeData *mergeData, QofBookMergeRuleForeachCB callback, QofBookMergeResult mergeResult)
Dialogue Control Callback.
One rule per entity, built into a single GList for the entire merge.
QofBookMergeData * qof_book_merge_init(QofBook *importBook, QofBook *targetBook)
Initialise the QofBookMerge process.
Encapsulate all the information about a dataset.
QofBookMergeRule * currentRule
API for registering parameters on objects.
QofBookMergeResult
Results of collisions and user resolution.
void(* QofBookMergeRuleForeachCB)(QofBookMergeData *, QofBookMergeRule *, guint)
Definition of the dialogue control callback routine.
void qof_book_merge_abort(QofBookMergeData *mergeData)
Abort the merge and free all memory allocated by the merge.
GSList * mergeObjectParams
QofBookMergeData * qof_book_merge_update_result(QofBookMergeData *mergeData, QofBookMergeResult tag)
called by dialogue callback to set the result of user intervention
mergeData contains the essential context data for any merge.