* @remarks Must be used only by Inhouse livebox.
* @param[in] filename
* @param[in] for_pd
+ * @privlevel public
+ * @privilege %http://tizen.org/privilege/core/dynamicbox.provider
* @return Handle of desc instance
* @pre Should be loaded by data-provider-slave.
* @post Should be destroyed(flushed) using livebox_desc_close API.
* @details Only if this API is called, the description data will be applied to the content of livebox (or PD).
* @remarks Must be used only by Inhouse livebox.
* @param[in] handle Handle which is created by livebox_desc_open function
+ * @privlevel public
+ * @privilege %http://tizen.org/privilege/core/dynamicbox.provider
* @return int type
* @retval LB_STATUS_SUCCESS If the flushing description data is successfully done
* @retval LB_STATUS_ERROR_INVALID If the given handle is not valid
* @param[in] handle Handle which is created by livebox_desc_open function
* @param[in] id Id string of target object
* @param[in] category Category string that will be used by layout object
+ * @privlevel N/P
* @return int type
* @retval LB_STATUS_ERROR_INVALID Invalid handle
* @retval LB_STATUS_ERROR_MEMORY Memory is not enough to add this block
* @param[in] id Id string of target object
* @param[in] w Width in pixel
* @param[in] h Height in pixel
+ * @privlevel N/P
* @return int type
* @retval LB_STATUS_ERROR_INVALID Invalid argument
* @retval LB_STATUS_ERROR_MEMORY Not enough memory to add a new block
* @param[in] handle Handle which is created by livebox_desc_open function
* @param[in] idx Index of target block
* @param[in] id Id String which will be used by other livebox_desc_XXX functions
+ * @privlevel N/P
* @return int type
* @retval LB_STATUS_SUCCESS Id is successfully updated for given idx of desc block
* @retval LB_STATUS_ERROR_INVALID Invalid argument
* @param[in] part Target part to update with given content(data)
* @param[in] data Content for specified part
* @param[in] option Option for the block. (script: group, image: option, ...)
+ * @privlevel N/P
* @return Index of current description block
* @retval LB_STATUS_ERROR_INVALID Invalid argument
* @retval LB_STATUS_ERROR_MEMORY Not enough memory to add a new desc block
* @details If you discard the added desc block, use this API and the index of the created desc block.
* @param[in] handle Handle which is created by livebox_desc_open function
* @param[in] idx Index of added block, returned from livebox_desc_add_block, livebox_desc_set_size, livebox_desc_set_category, etc
+ * @privlevel N/P
* @return int type
* @retval LB_STATUS_SUCCESS Successfully deleted
* @retval LB_STATUS_ERROR_NOT_EXIST Given index of desc block is not exists
* @details Creating a new Evas_Object using livebox frame buffer.
* @param[in] id Instance Id
* @param[in] is_pd 1 if this object is created for PD or 0 (for LB)
+ * @privlevel public
+ * @privilege %http://tizen.org/privilege/core/dynamicbox.provider
* @return Evas_Object* Evas Object type
* @retval Address Valid evas object
* @retval NULL failed to create
- * @see livebox_set_elm_window
*/
extern Evas_Object *livebox_get_evas_object(const char *id, int is_pd);
* @param[in] title Human readable text for accessitility, summarized text for representing the content of a box.
* @param[in] icon Path of icon image file - alternative image content
* @param[in] name Name of a box - alternative text content
+ * @privlevel N/P
* @return int type
* @retval LB_STATUS_ERROR_MEMORY Out of memory
* @retval LB_STATUS_ERROR_INVALID Invalid parameters
* This function can be used from async callback function to notify the updated content.
* @param[in] id Instance Id which is passed to you via the first parameter of every livebox_XXXX interface functions
* @param[in] is_pd 1 for updating content of PD or 0(for content of LB)
+ * @privlevel N/P
* @return int type
* @retval LB_STATUS_ERROR_MEMORY Not enough memory
* @retval LB_STATUS_ERROR_INVALID Invalid argument
* @brief Replaces "\n" (new line character) with <br> tag.
* @details This utility function is used to replace all NEW LINE CHARACTER ("\n") with <br> tag.
* @param[in] str Source string
+ * @privlevel N/P
* @return char * type
* @retval string Allocted in the heap
* @retval NULL If it fails to replace string
* @param[in] height Height in pixel
* @param[in] handler Event handling callback
* @param[in] data User data for event handling callback
+ * @privlevel platform
+ * @privilege %http://developer.samsung.com/privilege/core/dynamicbox.provider
* @return Buffer handle
* @retval NULL Failed to acquire buffer
* @retval handler Handle object
* @param[in] pixels Size of a pixel in bytes
* @param[in] handler Event handling callback
* @param[in] data User data for event handling callback
+ * @privlevel platform
+ * @privilege %http://developer.samsung.com/privilege/core/dynamicbox.provider
* @return Buffer handle
* @retval NULL Failed to acquire buffer
* @retval handler Handle object
* @details Only if the provider uses pixmap for providing render buffer.
* @remarks Pixmap Id can be destroyed if you call the livebox_release_buffer. Then this pixmap Id is not guaranteed to use.
* @param[in] handle Buffer handle
+ * @privlevel N/P
* @return unsigned log type
* @retval positive Pixmap Id
* @retval 0 Failed to get pixmap Id
/**
* @brief Releases the buffer of livebox.
* @param[in] handle Buffer handle
+ * @privlevel platform
+ * @privilege %http://developer.samsung.com/privilege/core/dynamicbox.provider
* @return int type
* @retval LB_STATUS_ERROR_INVALID Invalid argument
* @retval LB_STATUS_SUCCESS Successfully released
/**
* @brief Releases the buffer of livebox.
* @param[in] handle Buffer handle
+ * @privlevel platform
+ * @privilege %http://developer.samsung.com/privilege/core/dynamicbox.provider
* @return int type
* @retval LB_STATUS_ERROR_INVALID Invalid argument
* @retval LB_STATUS_SUCCESS Successfully released
* @brief Gets the address of S/W render buffer.
* @details If you try to use this, after create_hw_buffer, you will get NULL.
* @param[in] handle Buffer handle
+ * @privlevel platform
+ * @privilege %http://developer.samsung.com/privilege/core/dynamicbox.provider
* @return void* address of the render buffer
* @retval NULL If it falis to get buffer address
* @retval address If it succeed to get the buffer address
/**
* @brief Releases the S/W render buffer.
* @param[in] buffer Address of render buffer
+ * @privlevel platform
+ * @privilege %http://developer.samsung.com/privilege/core/dynamicbox.provider
* @return int type
* @retval LB_STATUS_ERROR_INVALID Invalid handle
* @retval LB_STATUS_SUCCESS Successfully unreference
* @brief Synchronizes the updated buffer.
* @details This is only needed for non-H/W accelerated buffer.
* @param[in] handle Buffer handle
+ * @privlevel platform
+ * @privilege %http://developer.samsung.com/privilege/core/dynamicbox.provider
* @return int type
* @retval LB_STATUS_SUCCESS Successfully sync'd
* @retval LB_STATUS_ERROR_INVALID Invalid argument
/**
* @brief Requests to schedule the update operation to a provider.
* @param[in] id Instance Id which is passed to you via the first parameter of every livebox_XXXX interface functions
+ * @privlevel platform
+ * @privilege %http://developer.samsung.com/privilege/core/dynamicbox.provider
* @return If succes returns 0 or return less than 0
* @retval LB_STATUS_SUCCESS Successfully triggered
* @retval LB_STATUS_ERROR_INVALID Invalid argument
/**
* @brief Checks whether the livebox supports H/W acceleration or not.
* @param[in] handle Buffer handle
+ * @privlevel N/P
* @return int type
* @retval 1 If the buffer handle support the H/W acceleration buffer
* @retval 0 If it doesn not supported
/**
* @brief Creates the H/W accelerated buffer.
* @param[in] handle Buffer handle
+ * @privlevel platform
+ * @privilege %http://developer.samsung.com/privilege/core/dynamicbox.provider
* @return int type
* @retval LB_STATUS_ERROR_ALREADY H/W buffer is already created
* @retval LB_STATUS_ERROR_INVALID Invalid argument
/**
* @brief Destroys the H/W accelerated buffer.
* @param[in] handle Buffer handle
+ * @privlevel platform
+ * @privilege %http://developer.samsung.com/privilege/core/dynamicbox.provider
* @return int type
* @retval LB_STATUS_SUCCESS Successfully destroyed
* @retval LB_STATUS_ERROR_INVALID Invalid argument
/**
* @brief Gets the address of the accelerated H/W buffer.
* @param[in] handle Buffer handle
+ * @privlevel platform
+ * @privilege %http://developer.samsung.com/privilege/core/dynamicbox.provider
* @return void* type
* @retval NULL Failed to get H/W accelerated buffer address
* @retval addr H/W accelerated buffer address
/**
* @brief Get the stride information from the buffer info
* @param[in] handle Buffer handle
+ * @privlevel N/P
* @return int stride size
* @retval positive_value length of stride
* @return LB_STATUS_ERROR_INVALID Invalid parameter
* @brief Pre-processes for rendering content.
* @details This is only needed for accessing H/W accelerated buffer.
* @param[in] handle Buffer handle
+ * @privlevel platform
+ * @privilege %http://developer.samsung.com/privilege/core/dynamicbox.provider
* @return int type
* @retval LB_STATUS_ERROR_INVALID Invalid handle
* @retval LB_STATUS_SUCCESS Successfully done
/**
* @brief Post-processes for rendering content.
* @param[in] handle Buffer handle
+ * @privlevel platform
+ * @privilege %http://developer.samsung.com/privilege/core/dynamicbox.provider
* @return If succes returns 0 or return less than 0
* @retval LB_STATUS_SUCCESS If succeed
* @retval LB_STATUS_ERROR_INVALID Invalid argument
* @param[in] pkgname Livebox Package Id
* @param[in] id Instance Id which is passed to you via the first parameter of every livebox_XXXX interface functions
* @param[in] reason LB_STATUS_SUCCESS(0)
+ * @privlevel platform
+ * @privilege %http://developer.samsung.com/privilege/core/dynamicbox.provider
* @return int type
* @retval LB_STATUS_ERROR_INVALID Invalid parameters
* @retval LB_STATUS_ERROR_MEMORY Out of memory
* @remarks If the viewer doesn't care this request, this will has no effect.
* @param[in] pkgname Livebox Package Id
* @param[in] id Instance Id which is passed to you via the first parameter of every livebox_XXXX interface functions
- * @return int
+ * @privlevel platform
+ * @privilege %http://developer.samsung.com/privilege/core/dynamicbox.provider
+ * @return int type
* @retval LB_STATUS_ERROR_INVALID Invalid parameters
* @retval LB_STATUS_ERROR_MEMORY Out of memory
* @retval LB_STATUS_ERROR_FAULT Failed to send requet
* @remarks If the viewer doesn't care this request, this will has no effect.
* @param[in] pkgname Livebox Package Id
* @param[in] id Instance Id which is passed to you via the first parameter of every livebox_XXXX interface functions
+ * @privlevel platform
+ * @privilege %http://developer.samsung.com/privilege/core/dynamicbox.provider
+ * @return int type
* @retval LB_STATUS_ERROR_INVALID Invalid parameters
* @retval LB_STATUS_ERROR_MEMORY Out of memory
* @retval LB_STATUS_ERROR_FAULT Failed to send requet
* If the system uses the premultiplied alpha for content,
* This function will returns 1.
* @remarks This function only works with the inhouse provider.
+ * @privlevel N/P
* @return status of premultiplied alpha.
* @retval 1 Content rendered with premultiplied alpha.
* @retval 0 Content doesn't rendered with premultiplied alpha.
* @details
* If the UIFW does not support the STRIDE information for rendering frame,
* This function will returns 1, then the livebox will automatically aligning the buffer.
+ * @privlevel N/P
* @return status of auto alignment.
* @retval 1 Content will be automatically aligned by livebox.
* @retval 0 Content will be aligned by UIFW, using stride information.