On this page, we will detail the cross-platform dbus-utils module provided by our own
UntitledDBusUtils library.
Runtime checking can be done using the dbus member of the ModuleSettings struct. More info can be found
here.
Enabling in the build system
To enable it, update your uvproj.yaml so that the dbus key under enabled-modules is set to true like this:
name: "MyProject"
version: "1.0.0.0"
engine-version: "1.0.0.0"
enabled-modules:
os: true
dbus: true
Then, regenerate the modules cache by running the following command:
user $ ./UVKBuildTool --generate <project directory>
After that, refresh your CMake project with cmake ..!
Event safety
The entire module is flagged as event safe at Any time.
Using the library
The library has already been documented on its own GitHub repo’s wiki.
Checking for the module
To check for the module at compile time, use the UIMGUI_DBUS_SUBMODULE_ENABLED macro.
Runtime checking can be done using the dbus member of the ModuleSettings struct. More info can be found
here.
C API
This module does not have a C API, since it adds additional C++ syntactic sugar on top of a C library. C users should use the raw libdbus-1 C library.