//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
/**
* @class PackageAppInfo
- * @brief This class represents the information of the application in package.
+ * @brief This class represents the information of an application in a package.
*
* @since 2.0
*
* @final This class is not intended for extension.
*
- * The %PackageAppInfo class provides the information of the application in package.
+ * The %PackageAppInfo class provides the information of an application in a package.
*
*/
class _OSP_EXPORT_ PackageAppInfo
virtual ~PackageAppInfo(void);
/**
- * Gets an application ID.
+ * Gets the application ID.
*
* @since 2.0
*
- * @return An application ID
+ * @return The application ID
*/
AppId GetAppId(void) const;
*
* @since 2.0
*
- * @return The name of an application
+ * @return The name of the application
*/
Tizen::Base::String GetAppName(void) const;
*
* @since 2.0
*
- * @return The display name of an application
+ * @return The display name of the application
*/
Tizen::Base::String GetAppDisplayName(void) const;
*
* @since 2.1
*
- * @return The menu icon path of an application, @n
- * else an empty string is returned if there is no value @n
+ * @return The menu icon path of the application, @n
+ * else an empty string is returned if there is no value
*/
Tizen::Base::String GetAppMenuIconPath(void) const;
*
* @since 2.1
*
- * @return The setting icon path of an application, @n
- * else an empty string is returned if there is no value @n
+ * @return The setting icon path of the application, @n
+ * else an empty string is returned if there is no value
*/
Tizen::Base::String GetAppSettingIconPath(void) const;
*
* @since 2.1
*
- * @return The notification icon path of an application, @n
- * else an empty string is returned if there is no value @n
+ * @return The notification icon path of the application, @n
+ * else an empty string is returned if there is no value
*/
Tizen::Base::String GetAppNotificationIconPath(void) const;
/**
* Gets the menu icon of an application.
*
- * @since 2.1
+ * @since 2.1
*
- * @return A pointer to the menu icon of an application, @n
- * else @c null if it fails
+ * @return A pointer to the menu icon of the application, @n
+ * else @c null if it fails
* @exception E_SUCCESS The method is successful.
* @exception E_FILE_NOT_FOUND The menu icon does not exist.
* @exception E_UNSUPPORTED_FORMAT The image file format is not supported.
*
* @since 2.1
*
- * @return A pointer to a map of key(Tizen::Base::String) and value(Tizen::Base::String) pairs of the metadata, @n
+ * @return A pointer to the map of the key(Tizen::Base::String) and value(%Tizen::Base::String) pairs of the metadata, @n
* else @c null if it fails
* @exception E_SUCCESS The method is successful.
* @exception E_SYSTEM The method cannot proceed due to a severe system error.
* @remarks
* - The specific error code can be accessed using the GetLastResult() method.
- * - Application can use the metadata to set app-wide information.
+ * - An application can use the metadata to set the app-wide information.
*/
Tizen::Base::Collection::IMap* GetAppMetadataListN(void) const;
Tizen::Base::Collection::IList* GetAppCategoryListN(void) const;
/**
- * Checks whether an application is visible on the menu.
+ * Checks if an application is visible on the menu.
*
* @since 2.0
*
- * @return @c true if an application is visible on the menu, @n
+ * @return @c true if the application is visible on the menu, @n
* else @c false
- * @remarks If the return value is @c false, it is recommended not to display the application on the menu.
+ * @remarks If the return value is @c false, it is not recommended to display the application on the menu.
*/
bool IsMenuIconVisible(void) const;
/**
- * Checks whether an application is the main application of the package.
+ * Checks if an application is the main application of the package.
*
* @since 2.0
*
- * @return @c true if an application is the main application of the package, @n
+ * @return @c true if the application is the main application of the package, @n
* else @c false
*/
bool IsMainApp(void) const;
friend class _PackageInfoImpl;
friend class _PackageManagerImpl;
friend class _PackageParser;
+ friend class _PackageManagerServer;
}; // PackageAppInfo