X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=inc%2FFAppPkgIPackageInstallationEventListener.h;h=dc55cc36469fa04f5db2bc0e1716937b3ed3794c;hb=51be9df64c710d680cf6212c0849ac90e7d76e41;hp=96d33bbf089a78e982bdc2162b7e95d451b6c1f0;hpb=799053363d4c54e77851bce409f9a4f769f42c2f;p=platform%2Fframework%2Fnative%2Fappfw.git diff --git a/inc/FAppPkgIPackageInstallationEventListener.h b/inc/FAppPkgIPackageInstallationEventListener.h index 96d33bb..dc55cc3 100755 --- a/inc/FAppPkgIPackageInstallationEventListener.h +++ b/inc/FAppPkgIPackageInstallationEventListener.h @@ -32,7 +32,7 @@ namespace Tizen { namespace App { namespace Package /** * @enum PackageInstallationResult * - * Defines the result of package installation. + * Defines the result of a package installation. * * @since 2.0 */ @@ -40,26 +40,26 @@ enum PackageInstallationResult { PACKAGE_INSTALLATION_RESULT_SUCCESS = 0, /**< Success */ PACKAGE_INSTALLATION_RESULT_INVALID_PACKAGE, /**< An invalid package */ - PACKAGE_INSTALLATION_RESULT_STORAGE_FULL, /**< The installation target storage is full. */ + PACKAGE_INSTALLATION_RESULT_STORAGE_FULL, /**< The installation's target storage is full */ }; /** * @interface IPackageInstallationEventListener -* @brief This interface defines a listener for a package installation and uninstallation. +* @brief This interface defines a listener for a package's installation and uninstallation. * * @since 2.0 * -* The %IPackageInstallationEventListener interface defines a listener that is notified for events related to installation or uninstallation of packages on a device. +* The %IPackageInstallationEventListener interface defines a listener that is notified about events related to the installation or uninstallation of a package on a device. * The events include installation completion, uninstallation completion, and installation progress. -* This listener is registered with the PackageManager::AddPackageInstallationEventListener() method and unregistered with the PackageManager::RemovePackageInstallationEventListener() method. -* Generally, this listener is used in system applications such as application service that utilizes packages' (un)installation information in a system. +* This listener is registered using the PackageManager::AddPackageInstallationEventListener() method and unregistered using the PackageManager::RemovePackageInstallationEventListener() method. +* Generally, this listener is used in system applications such as an application service that utilizes a package's (un)installation information that is present in the system. */ class _OSP_EXPORT_ IPackageInstallationEventListener : virtual public Tizen::Base::Runtime::IEventListener { public: /** - * This polymorphic destructor should be overridden if required. + * This polymorphic destructor should be overridden if required. @n * This way, the destructors of the derived classes are called when the destructor of this interface is called. * * @since 2.0 @@ -79,13 +79,13 @@ public: /** * Called when a package uninstallation is completed. @n - * The value of @c uninstallationResult is @c true if the uninstallation is successful, else @c false. + * The value of @c uninstallationResult is @c true if the uninstallation is successful, otherwise it is @c false. * * @since 2.0 * - * @param[in] packageId The package ID + * @param[in] packageId The package ID * @param[in] uninstallationResult Set to @c true if the uninstallation is successful, @n - * else @c false + * else @c false */ virtual void OnPackageUninstallationCompleted(const PackageId& packageId, bool uninstallationResult) = 0; @@ -95,7 +95,7 @@ public: * @since 2.0 * * @param[in] packageId The package ID - * @param[in] progress The progress of an installation in percentage + * @param[in] progress The progress of the installation in percentage */ virtual void OnPackageInstallationInProgress(const PackageId& packageId, int progress) = 0;