Add job-scheduler service 55/119255/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Thu, 16 Mar 2017 06:41:26 +0000 (15:41 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Thu, 16 Mar 2017 06:41:26 +0000 (15:41 +0900)
Change-Id: I38dcd315450223013d9804479b2c41f2e026c4d6
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
CMakeLists.txt
packaging/context-service.spec
src/ServiceLoader.cpp

index 6b85c1934c3508b6cf5220b799a8d2f0f33604ba..e49d12c2591974ffb0bf9486fdb474eeddb210e2 100644 (file)
@@ -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}")
index fab54bb336a3363c206708a919897def65c8e4e6..2b90a72b6ccfe2457ea6ab93fec71502a6947545 100644 (file)
@@ -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.
index b41eff426fc8a8b6d9dd0c06c548f15d573abadd..03acfbcd059e962b202df2b41ebc1ddcd34ee1c4 100644 (file)
@@ -17,7 +17,7 @@
 #include <AppHistoryService.h>
 #include <SensorRecorderService.h>
 #include <ContextStoreService.h>
-//#include <JobSchedulerService.h>
+#include <JobSchedulerService.h>
 
 #include "ServiceLoader.h"
 
@@ -45,7 +45,7 @@ bool ServiceLoader::load(GDBusConnection* conn)
        __create<AppHistoryService>(conn);
        __create<SensorRecorderService>(conn);
        __create<ContextStoreService>(conn);
-       //__create<JobSchedulerService>(conn);
+       __create<JobSchedulerService>(conn);
 
        return (!__systemServices.empty() || !__userServices.empty());
 }