documentation cleanup; merge from qof sources

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10209 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas
2004-07-26 22:10:19 +00:00
parent 48df8b8884
commit 3eaaeffd24

View File

@@ -72,9 +72,17 @@
* exist. This flag is used to implement the 'SaveAs' GUI, where * exist. This flag is used to implement the 'SaveAs' GUI, where
* the user requests to save data to a new backend. * the user requests to save data to a new backend.
* *
* The load() routine should return at least an account tree, * The load() routine should load the minimal set of application data
* all currencies, pricedb, and any other data that needs to be * needed for the application to be operable at initial startup.
* loaded at start time. It does not have to return any * It is assumed that the application will perform a 'run_query()'
* to obtain any additional data that it needs. For file-based
* backends, it is acceptable for the backend to return all data
* at load time; for SQL-based backends, it is acceptable for the
* backend to return no data.
*
* Thus, for example, for GnuCash, the postrges backend returns
* the account tree, all currencies, and the pricedb, as these
* are needed at startup. It does not have to return any
* transactions whatsoever, as these are obtained at a later stage * transactions whatsoever, as these are obtained at a later stage
* when a user opens a register, resulting in a query being sent to * when a user opens a register, resulting in a query being sent to
* the backend. * the backend.