![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <database.h>
Collaboration diagram for dt_database_prompt_context_t:Data Fields | |
| dt_database_prompt_t | prompt |
| const char * | dbfilename |
| const char * | quick_check |
| gboolean | snapshot_available |
| guint64 | reclaimable_bytes |
| gboolean | at_close |
| gboolean | ask_on_startup |
| gboolean | ask_on_close |
What the handler is told. Every field is a fact about the database; none of it is user-facing text. Fields not relevant to prompt are zero.
Definition at line 223 of file database.h.
| gboolean dt_database_prompt_context_t::ask_on_close |
MAINTENANCE: declining now means being asked again when Ansel closes – today's close if at_close is FALSE, the next one if it is TRUE.
Definition at line 241 of file database.h.
Referenced by _prompt_maintenance().
| gboolean dt_database_prompt_context_t::ask_on_startup |
MAINTENANCE: declining now means being asked again at the next startup.
Definition at line 238 of file database.h.
Referenced by _prompt_maintenance().
| gboolean dt_database_prompt_context_t::at_close |
MAINTENANCE: this check is happening as Ansel closes, rather than as it starts.
Definition at line 236 of file database.h.
Referenced by _prompt_maintenance().
| const char* dt_database_prompt_context_t::dbfilename |
The database file the question is about.
Definition at line 227 of file database.h.
Referenced by _ask_user(), _database_prompt(), and _prompt_upgrade().
| dt_database_prompt_t dt_database_prompt_context_t::prompt |
Definition at line 225 of file database.h.
Referenced by _ask_corrupted(), _ask_for_maintenance(), _ask_readonly(), _ask_upgrade(), and _database_prompt().
| const char* dt_database_prompt_context_t::quick_check |
CORRUPTED: sqlite's quick_check output, or NULL. Not markup – the handler escapes it, since only the handler knows the format.
Definition at line 230 of file database.h.
Referenced by _database_prompt().
| guint64 dt_database_prompt_context_t::reclaimable_bytes |
MAINTENANCE: how many bytes a VACUUM would reclaim.
Definition at line 234 of file database.h.
Referenced by _prompt_maintenance().
| gboolean dt_database_prompt_context_t::snapshot_available |
CORRUPTED: TRUE when a snapshot exists, i.e. RESTORE is worth offering.
Definition at line 232 of file database.h.
Referenced by _database_prompt().