Revert "Deprecated component-based-app efl api" 46/321246/1
authorChanggyu Choi <changyu.choi@samsung.com>
Tue, 18 Mar 2025 01:19:24 +0000 (10:19 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Tue, 18 Mar 2025 01:20:03 +0000 (10:20 +0900)
This reverts commit 01ae762a353a3582d6e89b648b434e0b194597b3.

Change-Id: I1530657109018c3547e776d8769ba6e712cb13ad

component_based/efl_base/api/frame_component.h
component_based/efl_base/stub.cc
doc/appfw_component_based_application_doc.h

index 4e0b97fafac740fa1d5ff3d3e867a431314a0964..e9c9f02e959819714746f2c1841afc5cfcdca7d7 100644 (file)
@@ -33,7 +33,6 @@ extern "C" {
 
 
 /**
- * @deprecated Deprecated since 10.0.
  * @brief Called when the frame component instance is created.
  * @details The returned Evas_Object MUST NOT be released using evas_object_del(). The platform frees the window when the frame component instance is destroyed.
  * @since_tizen 5.5
@@ -51,7 +50,6 @@ typedef Evas_Object *(*frame_component_create_cb)(
                void *user_data);
 
 /**
- * @deprecated Deprecated since 10.0.
  * @brief Called when the frame component instance is started.
  * @since_tizen 5.5
  * @remarks The @a context should not be released. The @a context can be used only in the callback.
@@ -70,7 +68,6 @@ typedef void (*frame_component_start_cb)(
                void *user_data);
 
 /**
- * @deprecated Deprecated since 10.0.
  * @brief Called when the frame component becomes visible.
  * @since_tizen 5.5
  * @remarks The @a context should not be released. The @a context can be used only in the callback.
@@ -83,7 +80,6 @@ typedef void (*frame_component_resume_cb)(
                void *user_data);
 
 /**
- * @deprecated Deprecated since 10.0.
  * @brief Called when the frame component becomes invisible.
  * @since_tizen 5.5
  * @remarks The @a context should not be released. The @a context can be used only in the callback.
@@ -96,7 +92,6 @@ typedef void (*frame_component_pause_cb)(
                void *user_data);
 
 /**
- * @deprecated Deprecated since 10.0.
  * @brief Called before the frame component instance is stopped.
  * @since_tizen 5.5
  * @remarks The @a context should not be released. The @a context can be used only in the callback.
@@ -109,7 +104,6 @@ typedef void (*frame_component_stop_cb)(
                void *user_data);
 
 /**
- * @deprecated Deprecated since 10.0.
  * @brief Called before the frame component instance is destroyed.
  * @since_tizen 5.5
  * @remarks The @a context should not be released. The @a context can be used only in the callback.
@@ -122,7 +116,6 @@ typedef void (*frame_component_destroy_cb)(
                void *user_data);
 
 /**
- * @deprecated Deprecated since 10.0.
  * @brief Called after the content information of the frame component instance is restored.
  * @since_tizen 5.5
  * @remarks The @a content should not be released. The @a content can be used only in the callback.
@@ -138,7 +131,6 @@ typedef void (*frame_component_restore_content_cb)(
                void *user_data);
 
 /**
- * @deprecated Deprecated since 10.0.
  * @brief Called before the content information of the frame component instance is saved.
  * @since_tizen 5.5
  * @remarks The @a content should not be released. The @a content can be used only in the callback.
@@ -154,7 +146,6 @@ typedef void (*frame_component_save_content_cb)(
                void *user_data);
 
 /**
- * @deprecated Deprecated since 10.0.
  * @brief Called when another application sends a launch request to the component.
  * @details Before calling frame_component_start_cb(), this callback function is called.
  * @since_tizen 5.5
@@ -179,7 +170,6 @@ typedef void (*frame_component_action_cb)(
                void *user_data);
 
 /**
- * @deprecated Deprecated since 10.0.
  * @brief Called when the device orientation is changed.
  * @since_tizen 5.5
  * @remarks The @a context should not be released. The @a context can be used only in the callback.
@@ -194,7 +184,6 @@ typedef void (*frame_component_device_orientation_changed_cb)(
                void *user_data);
 
 /**
- * @deprecated Deprecated since 10.0.
  * @brief Called when the system language is changed.
  * @since_tizen 5.5
  * @remarks The @a context should not be released. The @a context can be used only in the callback.
@@ -210,7 +199,6 @@ typedef void (*frame_component_language_changed_cb)(
                void *user_data);
 
 /**
- * @deprecated Deprecated since 10.0.
  * @brief Called when the system region format is changed.
  * @since_tizen 5.5
  * @remarks The @a context should not be released. The @a context can be used only in the callback.
@@ -226,7 +214,6 @@ typedef void (*frame_component_region_format_changed_cb)(
                void *user_data);
 
 /**
- * @deprecated Deprecated since 10.0.
  * @brief Called when the battery status is changed.
  * @since_tizen 5.5
  * @remarks The @a context should not be released. The @a context can be used only in the callback.
@@ -241,7 +228,6 @@ typedef void (*frame_component_low_battery_cb)(
                void *user_data);
 
 /**
- * @deprecated Deprecated since 10.0.
  * @brief Called when the memory status is changed.
  * @since_tizen 5.5
  * @remarks The @a context should not be released. The @a context can be used only in the callback.
@@ -256,7 +242,6 @@ typedef void (*frame_component_low_memory_cb)(
                void *user_data);
 
 /**
- * @deprecated Deprecated since 10.0.
  * @brief Called when the suspended state of the frame component is changed.
  * @since_tizen 5.5
  * @remarks The @a context should not be released. The @a context can be used only in the callback.
@@ -271,7 +256,6 @@ typedef void (*frame_component_suspended_state_changed_cb)(
                void *user_data);
 
 /**
- * @deprecated Deprecated since 10.0.
  * @brief Called when the time zone of the frame component is changed.
  * @details An application can obtain a changed time zone (e.g., "+9:00") and a time zone id (e.g., "Asia/Seoul").
  * @since_tizen 8.0
@@ -290,7 +274,6 @@ typedef void (*frame_component_time_zone_changed_cb)(
                void *user_data);
 
 /**
- * @deprecated Deprecated since 10.0.
  * @brief The structure type containing the set of callback functions for lifecycle of a frame component instance.
  * @since_tizen 5.5
  */
@@ -314,7 +297,6 @@ typedef struct {
 } frame_component_lifecycle_callback_s;
 
 /**
- * @deprecated Deprecated since 10.0.
  * @brief Gets the display status.
  * @since_tizen 5.5
  *
@@ -329,10 +311,9 @@ typedef struct {
  * @retval #COMPONENT_ERROR_INVALID_CONTEXT The display is in an unknown state.
  */
 int frame_component_get_display_status(component_h context,
-               component_display_status_e *display_status) TIZEN_DEPRECATED_API;
+               component_display_status_e *display_status);
 
 /**
- * @deprecated Deprecated since 10.0.
  * @brief Gets an Evas object for the frame component.
  * @since_tizen 5.5
  * @remarks The @c window MUST NOT be released using evas_object_del().
@@ -347,7 +328,7 @@ int frame_component_get_display_status(component_h context,
  * @retval #COMPONENT_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int frame_component_get_window(component_h context,
-               Evas_Object **window) TIZEN_DEPRECATED_API;
+               Evas_Object **window);
 
 
 /**
index 4c205d23fcffe3ddbad3517e1bd648babeda50a0..e3c3503456757e168c03f0c0af8d882a0658a7ce 100644 (file)
@@ -553,7 +553,6 @@ component_based_app_add_service_component(
 
 extern "C" EXPORT_API int frame_component_get_display_status(
     component_h context, component_display_status_e* display_status) {
-  LOGW("DEPRECATION WARNING: %s() is deprecated and will be removed from future release.", __FUNCTION__);
   if (context == nullptr || display_status == nullptr) {
     LOGE("Invalid parameter");
     return COMPONENT_ERROR_INVALID_PARAMETER;
@@ -583,7 +582,6 @@ extern "C" EXPORT_API int frame_component_get_display_status(
 extern "C" EXPORT_API int frame_component_get_window(
     component_h context,
     Evas_Object** window) {
-  LOGW("DEPRECATION WARNING: %s() is deprecated and will be removed from future release.", __FUNCTION__);
   if (context == nullptr || window == nullptr) {
     LOGE("Invalid parameter");
     return COMPONENT_ERROR_INVALID_PARAMETER;
index 0526eb33e8f7b36a9d5780ac1c4cfdd104065157..9ad45bc51316c27fa9f97f3124b43daea431c23d 100755 (executable)
@@ -67,7 +67,7 @@
  */
 
 /**
- * @defgroup COMPONENT_BASED_FRAME_COMPONENT_MODULE Frame Component (Deprecated)
+ * @defgroup COMPONENT_BASED_FRAME_COMPONENT_MODULE Frame Component
  * @ingroup COMPONENT_BASED_APPLICATION_MODULE
  * @brief The @ref COMPONENT_BASED_FRAME_COMPONENT_MODULE API provides functions for handling Frame Component state changes or system events, and get information about the Frame Component
  *