The parameter type of frame_broker_create() is changed to void pointer.
Change-Id: I70dd358c3bed7e830ff63b468bfe93ec169d4333
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Name: launcher-service
Description: Support development of the launcher
Version: @VERSION@
-Requires: screen_connector_launcher_service ecore-wl2 capi-appfw-app-control
+Requires: screen_connector_launcher_service capi-appfw-app-control
Libs: -L${libdir} -lframe-broker
Cflags: -I${includedir}
cppflags: -I${includedir}
#ifndef __FRAME_BROKER_H__
#define __FRAME_BROKER_H__
-#include <Ecore_Wl2.h>
#include <app_control.h>
#include <frame.h>
#include <frame_context.h>
*
* @see frame_broker_destroy()
*/
-int frame_broker_create(Ecore_Wl2_Window *wl2_win,
+int frame_broker_create(void *wl2_win,
frame_context_lifecycle_callback_s *callback,
void *user_data,
frame_broker_h *handle);
#include <aul_running_context.h>
#include <screen_connector_launcher_service.h>
#include <uuid/uuid.h>
+#include <Ecore_Wl2.h>
#include "frame_broker.h"
#include "frame_broker_private.h"
frame_context_set_frame(context, NULL);
}
-API int frame_broker_create(Ecore_Wl2_Window *wl2_win,
+API int frame_broker_create(void *wl2_win,
frame_context_lifecycle_callback_s *callback,
void *user_data,
frame_broker_h *handle)
return FRAME_BROKER_ERROR_IO_ERROR;
}
- ret = screen_connector_launcher_service_create(wl2_win, &scls);
+ ret = screen_connector_launcher_service_create(
+ (Ecore_Wl2_Window *)wl2_win, &scls);
if (ret != 0) {
_E("Failed to create scls evas. error(%d)", ret);
frame_broker_destroy(broker);
Name: frame-provider
Description: Support development of the frame provider
Version: @VERSION@
-Requires: screen_connector_shared_widget_launch elementary bundle
+Requires: screen_connector_shared_widget_launch bundle
Libs: -L${libdir} -lframe-provider
Cflags: -I${includedir}
cppflags: -I${includedir}
#include <stdint.h>
-#include <Ecore_Wl2.h>
#include <bundle.h>
#include <frame_provider_types.h>
* @see frame_provider_destroy()
* @see frame_provider_event_callback_s
*/
-int frame_provider_create(Ecore_Wl2_Window *wl2_win,
+int frame_provider_create(void *wl2_win,
frame_provider_event_callback_s *callback,
void *user_data,
frame_provider_h *handle);
provider->callback.hide(provider, provider->user_data);
}
-API int frame_provider_create(Ecore_Wl2_Window *wl2_win,
+API int frame_provider_create(void *wl2_win,
frame_provider_event_callback_s *callback,
void *user_data,
frame_provider_h *handle)
return FRAME_PROVIDER_ERROR_OUT_OF_MEMORY;
}
- ret = screen_connector_shared_widget_launch_create(wl2_win,
- &provider->scswl);
+ ret = screen_connector_shared_widget_launch_create(
+ (Ecore_Wl2_Window *)wl2_win, &provider->scswl);
if (ret != 0) {
_E("Failed to create scswl. error(%d)", ret);
frame_provider_destroy(provider);