Replace tbm to screen-connector 73/104073/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 tizen_3.0_tv accepted/tizen/3.0.m2/mobile/20170104.122120 accepted/tizen/3.0.m2/tv/20170104.122409 accepted/tizen/3.0.m2/wearable/20170104.122756 accepted/tizen/3.0/common/20161221.181008 accepted/tizen/3.0/ivi/20161221.010046 accepted/tizen/3.0/mobile/20161221.010231 accepted/tizen/3.0/tv/20161221.005908 accepted/tizen/3.0/wearable/20161221.005957 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20161219.021901 submit/tizen_3.0/20161220.012114 submit/tizen_3.0/20161220.014437
authorHyunho Kang <hhstark.kang@samsung.com>
Mon, 12 Dec 2016 08:25:17 +0000 (17:25 +0900)
committerHyunho Kang <hhstark.kang@samsung.com>
Mon, 12 Dec 2016 08:26:22 +0000 (17:26 +0900)
Change-Id: I52b50df30b4a6e3cdc8122c7a517d878e34bab81
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
CMakeLists.txt
packaging/appcore-watch.spec
src/appcore-watch.c
src/watch_app_main.c

index 15028d3..cc2118b 100644 (file)
@@ -39,6 +39,7 @@ pkg_check_modules(pkg_watch REQUIRED
                icu-i18n
                glib-2.0
                gio-2.0
+               screen_connector_provider
                )
 FOREACH(flag ${pkg_watch_CFLAGS})
        SET(EXTRA_CFLAGS_watch "${EXTRA_CFLAGS_watch} ${flag}")
index 5e69f1a..94140e7 100644 (file)
@@ -19,6 +19,7 @@ BuildRequires:        pkgconfig(icu-uc)
 BuildRequires: pkgconfig(ecore-wayland)
 BuildRequires: pkgconfig(glib-2.0)
 BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(screen_connector_provider)
 BuildRequires:  cmake
 
 
index fd90d4c..cc93811 100755 (executable)
@@ -35,7 +35,7 @@
 #include <glib-object.h>
 #include <Ecore_Wayland.h>
 #include <widget_app.h>
-#include <aul_rsm_provider.h>
+#include <screen_connector_provider.h>
 
 #include "appcore-watch.h"
 #include "appcore-watch-log.h"
@@ -1185,7 +1185,7 @@ static int __before_loop(struct watch_priv *watch, int argc, char **argv)
        r = watch_core_init(watch->name, &w_ops, argc, argv);
        _retv_if(r < 0, -1);
 
-       aul_rsm_provider_init();
+       screen_connector_provider_init();
 
        __widget_create(NULL, NULL, width, height, NULL);
 
@@ -1207,7 +1207,7 @@ static void __after_loop(struct watch_priv *watch)
        if (watch->ops && watch->ops->terminate)
                watch->ops->terminate(watch->ops->data);
 
-       aul_rsm_provider_fini();
+       screen_connector_provider_fini();
 
        elm_shutdown();
 
index 3763c9f..ab94fca 100755 (executable)
@@ -25,7 +25,7 @@
 #include <Evas.h>
 #include <Elementary.h>
 #include <Ecore_Wayland.h>
-#include <aul_rsm_provider.h>
+#include <screen_connector_provider.h>
 
 #include "appcore-watch.h"
 #include "appcore-watch-log.h"
@@ -701,8 +701,7 @@ EXPORT_API int watch_app_get_elm_win(Evas_Object **win)
                _E("failed to get surface");
 
        surface = ecore_wl_window_surface_get(wl_win);
-
-       aul_rsm_provider_remote_enable(watch_core_get_appid(), surface);
+       screen_connector_provider_remote_enable(watch_core_get_appid(), surface);
 
        *win = ret_win;
        return APP_ERROR_NONE;
@@ -734,4 +733,4 @@ EXPORT_API int watch_app_get_time_tick_frequency(int *ticks, watch_app_time_tick
        if (type == NULL || ticks == NULL)
                return APP_ERROR_INVALID_PARAMETER;
        return watch_core_get_time_tick_frequency(ticks, type);
-}
\ No newline at end of file
+}