┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorAshish Bansal <[email protected]>2015-04-22 18:59:39 +0530
committerAshish Bansal <[email protected]>2015-04-22 18:59:39 +0530
commit7042c6c2899a4e46a095a38ee1481b63ca4b96d8 (patch)
tree9f4faa535285ec57cafa9ba6cf5173c089509f9d /src/CMakeLists.txt
parent807230882b0d68d6b24849aa79d69fb4df7e813a (diff)
Add dbus interface to dolphin
Implemented org.freedesktop.FileManager1 dbus interface in dolphin http://www.freedesktop.org/wiki/Specifications/file-manager-interface/ REVIEW: 123313 BUG: 343016
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 89a4e431c..560545aed 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -247,6 +247,8 @@ set(dolphin_SRCS
statusbar/statusbarspaceinfo.cpp
views/zoomlevelinfo.cpp
dolphindebug.cpp
+ dbusinterface.cpp
+ global.cpp
)
kconfig_add_kcfg_files(dolphin_SRCS GENERATE_MOC
@@ -291,6 +293,15 @@ if (KF5Activities_FOUND)
)
endif()
+include(DbusInterfaceMacros)
+
+generate_and_install_dbus_interface(
+ kdeinit_dolphin
+ dbusinterface.h
+ org.freedesktop.FileManager1.xml
+ OPTIONS -a
+)
+
install(TARGETS kdeinit_dolphin ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS dolphin ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})