mirror of
https://github.com/blender/blender
synced 2026-11-22 03:45:13 +03:00
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.
21 lines
290 B
C
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
|