Files | |
file | qof-gda.h |
Public interface of qof-backend-gda. | |
Functions | |
void | qof_gda_provider_init (void) |
Initialises the libgda2 QOF backend. |
Note that QOF_TYPE_GUID is stored as a string.
void qof_gda_provider_init | ( | void | ) |
Initialises the libgda2 QOF backend.
Sets QOF GDA Backend Version 0.1, access method = gda:
The ID in all GDA tables created by QOF is the GUID of the entity, expressed as a hexadecimal string.
The version number only changes if:
Initialises the backend and provides access to the functions that will load and save the data. Initialises default values for the QofBackendOption KvpFrame.
At present, qof_gda has no QofBackendOption options and therefore no strings that are translatable.
Definition at line 677 of file qof-gda.c.
00678 { 00679 QofBackendProvider *prov; 00680 00681 bindtextdomain (PACKAGE, LOCALE_DIR); 00682 prov = g_new0 (QofBackendProvider, 1); 00683 prov->provider_name = "QOF GDA Backend Version 0.1"; 00684 prov->access_method = ACCESS_METHOD; 00685 prov->partial_book_supported = TRUE; 00686 prov->backend_new = qgda_backend_new; 00687 prov->check_data_type = qgda_determine_file_type; 00688 prov->provider_free = qgda_provider_free; 00689 qof_backend_register_provider (prov); 00690 }