Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
capabilities.h
Go to the documentation of this file.
1/*
2 This file is part of Ansel,
3 Copyright (C) 2026 Aurélien PIERRE.
4
5 Ansel is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 Ansel is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with Ansel. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19#ifndef DT_SYSTEM_CAPABILITIES_H
20#define DT_SYSTEM_CAPABILITIES_H
21
22/* Optional features detected at runtime, depending on the environment and the
23 * compile options: OpenCL, libsecret, kwallet... Registered by whichever subsystem
24 * discovers it can run (common/opencl.c, common/pwstorage/pwstorage.c). The backing
25 * list and its mutex belong to the orchestrator (darktable.c). */
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
35
36#ifdef __cplusplus
37}
38#endif
39
40#endif // DT_SYSTEM_CAPABILITIES_H
41
42// clang-format off
43// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
44// vim: shiftwidth=2 expandtab tabstop=2 cindent
45// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
46// clang-format on
void dt_capabilities_remove(char *capability)
Definition darktable.c:2559
void dt_capabilities_add(char *capability)
Definition darktable.c:2548
void dt_capabilities_cleanup()
Definition darktable.c:2569
int dt_capabilities_check(char *capability)
Definition darktable.c:2535