From 7042c6c2899a4e46a095a38ee1481b63ca4b96d8 Mon Sep 17 00:00:00 2001 From: Ashish Bansal Date: Wed, 22 Apr 2015 18:59:39 +0530 Subject: 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 --- src/CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/CMakeLists.txt') 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}) -- cgit v1.3