Deprecate APIs related to tzsh shared widget launch 98/265598/1
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 25 Oct 2021 01:14:41 +0000 (10:14 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Mon, 25 Oct 2021 01:14:41 +0000 (10:14 +0900)
From 6.5, the tzsh_shared_widget_launch is deprecated. The frame-provider is
the wrapper API of the tzsh_shared_widget_launch. And, the
frame_broker_send_launch_request_to_provider() is also deprecated.

Change-Id: I4d3edd7db4e8b7fd23421252f607c02beb20f938
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
frame-broker/include/frame_broker.h
frame-provider/include/frame_provider.h

index c0a8a6b..c275754 100644 (file)
@@ -105,6 +105,7 @@ int frame_broker_send_launch_request(frame_broker_h handle,
                void *user_data);
 
 /**
+ * @deprecated Deprecated since 6.5.
  * @brief Sends the launch request to the provider asynchronously.
  * @since_tizen 5.5
  *
@@ -134,7 +135,7 @@ int frame_broker_send_launch_request_to_provider(frame_broker_h handle,
                app_control_h app_control,
                app_control_result_cb result_cb,
                app_control_reply_cb reply_cb,
-               void *user_data);
+               void *user_data) TIZEN_DEPRECATED_API;
 
 #ifdef __cplusplus
 }
index e34e6ba..605d21b 100644 (file)
@@ -78,6 +78,7 @@ typedef struct {
 } frame_provider_event_callback_s;
 
 /**
+ * @deprecated Deprecated since 6.5.
  * @brief Creates the frame provider handle.
  * @since_tizen 5.5
  * @remarks The @a handle should be released using frame_provider_destroy().
@@ -99,9 +100,10 @@ typedef struct {
 int frame_provider_create(void *wl2_win,
                frame_provider_event_callback_s *callback,
                void *user_data,
-               frame_provider_h *handle);
+               frame_provider_h *handle) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 6.5.
  * @brief Destroyes the frame provider handle.
  * @since_tizen 5.5
  *
@@ -112,9 +114,10 @@ int frame_provider_create(void *wl2_win,
  * @retval #FRAME_ERROR_NONE Successful
  * @retval #FRAME_ERROR_INVALID_PARAMETER Invalid parameter
  */
-int frame_provider_destroy(frame_provider_h handle);
+int frame_provider_destroy(frame_provider_h handle) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 6.5.
  * @brief Notifies that the object is prepared to show.
  * @since_tizen 5.5
  *
@@ -129,9 +132,10 @@ int frame_provider_destroy(frame_provider_h handle);
  * @retval #FRAME_ERROR_IO_ERROR I/O error
  */
 int frame_provider_notify_show_status(frame_provider_h handle,
-               bundle *extra_data);
+               bundle *extra_data) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 6.5.
  * @brief Notifies that the object is prepared to hide.
  * @since_tizen 5.5
  *
@@ -146,7 +150,7 @@ int frame_provider_notify_show_status(frame_provider_h handle,
  * @retval #FRAME_ERROR_IO_ERROR I/O error
  */
 int frame_provider_notify_hide_status(frame_provider_h handle,
-               bundle *extra_data);
+               bundle *extra_data) TIZEN_DEPRECATED_API;
 
 #ifdef __cplusplus
 }