ebc316f703
Summary: Add a helper function to the daemon interface, which must be subclassed by the implementations, which creates a simple notification. For more complex needs, involving interacting with the notification, it will still be nescessary to use KNotification directly, but this allows for other future implementations to create a simple notification without ifdef'ing the code. Reviewers: kdeconnect, apol Reviewed By: apol Subscribers: kdeconnect Differential Revision: https://phabricator.kde.org/D11104
13 lines
292 B
CMake
13 lines
292 B
CMake
set(kdeconnect_battery_SRCS
|
|
batteryplugin.cpp
|
|
batterydbusinterface.cpp
|
|
)
|
|
|
|
kdeconnect_add_plugin(kdeconnect_battery JSON kdeconnect_battery.json SOURCES ${kdeconnect_battery_SRCS})
|
|
|
|
target_link_libraries(kdeconnect_battery
|
|
kdeconnectcore
|
|
Qt5::DBus
|
|
Qt5::Gui
|
|
KF5::I18n
|
|
)
|