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
#ifndef DT_COMMON_METADATA_EXPORT_H
27
#define DT_COMMON_METADATA_EXPORT_H
28
29
typedef
enum
dt_metadata_id
30
{
31
DT_META_NONE
= 0,
32
DT_META_EXIF
= 1 << 0,
33
DT_META_METADATA
= 1 << 1,
34
DT_META_GEOTAG
= 1 << 2,
35
DT_META_TAG
= 1 << 3,
36
DT_META_HIERARCHICAL_TAG
= 1 << 4,
37
DT_META_DT_HISTORY
= 1 << 5,
38
DT_META_PRIVATE_TAG
= 1 << 16,
39
DT_META_SYNONYMS_TAG
= 1 << 17,
40
DT_META_OMIT_HIERARCHY
= 1 << 18,
41
DT_META_CALCULATED
= 1 << 19
42
}
dt_metadata_id
;
43
44
typedef
struct
dt_export_metadata_t
45
{
46
int32_t
flags
;
47
GList *
list
;
48
}
dt_export_metadata_t
;
49
50
uint32_t
dt_lib_export_metadata_default_flags
(
void
);
51
uint32_t
dt_lib_export_metadata_get_conf_flags
(
void
);
52
char
*
dt_lib_export_metadata_get_conf
(
void
);
53
void
dt_lib_export_metadata_set_conf
(
const
char
*metadata_presets);
54
55
#endif
// DT_COMMON_METADATA_EXPORT_H
56
57
// clang-format off
58
// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
59
// vim: shiftwidth=2 expandtab tabstop=2 cindent
60
// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
61
// clang-format on
62
dt_metadata_id
dt_metadata_id
Definition
metadata_export.h:30
DT_META_OMIT_HIERARCHY
@ DT_META_OMIT_HIERARCHY
Definition
metadata_export.h:40
DT_META_HIERARCHICAL_TAG
@ DT_META_HIERARCHICAL_TAG
Definition
metadata_export.h:36
DT_META_TAG
@ DT_META_TAG
Definition
metadata_export.h:35
DT_META_CALCULATED
@ DT_META_CALCULATED
Definition
metadata_export.h:41
DT_META_EXIF
@ DT_META_EXIF
Definition
metadata_export.h:32
DT_META_METADATA
@ DT_META_METADATA
Definition
metadata_export.h:33
DT_META_DT_HISTORY
@ DT_META_DT_HISTORY
Definition
metadata_export.h:37
DT_META_PRIVATE_TAG
@ DT_META_PRIVATE_TAG
Definition
metadata_export.h:38
DT_META_GEOTAG
@ DT_META_GEOTAG
Definition
metadata_export.h:34
DT_META_NONE
@ DT_META_NONE
Definition
metadata_export.h:31
DT_META_SYNONYMS_TAG
@ DT_META_SYNONYMS_TAG
Definition
metadata_export.h:39
dt_lib_export_metadata_get_conf_flags
uint32_t dt_lib_export_metadata_get_conf_flags(void)
Definition
metadata_export.c:38
dt_lib_export_metadata_get_conf
char * dt_lib_export_metadata_get_conf(void)
Definition
metadata_export.c:45
dt_lib_export_metadata_default_flags
uint32_t dt_lib_export_metadata_default_flags(void)
Definition
metadata_export.c:29
dt_lib_export_metadata_set_conf
void dt_lib_export_metadata_set_conf(const char *metadata_presets)
Definition
metadata_export.c:80
dt_export_metadata_t
Definition
metadata_export.h:45
dt_export_metadata_t::list
GList * list
Definition
metadata_export.h:47
dt_export_metadata_t::flags
int32_t flags
Definition
metadata_export.h:46
src
common
metadata_export.h
Generated by
1.9.8