Apply changed API
authorSung-jae Park <nicesj.park@samsung.com>
Wed, 2 Jul 2014 11:32:36 +0000 (20:32 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Wed, 2 Jul 2014 11:49:20 +0000 (20:49 +0900)
Change-Id: Iafb4030175e3c13a9a5a5b527b44ca71c5079397

com.samsung.data-provider-slave.xml
packaging/com.samsung.data-provider-slave.spec
src/client.c
src/lb.c
src/main.c
src/so_handler.c
src/util.c

index 4d8c8a7..a522151 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8" ?>
-<manifest xmlns="http://tizen.org/ns/packages" package="com.samsung.data-provider-slave" version="0.5.4" install-location="auto">
+<manifest xmlns="http://tizen.org/ns/packages" package="com.samsung.data-provider-slave" version="0.16.0" install-location="auto">
        <label>Dynamic Box Provider (slave)</label>
        <author email="nicesj.park@samsung.com" href="www.samsung.com">Sung-jae Park</author>
        <author email="yjoo93.park@samsung.com" href="www.samsung.com">Youngjoo Park</author>
@@ -7,7 +7,7 @@
 
        <ui-application appid="com.samsung.data-provider-slave" exec="/usr/apps/com.samsung.data-provider-slave/bin/data-provider-slave" nodisplay="true" multiple="true" type="capp" taskmanage="false">
                <icon>com.samsung.data-provider-slave.png</icon>
-               <label>Dynamic Box Provider (Default)</label>
+               <label>Dynamic Box Provider (slave)</label>
                <label xml:lang="en-us">Dynamic Box Provider (slave)</label>
        </ui-application>
        <privileges>
index 6b18df9..82d43a4 100644 (file)
@@ -2,7 +2,7 @@
 
 Name: com.samsung.data-provider-slave
 Summary: Plugin type livebox service provider
-Version: 0.15.4
+Version: 0.16.0
 Release: 1
 Group: HomeTF/Livebox
 License: Flora
index 6c1bd47..9eeec69 100644 (file)
@@ -30,7 +30,7 @@
 
 #include <provider.h>
 #include <livebox-errno.h>
-#include <livebox.h> /* LB_SYS_EVENT_XXX */
+#include <livebox_product.h> /* LB_SYS_EVENT_XXX */
 
 #include "critical_log.h"
 #include "conf.h"
index b80edde..9892174 100644 (file)
--- a/src/lb.c
+++ b/src/lb.c
@@ -24,7 +24,7 @@
 
 #include <dlog.h>
 #include <provider.h>
-#include <livebox.h>
+#include <livebox_product.h>
 #include <livebox-errno.h>
 
 #include "critical_log.h"
@@ -976,7 +976,7 @@ static int file_updated_cb(const char *filename, void *data, int over)
        }
 
        if (IS_LB_SHOWN(item)) {
-               provider_send_updated_NEW(item->inst->item->pkgname, item->inst->id,
+               provider_send_updated(item->inst->item->pkgname, item->inst->id,
                                        item->inst->w, item->inst->h, item->inst->priority,
                                        content, title, item->inst->icon, item->inst->name);
        } else {
@@ -998,7 +998,7 @@ static void reset_lb_updated_flag(struct item *item)
                        item->inst->id, item->is_lb_updated,
                        item->inst->content, item->inst->title);
 
-       provider_send_updated_NEW(item->inst->item->pkgname, item->inst->id,
+       provider_send_updated(item->inst->item->pkgname, item->inst->id,
                        item->inst->w, item->inst->h, item->inst->priority,
                        item->inst->content, item->inst->title, item->inst->icon, item->inst->name);
 
index 4c37329..f897826 100644 (file)
@@ -40,7 +40,7 @@
 #include <livebox-service.h>
 #include <provider.h>
 #include <vconf.h>
-#include <livebox.h>
+#include <livebox_product.h>
 
 #include "critical_log.h"
 #include "debug.h"
index 7080df0..5e114c2 100644 (file)
@@ -23,6 +23,7 @@
 #include <dlog.h>
 #include <Eina.h>
 #include <provider.h>
+#include <livebox-service_product.h>
 #include <livebox-service.h>
 #include <livebox-errno.h>
 
index 5453e98..62f5e6c 100644 (file)
@@ -32,6 +32,7 @@
 #include <aul.h>
 #include <livebox-errno.h>
 #include <livebox-service.h>
+#include <livebox-service_product.h>
 
 #include "critical_log.h"
 #include "util.h"