From f4d01d2d9f7a921f40a3b192637959ddf9129669 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 8 Jul 2026 22:51:44 +0200 Subject: ... --- .../shell/quickshell-plugins/CMakeLists.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'accounts/gkleen@sif/shell/quickshell-plugins/CMakeLists.txt') diff --git a/accounts/gkleen@sif/shell/quickshell-plugins/CMakeLists.txt b/accounts/gkleen@sif/shell/quickshell-plugins/CMakeLists.txt index 020c0515..6b4f0d48 100644 --- a/accounts/gkleen@sif/shell/quickshell-plugins/CMakeLists.txt +++ b/accounts/gkleen@sif/shell/quickshell-plugins/CMakeLists.txt @@ -114,6 +114,7 @@ qt_add_dbus_interface(DBUS_INTERFACES set_source_files_properties(org.freedesktop.systemd1.Manager.xml PROPERTIES CLASSNAME DBusSystemdManager NO_NAMESPACE TRUE + INCLUDE ListUnitsEntry.hpp ) qt_add_dbus_interface(DBUS_INTERFACES org.freedesktop.systemd1.Manager.xml @@ -138,6 +139,24 @@ qt_add_dbus_interface(DBUS_INTERFACES dbus_logind_session ) +set_source_files_properties(org.freedesktop.systemd1.Unit.xml PROPERTIES + CLASSNAME DBusSystemdUnit + NO_NAMESPACE TRUE +) +qt_add_dbus_interface(DBUS_INTERFACES + org.freedesktop.systemd1.Unit.xml + dbus_systemd_unit +) + +set_source_files_properties(org.freedesktop.systemd1.Service.xml PROPERTIES + CLASSNAME DBusSystemdService + NO_NAMESPACE TRUE +) +qt_add_dbus_interface(DBUS_INTERFACES + org.freedesktop.systemd1.Service.xml + dbus_systemd_service +) + set_source_files_properties(org.freedesktop.DBus.Properties.xml PROPERTIES CLASSNAME DBusProperties NO_NAMESPACE TRUE @@ -148,6 +167,7 @@ qt_add_dbus_interface(DBUS_INTERFACES ) include_directories(${CMAKE_SOURCE_DIR}/build) +include_directories(${QUICKSHELL_SRC}/src) target_compile_features(customplugin PUBLIC cxx_std_26) @@ -162,7 +182,9 @@ target_sources(customplugin PRIVATE FileSelector.cpp FileSelector.hpp KeePassXC.cpp KeePassXC.hpp Systemd.cpp Systemd.hpp + ListUnitsEntry.cpp ListUnitsEntry.hpp ${DBUS_INTERFACES} + ${QUICKSHELL_SRC}/src/core/model.cpp ${QUICKSHELL_SRC}/src/core/model.hpp ) install_qml_module(customplugin) -- cgit v1.2.3