mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-22 08:57:17 -06:00
use same order in comment as in definition of SessionOpenMode enum
This commit is contained in:
parent
40cfb70fb7
commit
22f91c407e
@ -191,14 +191,14 @@ class Session(GnuCashCoreClass):
|
||||
uri and if none is found, create it. If the file or database exists post a
|
||||
QOF_BACKED_STORE_EXISTS and return.
|
||||
@par
|
||||
`SESSION_NEW_OVERWRITE`: Create a new file or database at the provided uri,
|
||||
deleting any existing file or database.
|
||||
@par
|
||||
`SESSION_READ_ONLY`: Find an existing file or database and open it without
|
||||
disturbing the lock if it exists or setting one if not. This will also set a
|
||||
flag on the book that will prevent many elements from being edited and will
|
||||
prevent the backend from saving any edits.
|
||||
@par
|
||||
`SESSION_NEW_OVERWRITE`: Create a new file or database at the provided uri,
|
||||
deleting any existing file or database.
|
||||
@par
|
||||
`SESSION_BREAK_LOCK`: Find an existing file or database, lock it, and open
|
||||
it. If there is already a lock replace it with a new one for this session.
|
||||
|
||||
|
@ -164,14 +164,14 @@ void qof_session_swap_data (QofSession *session_1, QofSession *session_2);
|
||||
* uri and if none is found, create it. If the file or database exists post a
|
||||
* QOF_BACKED_STORE_EXISTS and return.
|
||||
* @par
|
||||
* `SESSION_NEW_OVERWRITE`: Create a new file or database at the provided uri,
|
||||
* deleting any existing file or database.
|
||||
* @par
|
||||
* `SESSION_READ_ONLY`: Find an existing file or database and open it without
|
||||
* disturbing the lock if it exists or setting one if not. This will also set a
|
||||
* flag on the book that will prevent many elements from being edited and will
|
||||
* prevent the backend from saving any edits.
|
||||
* @par
|
||||
* `SESSION_NEW_OVERWRITE`: Create a new file or database at the provided uri,
|
||||
* deleting any existing file or database.
|
||||
* @par
|
||||
* `SESSION_BREAK_LOCK`: Find an existing file or database, lock it, and open
|
||||
* it. If there is already a lock replace it with a new one for this session.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user