Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
legacy_presets.h File Reference
#include <sqlite3.h>
+ Include dependency graph for legacy_presets.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void dt_legacy_presets_create (sqlite3 *handle)
 

Function Documentation

◆ dt_legacy_presets_create()

void dt_legacy_presets_create ( sqlite3 *  handle)

(Re)create main.legacy_presets and fill it with the presets darktable shipped before the auto-apply cleanup. Drops and re-inserts every time it is called.

Takes the connection rather than the database object because it runs from inside dt_database_open(), while the schema is still being built and before the module has published anything – there is nothing to look up yet.

Definition at line 1134 of file legacy_presets.c.

References i, and sql_lines.

Referenced by _database_init().