Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
presets.c File Reference
#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)
 

Function Documentation

◆ dt_preset_encode()

static char * dt_preset_encode ( sqlite3_stmt *  stmt,
int  row 
)
static

References dt_exif_xmp_encode().

Referenced by dt_presets_save_to_file().

◆ dt_presets_import_from_file()

◆ dt_presets_module_can_autoapply()

gboolean dt_presets_module_can_autoapply ( const gchar *  operation)

◆ dt_presets_save_to_file()

void dt_presets_save_to_file ( const int  rowid,
const char *  preset_name,
const char *  filedir 
)

◆ get_preset_element()

static gchar * get_preset_element ( xmlDocPtr  doc,
gchar *  name 
)
static

◆ get_preset_element_float()

static int get_preset_element_float ( xmlDocPtr  doc,
gchar *  name 
)
static

References get_preset_element(), and name.

Referenced by dt_presets_import_from_file().

◆ get_preset_element_int()

static int get_preset_element_int ( xmlDocPtr  doc,
gchar *  name 
)
static

References get_preset_element(), and name.

Referenced by dt_presets_import_from_file().