![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "common/presets.h"#include "common/darktable.h"#include "common/debug.h"#include "common/exif.h"#include "common/file_location.h"#include "develop/blend.h"#include "develop/imageop.h"#include "libs/lib.h"#include <libxml/encoding.h>#include <libxml/xmlwriter.h>#include <libxml/parser.h>#include <libxml/xpath.h>#include <libxml/xpathInternals.h>#include <glib.h>#include <inttypes.h>#include <sqlite3.h>
Include dependency graph for common/presets.c:Functions | |
| static char * | dt_preset_encode (sqlite3_stmt *stmt, int row) |
| void | dt_presets_save_to_file (const int rowid, const char *preset_name, const char *filedir) |
| static gchar * | get_preset_element (xmlDocPtr doc, gchar *name) |
| static int | get_preset_element_int (xmlDocPtr doc, gchar *name) |
| static int | get_preset_element_float (xmlDocPtr doc, gchar *name) |
| int | dt_presets_import_from_file (const char *preset_path) |
| gboolean | dt_presets_module_can_autoapply (const gchar *operation) |
|
static |
References dt_exif_xmp_encode().
Referenced by dt_presets_save_to_file().
| int dt_presets_import_from_file | ( | const char * | preset_path | ) |
load preset from file
References darktable, darktable_t::db, description(), dt_database_get(), DT_DEBUG_SQLITE3_BIND_BLOB, DT_DEBUG_SQLITE3_BIND_DOUBLE, DT_DEBUG_SQLITE3_BIND_INT, DT_DEBUG_SQLITE3_BIND_TEXT, DT_DEBUG_SQLITE3_PREPARE_V2, dt_exif_xmp_decode(), FALSE, get_preset_element(), get_preset_element_float(), get_preset_element_int(), iso_max, iso_min, maker, model, and name.
Referenced by _import_preset_from_file().
| gboolean dt_presets_module_can_autoapply | ( | const gchar * | operation | ) |
References darktable, dt_lib_module_t::data, dt_lib_presets_can_autoapply(), darktable_t::lib, dt_lib_module_t::plugin_name, dt_lib_t::plugins, and TRUE.
Referenced by _presets_show_edit_dialog(), and tree_insert_presets().
| void dt_presets_save_to_file | ( | const int | rowid, |
| const char * | preset_name, | ||
| const char * | filedir | ||
| ) |
save preset to file
References darktable, darktable_t::db, description(), dt_database_get(), DT_DEBUG_SQLITE3_BIND_INT, DT_DEBUG_SQLITE3_PREPARE_V2, dt_preset_encode(), iso_max, iso_min, maker, model, and name.
Referenced by _edit_preset_response(), and export_preset().
|
static |
References name.
Referenced by dt_presets_import_from_file(), get_preset_element_float(), and get_preset_element_int().
|
static |
References get_preset_element(), and name.
Referenced by dt_presets_import_from_file().
|
static |
References get_preset_element(), and name.
Referenced by dt_presets_import_from_file().