From a20e44a4c4d02b10670f836be79505616d6d8f56 Mon Sep 17 00:00:00 2001 From: Mu-Woong Lee Date: Thu, 16 Mar 2017 15:41:26 +0900 Subject: [PATCH] Add job-scheduler service Change-Id: I38dcd315450223013d9804479b2c41f2e026c4d6 Signed-off-by: Mu-Woong Lee --- CMakeLists.txt | 1 + packaging/context-service.spec | 1 + src/ServiceLoader.cpp | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b85c19..e49d12c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,7 @@ SET(DEPS "${DEPS} context-common-server") SET(DEPS "${DEPS} context-app-history-server") SET(DEPS "${DEPS} context-sensor-recorder-server") SET(DEPS "${DEPS} context-store-server") +SET(DEPS "${DEPS} context-job-scheduler-server") FILE(GLOB_RECURSE SRCS src/*.cpp) MESSAGE("Sources: ${SRCS}") diff --git a/packaging/context-service.spec b/packaging/context-service.spec index fab54bb..2b90a72 100644 --- a/packaging/context-service.spec +++ b/packaging/context-service.spec @@ -20,6 +20,7 @@ BuildRequires: pkgconfig(context-common-server) BuildRequires: pkgconfig(context-app-history-server) BuildRequires: pkgconfig(context-sensor-recorder-server) BuildRequires: pkgconfig(context-store-server) +BuildRequires: pkgconfig(context-job-scheduler-server) %description This is a systemd service that contains all features provided by the Tizen Contextual Service Framework. diff --git a/src/ServiceLoader.cpp b/src/ServiceLoader.cpp index b41eff4..03acfbc 100644 --- a/src/ServiceLoader.cpp +++ b/src/ServiceLoader.cpp @@ -17,7 +17,7 @@ #include #include #include -//#include +#include #include "ServiceLoader.h" @@ -45,7 +45,7 @@ bool ServiceLoader::load(GDBusConnection* conn) __create(conn); __create(conn); __create(conn); - //__create(conn); + __create(conn); return (!__systemServices.empty() || !__userServices.empty()); } -- 2.7.4