On Tuesday 30 August 2005 11:30 pm, Derek Atkins wrote: > This sounds reasonable to me... And will solve the SQLite issue -- > the only question is: how do we "order" be backends so that we can > get certain types in preference to others? In particular for > File -> SaveAs
Good question - first thoughts are: 1. Keep to the same backend to write as was used to load where possible. 2. Use markers in the QofBook (like partial books) where necessary / supported. Other situations will need a formal QofSession call - if the QofBackendProvider list is made readable (maybe a foreach) and/or if the SaveAs routines pass the ID/name of the selected QofBackendProvider to a new function: qof_session_change_backend(QofSession *, const char *backend_provider_name); or qof_session_change_backend(QofSession *, QofBackendProvider *); This should probably allow changing the access_method at the same time. I'll look into it. -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
pgpY2vtPcvNMU.pgp
Description: PGP signature
_______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
