From: Changgyu Choi Date: Fri, 16 Feb 2024 04:34:53 +0000 (+0900) Subject: Remove conditional statements for Moible/Wearable profile X-Git-Tag: accepted/tizen/unified/x/20240305.021756~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5fbad97aa3f50655582902cf69662931d44ed0d8;p=platform%2Fcore%2Fapi%2Fapp-manager.git Remove conditional statements for Moible/Wearable profile Change-Id: I19f2a94ad95b4893357225e77d90535b3f5fcc4c Signed-off-by: Changgyu Choi --- diff --git a/include/app_context.h b/include/app_context.h index 6f3ddf1..be7905d 100644 --- a/include/app_context.h +++ b/include/app_context.h @@ -37,14 +37,14 @@ extern "C" { /** * @brief Application context handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct app_context_s *app_context_h; /** * @brief Enumeration for Application Context Event. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 */ typedef enum { APP_CONTEXT_EVENT_LAUNCHED, /**< The application is launched */ @@ -67,7 +67,7 @@ typedef enum { /** * @brief Destroys the application context handle and releases all its resources. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] app_context The application context handle * @return @c 0 on success, * otherwise a negative error value @@ -82,7 +82,7 @@ int app_context_destroy(app_context_h app_context); /** * @deprecated Deprecated since 2.3.1. Use app_context_get_app_id() instead. * @brief Gets the application ID with the given application context. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks You must release @a package using free(). * @param[in] app_context The application context * @param[out] package The application ID of the given application context @@ -97,7 +97,7 @@ int app_context_get_package(app_context_h app_context, char **package) TIZEN_DEP /** * @brief Gets the application ID with the given application context. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks You must release @a app_id using free(). * @param[in] app_context The application context * @param[out] app_id The application ID of the given application context @@ -112,7 +112,7 @@ int app_context_get_app_id(app_context_h app_context, char **app_id); /** * @brief Gets the process ID with the given application context. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] app_context The application context * @param[out] pid The process ID of the given application context * @return @c 0 on success, @@ -155,7 +155,7 @@ int app_context_get_app_state(app_context_h app_context, app_state_e *state); /** * @brief Checks whether the application with the given application context is terminated. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] app_context The application context * @param[out] terminated @c true if the application is terminated, \n * otherwise @c false if the application is running @@ -169,7 +169,7 @@ int app_context_is_terminated(app_context_h app_context, bool *terminated); /** * @brief Checks whether two application contexts are equal. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] lhs The first application context to compare * @param[in] rhs The second application context to compare * @param[out] equal @c true if the application contexts are equal, \n @@ -197,7 +197,7 @@ int app_context_is_sub_app(app_context_h app_context, bool *is_sub_app); /** * @brief Clones the application context handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks The @a clone should be released using app_context_destroy() * @param[out] clone The newly created application context handle, if cloning is successful * @param[in] app_context The application context diff --git a/include/app_info.h b/include/app_info.h index 28d8db9..f12ff22 100644 --- a/include/app_info.h +++ b/include/app_info.h @@ -35,19 +35,19 @@ extern "C" { /** * @brief Definition for string property for filtering based on app info: String property for filtering packages with app id. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define PACKAGE_INFO_PROP_APP_ID "PACKAGE_INFO_PROP_APP_ID" /** * @brief Definition for string property for filtering based on app info: String property for filtering packages with app type. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define PACKAGE_INFO_PROP_APP_TYPE "PACKAGE_INFO_PROP_APP_TYPE" /** * @brief Definition for string property for filtering based on app info: String property for filtering packages with app category. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define PACKAGE_INFO_PROP_APP_CATEGORY "PACKAGE_INFO_PROP_APP_CATEGORY" @@ -60,13 +60,13 @@ extern "C" { /** * @brief Definition for boolean property for filtering based on app info: Boolean property for filtering whether the package is nodisplay or not based on package info. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define PACKAGE_INFO_PROP_APP_NODISPLAY "PACKAGE_INFO_PROP_APP_NODISPLAY" /** * @brief Definition for boolean property for filtering based on app info: Boolean property for filtering whether the package has the authority to manage task or not based on package info. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define PACKAGE_INFO_PROP_APP_TASKMANAGE "PACKAGE_INFO_PROP_APP_TASKMANAGE" @@ -106,25 +106,25 @@ typedef enum { /** * @brief Application information handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct app_info_s *app_info_h; /** * @brief Application filter handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct app_info_filter_s *app_info_filter_h; /** * @brief Application metadata filter handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct app_info_metadata_filter_s *app_info_metadata_filter_h; /** * @brief Called to get the application information once for each installed application. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] app_info The application information of each installed application * @param[in] user_data The user data passed from the foreach function * @return @c true to continue with the next iteration of the loop, \n @@ -136,7 +136,7 @@ typedef bool (*app_info_filter_cb) (app_info_h app_info, void *user_data); /** * @brief Called to get application metadata in app_info_foreach_metadata(). - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] metadata_key The key of the metadata * @param[in] metadata_value The value of the metadata * @param[in] user_data The user data passed to app_info_foreach_metadata() @@ -181,7 +181,7 @@ typedef bool (*app_info_res_control_cb) (const char *res_type, /** * @brief Creates the application information handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks The @a app_info should be released using app_info_destroy(). * @param[in] app_id The application ID * @param[out] app_info The application information handle @@ -198,7 +198,7 @@ int app_info_create(const char *app_id, app_info_h *app_info); /** * @brief Destroys the application information handle and releases all its resources. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] app_info The application information handle * @return @c 0 on success, * otherwise a negative error value @@ -211,7 +211,7 @@ int app_info_destroy(app_info_h app_info); /** * @brief Gets the application ID with the given application context. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks You must release @a app_id using free(). * @param[in] app_info The application information * @param[out] app_id The application ID of the given application context @@ -225,7 +225,7 @@ int app_info_get_app_id(app_info_h app_info, char **app_id); /** * @brief Gets the executable path of the application. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks You must release @a exec path using free(). * @param[in] app_info The application information * @param[out] exec The executable path of the application @@ -239,7 +239,7 @@ int app_info_get_exec(app_info_h app_info, char **exec); /** * @brief Gets the label of the application. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks You must release @a label using free(). * @param[in] app_info The application information * @param[out] label The label of the application @@ -253,7 +253,7 @@ int app_info_get_label(app_info_h app_info, char **label); /** * @brief Gets the localed name of the application. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks You must release localed name using free(). * @param[in] app_id The application ID * @param[in] locale The locale information @@ -268,7 +268,7 @@ int app_info_get_localed_label(const char *app_id, const char *locale, char **la /** * @brief Gets the absolute path to the icon image. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks You must release @a path using free(). * @param[in] app_info The application information * @param[out] path The absolute path to the icon @@ -282,7 +282,7 @@ int app_info_get_icon(app_info_h app_info, char **path); /** * @brief Gets the package name. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks You must release @a package name using free(). * @param[in] app_info The application information * @param[out] package The package name @@ -296,7 +296,7 @@ int app_info_get_package(app_info_h app_info, char **package); /** * @brief Gets the package type name. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks You must release package @a type name using free(). * @param[in] app_info The application information * @param[out] type The package type @@ -325,7 +325,7 @@ int app_info_get_app_component_type(app_info_h app_info, app_info_app_component_ /** * @brief Gets the list of metadata for a particular application. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] app_info The application information * @param[in] callback The callback function for list * @param[in] user_data The user data to be passed to callback function @@ -339,7 +339,7 @@ int app_info_foreach_metadata(app_info_h app_info, app_info_metadata_cb callback /** * @brief Checks whether application information is nodisplay. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] app_info The application information * @param[out] nodisplay @c true if the application is nodisplay, \n * otherwise @c false @@ -352,7 +352,7 @@ int app_info_is_nodisplay(app_info_h app_info, bool *nodisplay); /** * @brief Checks whether two application information are equal. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] lhs The first application information to compare * @param[in] rhs The second application information to compare * @param[out] equal @c true if the application information are equal, \n @@ -366,7 +366,7 @@ int app_info_is_equal(app_info_h lhs, app_info_h rhs, bool *equal); /** * @brief Checks whether application is enabled. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] app_info The application information * @param[out] enabled @c true if the application is enabled, \n * otherwise @c false @@ -379,7 +379,7 @@ int app_info_is_enabled(app_info_h app_info, bool *enabled); /** * @brief Checks whether application is launched on booting time. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] app_info The application information * @param[out] onboot @c true if the application is launched on booting time, \n * otherwise @c false @@ -392,7 +392,7 @@ int app_info_is_onboot(app_info_h app_info, bool *onboot); /** * @brief Checks whether application is preloaded. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] app_info The application information * @param[out] preload @c true if the application is preloaded, \n * otherwise @c false @@ -418,7 +418,7 @@ int app_info_is_support_ambient(app_info_h app_info, bool *ambient_supported); /** * @brief Clones the application information handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks The @a clone should be released using app_info_destroy(). * @param[out] clone A newly created application information handle, if successfully cloned * @param[in] app_info The application information @@ -453,7 +453,7 @@ int app_info_foreach_category(app_info_h app_info, app_info_category_cb callback /** * @brief Creates the application information filter handle from DB. * All filter properties will be ANDed. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks The @a handle should be released using app_info_filter_destroy(). * @param[out] handle The pointer to the application info filter handle * @return @c 0 on success, @@ -467,7 +467,7 @@ int app_info_filter_create(app_info_filter_h *handle); /** * @brief Destroys the application information filter handle, freeing up all the resources. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] handle The pointer to the application info filter handle * @return @c 0 on success, * otherwise a negative error value @@ -479,7 +479,7 @@ int app_info_filter_destroy(app_info_filter_h handle); /** * @brief Adds a boolean filter property to the filter handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] handle The pointer to the application info filter handle * @param[in] property The integer property name * @param[in] value The value corresponding to the property @@ -493,7 +493,7 @@ int app_info_filter_add_bool(app_info_filter_h handle, const char *property, con /** * @brief Adds a string filter property to the filter handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] handle The pointer to the application info filter handle * @param[in] property The integer property name * @param[in] value The value corresponding to the property @@ -507,7 +507,7 @@ int app_info_filter_add_string(app_info_filter_h handle, const char *property, c /** * @brief Gets the count of filtered apps. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] handle The pointer to the application info filter handle * @param[out] count The pointer to the variable for count * @return @c 0 on success, @@ -520,7 +520,7 @@ int app_info_filter_count_appinfo(app_info_filter_h handle, int *count); /** * @brief Executes the user supplied callback function for each application that satisfy the filter conditions. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] handle The pointer to the application info filter handle * @param[in] callback The callback function * @param[in] user_data The user data to be passed to the callback function @@ -534,7 +534,7 @@ int app_info_filter_foreach_appinfo(app_info_filter_h handle, app_info_filter_cb /** * @brief Creates the application's metadata information filter handle from DB. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks The @a handle should be released using app_info_metadata_filter_destroy(). * @param[out] handle The pointer to the application metadata info filter handle * @return @c 0 on success, @@ -548,7 +548,7 @@ int app_info_metadata_filter_create(app_info_metadata_filter_h *handle); /** * @brief Destroys the application's metadata information filter handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] handle The pointer to the application info filter handle * @return @c 0 on success, * otherwise a negative error value @@ -562,7 +562,7 @@ int app_info_metadata_filter_destroy(app_info_metadata_filter_h handle); * @brief Adds filter condition for the query API. * @details The query will search the entire application metadata information collected from * the manifest file of all the installed packages. You can specify value as @c NULL to search based on key only. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] handle The pointer to the application metadata info filter handle * @param[in] key The pointer to metadata key * @param[in] value The pointer to metadata value @@ -579,7 +579,7 @@ int app_info_metadata_filter_add(app_info_metadata_filter_h handle, const char * * @details The query will search the entire application metadata information collected from * the manifest file of all the installed packages. For each application returned by the query, the callback will be called. If callback returns * negative value, no more callbacks will be called and API will return. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] handle The pointer to the application metadata info filter handle * @param[in] callback The function pointer to callback * @param[in] user_data The pointer to user data diff --git a/include/app_manager.h b/include/app_manager.h index cf41218..e1ad36a 100644 --- a/include/app_manager.h +++ b/include/app_manager.h @@ -37,7 +37,7 @@ extern "C" { /** * @brief Enumerations for Application Manager Error. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef enum { APP_MANAGER_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */ @@ -113,7 +113,7 @@ typedef void (*app_manager_event_cb) ( /** * @brief Called when an application is launched or terminated. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @remarks Please don't try to free the handle of app_context, because it is managed by the framework. * @param[in] app_context The application context of the application launched or terminated * @param[in] event The application context event @@ -126,7 +126,7 @@ typedef void (*app_manager_app_context_event_cb) (app_context_h app_context, app /** * @brief Called to get the application context once for each running application. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] app_context The application context of each running application * @param[in] user_data The user data passed from the foreach function * @return @c true to continue with the next iteration of the loop, \n @@ -138,7 +138,7 @@ typedef bool (*app_manager_app_context_cb) (app_context_h app_context, void *use /** * @brief Called to get the application information once for each installed application. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] app_info The application information of each installed application * @param[in] user_data The user data passed from the foreach function * @return @c true to continue with the next iteration of the loop, \n @@ -150,7 +150,7 @@ typedef bool (*app_manager_app_info_cb) (app_info_h app_info, void *user_data); /** * @brief Registers a callback function to be invoked when the applications get launched or terminated. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @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, @@ -167,14 +167,14 @@ int app_manager_set_app_context_event_cb(app_manager_app_context_event_cb callba /** * @brief Unregisters the callback function. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @see app_manager_app_context_event_cb() */ void app_manager_unset_app_context_event_cb(void); /** * @brief Retrieves all application contexts of running applications. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks In case of ui applications, sub apps in application groups will not be shown. * @param[in] callback The callback function to invoke * @param[in] user_data The user data to be passed to the callback function @@ -209,7 +209,7 @@ int app_manager_foreach_running_app_context(app_manager_app_context_cb callback, /** * @brief Gets the application context for the given ID of the application. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks This function returns #APP_MANAGER_ERROR_NO_SUCH_APP if the application with the given application ID is not running. \n * You must release @a app_context using app_context_destroy(). * @param[in] app_id The ID of the application @@ -225,7 +225,7 @@ int app_manager_get_app_context(const char *app_id, app_context_h *app_context); /** * @brief Gets the ID of the application for the given process ID. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks This function returns #APP_MANAGER_ERROR_NO_SUCH_APP if the application with the given process ID is not valid. \n * You must release @a app_id using free(). * @param[in] pid The process ID of the application @@ -240,7 +240,7 @@ int app_manager_get_app_id(pid_t pid, char **app_id); /** * @brief Checks whether the application with the given ID of the application is running. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] app_id The ID of the application * @param[out] running @c true if the application is running, \n * otherwise @c false if not running @@ -253,7 +253,7 @@ int app_manager_is_running(const char *app_id, bool *running); /** * @brief Resumes the application. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/appmanager.launch * @param[in] app_context The application context @@ -270,7 +270,7 @@ int app_manager_resume_app(app_context_h app_context); /** * @brief Terminates the back ground application.\n * UI applications that are in paused state or some service applications could be required to terminate by this function. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/appmanager.kill.bgapp * @remarks This function returns after it just sends a request for terminating a background application.\n @@ -287,7 +287,7 @@ int app_manager_request_terminate_bg_app(app_context_h app_context); /** * @brief Retrieves all installed applications information. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] callback The callback function to invoke * @param[in] user_data The user data to be passed to the callback function * @return @c 0 on success, @@ -301,7 +301,7 @@ int app_manager_foreach_app_info(app_manager_app_info_cb callback, void *user_da /** * @brief Gets the application information for the given application ID. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks You must release @a app_info using app_info_destroy(). * @param[in] app_id The ID of the application * @param[out] app_info The application information for the given application ID @@ -318,7 +318,7 @@ int app_manager_get_app_info(const char *app_id, app_info_h *app_info); * @brief Gets the absolute path to the shared data directory of the application specified * with an application ID. * @details An application can only read the files of other application's shared data directory. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks The specified @a path should be released with free().\n * Since Tizen 3.0, the shared/data directory is supported only for the applications that declare the %http://tizen.org/privilege/appdir.shareddata privilege. * The function will fail with #APP_MANAGER_ERROR_NOT_SUPPORTED if the privilege is not declared. @@ -340,7 +340,7 @@ int app_manager_get_shared_data_path(const char *app_id, char **path); * @brief Gets the absolute path to the shared resource directory of the application specified * with an application ID. * @details An application can only read the files of other application's shared resource directory. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks The specified @a path should be released with free(). * * @param[in] app_id The ID of the application @@ -360,7 +360,7 @@ int app_manager_get_shared_resource_path(const char *app_id, char **path); * with an application ID. * @details An application signed with the same certificate can read and write the files of * other application's shared trusted directory. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks The specified @a path should be released with free(). * * @param[in] app_id The ID of the application @@ -376,11 +376,11 @@ int app_manager_get_shared_resource_path(const char *app_id, char **path); int app_manager_get_shared_trusted_path(const char *app_id, char **path); /** - * @deprecated Deprecated since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif. + * @deprecated Deprecated since 2.4. * @brief Gets the absolute path to the shared data directory of the application specified * with an application ID. * @details An application can only read the files of other application's shared data directory. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks The specified @a path should be released with free(). * @remarks To access the path returned by this function may not work as intended in certain devices due to some implementation issues. * diff --git a/include/app_manager_extension.h b/include/app_manager_extension.h index d7d96f7..4515431 100644 --- a/include/app_manager_extension.h +++ b/include/app_manager_extension.h @@ -56,7 +56,7 @@ typedef void (*app_manager_app_context_status_cb)(app_context_h app_context, app /** * @brief Terminates the application. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/appmanager.kill * @param[in] app_context The application context