blender/intern/dbus_dynload/extern/dbus_dynload_API.h
Campbell Barton f39541c759 GHOST/Wayland: Dynamically load libdbus
libdbus is now loaded with dlopen at runtime, like `libwayland`.
The new `WITH_GHOST_WAYLAND_DBUS_DYNLOAD` option (default on) toggles
this; off keeps direct linking. Headers are still needed at build time.

This isn't used yet, but it will be used for cursor themes, and for
watching the system theme choice in !161872.

This is a tweaked version of !158527.
2026-09-03 17:36:17 +02:00

21 lines
290 B
C

/* SPDX-FileCopyrightText: 2026 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
/** \file
* \ingroup intern_dbus_dynload
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <stdbool.h>
bool dbus_dynload_init(bool verbose);
#ifdef __cplusplus
}
#endif