*/
typedef enum
{
- EFL_UTIL_NOTIFICATION_LEVEL_1, /**< Default notification level. (Deprecated since $TZ_CFG_VER_24_OR_30$. Use EFL_UTIL_NOTIFICATION_LEVEL_DEFAULT instead.) */
- EFL_UTIL_NOTIFICATION_LEVEL_2, /**< Higher notification level than default. (Deprecated since $TZ_CFG_VER_24_OR_30$. Use EFL_UTIL_NOTIFICATION_LEVEL_MEDIUM instead.) */
- EFL_UTIL_NOTIFICATION_LEVEL_3, /**< The highest notification level. (Deprecated since $TZ_CFG_VER_24_OR_30$. Use EFL_UTIL_NOTIFICATION_LEVEL_TOP instead.) */
EFL_UTIL_NOTIFICATION_LEVEL_NONE = -1, /**< No (reset) notification level. This value makes the window place in normal layer. (@b Since: $TZ_CFG_VER_24_OR_30$) */
EFL_UTIL_NOTIFICATION_LEVEL_DEFAULT = 10, /**< Default notification level. (@b Since: $TZ_CFG_VER_24_OR_30$) */
EFL_UTIL_NOTIFICATION_LEVEL_MEDIUM = 20, /**< Higher notification level than default. (@b Since: $TZ_CFG_VER_24_OR_30$) */
API int efl_util_get_notification_window_level(Evas_Object *window, efl_util_notification_level_e *level);
/**
- * @deprecated Deprecated since 3.0.
- * @brief Called when an error occurs for setting notification window level
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @remarks An application can check error by the return value of efl_util_set_notification_window_level since 3.0.
- * @param[in] window The EFL window
- * @param[in] error_code The error code (#EFL_UTIL_ERROR_PERMISSION_DENIED)
- * @param[in] user_data The user data passed from the callback registration function
- * @see efl_util_set_notification_window_level_error_cb()
- * @see efl_util_unset_notification_window_level_error_cb()
- */
-typedef void (*efl_util_notification_window_level_error_cb)(Evas_Object *window, int error_code, void *user_data);
-
-/**
- * @deprecated Deprecated since 3.0. Use the return value of efl_util_set_notification_window_level() instead.
- * @brief Registers a callback function to be invoked when an error which set the notification level occurs.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @remarks An application can check error by the return value of efl_util_set_notification_window_level since 3.0.
- * @param[in] window The EFL window
- * @param[in] callback The callback function to register
- * @param[in] user_data The user data to be passed to the callback function
- * @return @c 0 on success, otherwise a negative error value
- * @retval #EFL_UTIL_ERROR_NONE Successful
- * @retval #EFL_UTIL_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #EFL_UTIL_ERROR_OUT_OF_MEMORY Out of memory
- * @post efl_util_notification_window_level_error_cb() will be invoked.
- * @see efl_util_unset_notification_window_level_error_cb()
- * @see efl_util_notification_window_level_error_cb()
- */
-API int efl_util_set_notification_window_level_error_cb(Evas_Object *window, efl_util_notification_window_level_error_cb callback, void *user_data) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 3.0. Use the return value of efl_util_set_notification_window_level() instead.
- * @brief Unregisters the callback function.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @remarks An application can check error by the return value of efl_util_set_notification_window_level since 3.0.
- * @param[in] window The EFL window
- * @return @c 0 on success, otherwise a negative error value
- * @retval #EFL_UTIL_ERROR_NONE Successful
- * @retval #EFL_UTIL_ERROR_INVALID_PARAMETER Invalid parameter
- * @see efl_util_set_notification_window_level_error_cb()
- */
-API int efl_util_unset_notification_window_level_error_cb(Evas_Object *window) TIZEN_DEPRECATED_API;
-
-/**
* @brief Sets the alpha window's visual state to opaque state
* @details This API sets the alpha window's visual state to opaque state.
* If the alpha window sets the visual state to the opaque,
API int efl_util_get_window_screen_mode(Evas_Object *window, efl_util_screen_mode_e *mode);
/**
- * @deprecated Deprecated since 3.0.
- * @brief Called when an error occurs for setting window's screen mode
- * @since_tizen 2.4
- * @remarks An application can check error by the return value of efl_util_set_window_screen_mode since 3.0.
- * @param[in] window The EFL window
- * @param[in] error_code The error code (#EFL_UTIL_ERROR_PERMISSION_DENIED)
- * @param[in] user_data The user data passed from the callback registration function
- * @see efl_util_set_window_screen_mode_error_cb()
- * @see efl_util_unset_window_screen_mode_error_cb()
- */
-typedef void (*efl_util_window_screen_mode_error_cb)(Evas_Object *window, int error_code, void *user_data);
-
-/**
- * @deprecated Deprecated since 3.0. Use the return value of efl_util_set_window_screen_mode() instead.
- * @brief Registers a callback function to be invoked when an error which set the screen mode.
- * @since_tizen 2.4
- * @remarks An application can check error by the return value of efl_util_set_window_screen_mode since 3.0.
- * @param[in] window The EFL window
- * @param[in] callback The callback function to register
- * @param[in] user_data The user data to be passed to the callback function
- * @return @c 0 on success, otherwise a negative error value
- * @retval #EFL_UTIL_ERROR_NONE Successful
- * @retval #EFL_UTIL_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #EFL_UTIL_ERROR_OUT_OF_MEMORY Out of memory
- * @post efl_util_window_screen_mode_error_cb() will be invoked.
- * @see efl_util_unset_window_screen_mode_error_cb()
- * @see efl_util_window_screen_mode_error_cb()
- */
-API int efl_util_set_window_screen_mode_error_cb(Evas_Object *window, efl_util_window_screen_mode_error_cb callback, void *user_data) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 3.0. Use the return value of efl_util_set_window_screen_mode() instead.
- * @brief Unregisters the callback function.
- * @since_tizen 2.4
- * @remarks An application can check error by the return value of efl_util_set_window_screen_mode since 3.0.
- * @param[in] window The EFL window
- * @return @c 0 on success, otherwise a negative error value
- * @retval #EFL_UTIL_ERROR_NONE Successful
- * @retval #EFL_UTIL_ERROR_INVALID_PARAMETER Invalid parameter
- * @see efl_util_set_window_screen_mode_error_cb()
- */
-API int efl_util_unset_window_screen_mode_error_cb(Evas_Object *window) TIZEN_DEPRECATED_API;
-
-/**
* @brief Sets the user's preferred brightness of the specified window.
* @details This API is useful when the application need to change the brightness of the screen when it is appeared on the screen.
* If the application sets the brightness 0 to 100 to its window and the application window is shown wholly or partially,