Ansel
0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
metadata_export.h
Go to the documentation of this file.
1
/*
2
This file is part of darktable,
3
Copyright (C) 2009-2011 johannes hanika.
4
Copyright (C) 2011 Ulrich Pegelow.
5
Copyright (C) 2012 Richard Wonka.
6
Copyright (C) 2013-2014, 2016 Tobias Ellinghaus.
7
Copyright (C) 2014 Roman Lebedev.
8
Copyright (C) 2019 Philippe Weyland.
9
Copyright (C) 2020 Pascal Obry.
10
Copyright (C) 2022 Martin BaĆinka.
11
12
darktable is free software: you can redistribute it and/or modify
13
it under the terms of the GNU General Public License as published by
14
the Free Software Foundation, either version 3 of the License, or
15
(at your option) any later version.
16
17
darktable is distributed in the hope that it will be useful,
18
but WITHOUT ANY WARRANTY; without even the implied warranty of
19
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
GNU General Public License for more details.
21
22
You should have received a copy of the GNU General Public License
23
along with darktable. If not, see <http://www.gnu.org/licenses/>.
24
*/
25
26
typedef
enum
dt_metadata_id
27
{
28
DT_META_NONE
= 0,
29
DT_META_EXIF
= 1 << 0,
30
DT_META_METADATA
= 1 << 1,
31
DT_META_GEOTAG
= 1 << 2,
32
DT_META_TAG
= 1 << 3,
33
DT_META_HIERARCHICAL_TAG
= 1 << 4,
34
DT_META_DT_HISTORY
= 1 << 5,
35
DT_META_PRIVATE_TAG
= 1 << 16,
36
DT_META_SYNONYMS_TAG
= 1 << 17,
37
DT_META_OMIT_HIERARCHY
= 1 << 18,
38
DT_META_CALCULATED
= 1 << 19
39
}
dt_metadata_id
;
40
41
typedef
struct
dt_export_metadata_t
42
{
43
int32_t
flags
;
44
GList *
list
;
45
}
dt_export_metadata_t
;
46
47
uint32_t
dt_lib_export_metadata_default_flags
(
void
);
48
uint32_t
dt_lib_export_metadata_get_conf_flags
(
void
);
49
char
*
dt_lib_export_metadata_get_conf
(
void
);
50
void
dt_lib_export_metadata_set_conf
(
const
char
*metadata_presets);
51
52
// clang-format off
53
// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
54
// vim: shiftwidth=2 expandtab tabstop=2 cindent
55
// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
56
// clang-format on
57
dt_metadata_id
dt_metadata_id
Definition
metadata_export.h:27
DT_META_OMIT_HIERARCHY
@ DT_META_OMIT_HIERARCHY
Definition
metadata_export.h:37
DT_META_HIERARCHICAL_TAG
@ DT_META_HIERARCHICAL_TAG
Definition
metadata_export.h:33
DT_META_TAG
@ DT_META_TAG
Definition
metadata_export.h:32
DT_META_CALCULATED
@ DT_META_CALCULATED
Definition
metadata_export.h:38
DT_META_EXIF
@ DT_META_EXIF
Definition
metadata_export.h:29
DT_META_METADATA
@ DT_META_METADATA
Definition
metadata_export.h:30
DT_META_DT_HISTORY
@ DT_META_DT_HISTORY
Definition
metadata_export.h:34
DT_META_PRIVATE_TAG
@ DT_META_PRIVATE_TAG
Definition
metadata_export.h:35
DT_META_GEOTAG
@ DT_META_GEOTAG
Definition
metadata_export.h:31
DT_META_NONE
@ DT_META_NONE
Definition
metadata_export.h:28
DT_META_SYNONYMS_TAG
@ DT_META_SYNONYMS_TAG
Definition
metadata_export.h:36
dt_lib_export_metadata_get_conf_flags
uint32_t dt_lib_export_metadata_get_conf_flags(void)
Definition
metadata_export.c:36
dt_lib_export_metadata_get_conf
char * dt_lib_export_metadata_get_conf(void)
Definition
metadata_export.c:43
dt_lib_export_metadata_default_flags
uint32_t dt_lib_export_metadata_default_flags(void)
Definition
metadata_export.c:27
dt_lib_export_metadata_set_conf
void dt_lib_export_metadata_set_conf(const char *metadata_presets)
Definition
metadata_export.c:78
dt_export_metadata_t
Definition
metadata_export.h:42
dt_export_metadata_t::list
GList * list
Definition
metadata_export.h:44
dt_export_metadata_t::flags
int32_t flags
Definition
metadata_export.h:43
src
common
metadata_export.h
Generated by
1.9.8