aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-05-20 10:34:26 -0500
committerCharles Kerr <charles.kerr@canonical.com>2015-05-20 10:34:26 -0500
commit108a1e2314ac61595cf2d1727cf42d2508d59ae8 (patch)
tree91de8aa70076088ec46305b6358950442c1bc88f /src/CMakeLists.txt
parent05d07c82954637215f05ea8c707b8d917f3acef6 (diff)
downloadayatana-indicator-power-108a1e2314ac61595cf2d1727cf42d2508d59ae8.tar.gz
ayatana-indicator-power-108a1e2314ac61595cf2d1727cf42d2508d59ae8.tar.bz2
ayatana-indicator-power-108a1e2314ac61595cf2d1727cf42d2508d59ae8.zip
in brightness.c, add a powerd proxy and listen to it for brightness property changes.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6f4bfaf..8748484 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -17,6 +17,10 @@ set(SERVICE_MANUAL_SOURCES
# generated sources
include(GdbusCodegen)
set(SERVICE_GENERATED_SOURCES)
+add_gdbus_codegen_with_namespace(SERVICE_GENERATED_SOURCES dbus-powerd
+ com.canonical
+ Dbus
+ ${CMAKE_SOURCE_DIR}/src/com.canonical.powerd.xml)
add_gdbus_codegen_with_namespace(SERVICE_GENERATED_SOURCES dbus-battery
com.canonical.indicator.power
Dbus