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 6b85c19..e49d12c 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 fab54bb..2b90a72 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 b41eff4..03acfbc 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());
 }