use same order in comment as in definition of SessionOpenMode enum

This commit is contained in:
c-holtermann 2020-07-04 22:26:35 +02:00
parent 40cfb70fb7
commit 22f91c407e
2 changed files with 6 additions and 6 deletions

View File

@ -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.

View File

@ -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.
*