Enable Badge/Notification service.
authorSung-jae Park <nicesj.park@samsung.com>
Mon, 29 Apr 2013 04:32:18 +0000 (13:32 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Mon, 29 Apr 2013 04:32:18 +0000 (13:32 +0900)
Change-Id: I1a26d1c4eeaba45fc3c4a764e54e832a15251e19

CMakeLists.txt
packaging/data-provider-master.spec
src/main.c

index c6a9a1e..d0732e5 100755 (executable)
@@ -28,8 +28,8 @@ pkg_check_modules(pkg REQUIRED
        xdamage
        pkgmgr
        livebox-service
-#      notification
-#      badge
+       notification
+       badge
 )
 
 SET(PACKAGE "${PROJECT_NAME}")
@@ -80,8 +80,8 @@ ADD_EXECUTABLE(${PROJECT_NAME}
        src/pkgmgr.c
        src/event.c
        src/shortcut_service.c
-#      src/badge_service.c
-#      src/notification_service.c
+       src/badge_service.c
+       src/notification_service.c
        src/service_common.c
 )
 
index 9f634f3..f0e4515 100755 (executable)
@@ -32,9 +32,8 @@ BuildRequires: pkgconfig(xext)
 BuildRequires: pkgconfig(xdamage)
 BuildRequires: pkgconfig(pkgmgr)
 BuildRequires: pkgconfig(livebox-service)
-# Temporarly comment out the notification & badge
-# BuildRequires: pkgconfig(notification)
-# BuildRequires: pkgconfig(badge)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(badge)
 BuildRequires: sec-product-features
 
 %description
index ec8b3d5..e4911f5 100755 (executable)
@@ -52,8 +52,8 @@
 #include "critical_log.h"
 #include "event.h"
 #include "shortcut_service.h"
-//#include "notification_service.h"
-//#include "badge_service.h"
+#include "notification_service.h"
+#include "badge_service.h"
 
 #if defined(FLOG)
 FILE *__file_log_fp;
@@ -243,8 +243,8 @@ int main(int argc, char *argv[])
        (void)util_unlink_files(SLAVE_LOG_PATH);
 
        shortcut_service_init();
-//     notification_service_init();
-//     badge_service_init();
+       notification_service_init();
+       badge_service_init();
        script_init();
 
        app_create();
@@ -256,9 +256,9 @@ int main(int argc, char *argv[])
        app_terminate();
 
        script_fini();
+       badge_service_fini();
+       notification_service_fini();
        shortcut_service_fini();
-//     notification_service_fini();
-//     badge_service_fini();
 
        ecore_evas_shutdown();
        evas_shutdown();