mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
use same order in comment as in definition of SessionOpenMode enum
This commit is contained in:
@@ -191,14 +191,14 @@ class Session(GnuCashCoreClass):
|
|||||||
uri and if none is found, create it. If the file or database exists post a
|
uri and if none is found, create it. If the file or database exists post a
|
||||||
QOF_BACKED_STORE_EXISTS and return.
|
QOF_BACKED_STORE_EXISTS and return.
|
||||||
@par
|
@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
|
`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
|
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
|
flag on the book that will prevent many elements from being edited and will
|
||||||
prevent the backend from saving any edits.
|
prevent the backend from saving any edits.
|
||||||
@par
|
@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
|
`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.
|
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
|
* uri and if none is found, create it. If the file or database exists post a
|
||||||
* QOF_BACKED_STORE_EXISTS and return.
|
* QOF_BACKED_STORE_EXISTS and return.
|
||||||
* @par
|
* @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
|
* `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
|
* 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
|
* flag on the book that will prevent many elements from being edited and will
|
||||||
* prevent the backend from saving any edits.
|
* prevent the backend from saving any edits.
|
||||||
* @par
|
* @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
|
* `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.
|
* it. If there is already a lock replace it with a new one for this session.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user