X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=inc%2FFAppPkgIPackageInstallationResponseListener.h;h=da8e6dfa65bde6b913f59ad8868d3633f31b13b9;hb=c0d378c5c5962e5218b0dff6396613263915c671;hp=12cbedcbf8156e7c104ec95b6e8f5e4b6c7e86f8;hpb=1fcba4a874d3783b09c8c55d0f9b096faf5ddf3e;p=platform%2Fframework%2Fnative%2Fappfw.git diff --git a/inc/FAppPkgIPackageInstallationResponseListener.h b/inc/FAppPkgIPackageInstallationResponseListener.h index 12cbedc..da8e6df 100755 --- a/inc/FAppPkgIPackageInstallationResponseListener.h +++ b/inc/FAppPkgIPackageInstallationResponseListener.h @@ -1,5 +1,4 @@ // -// Open Service Platform // Copyright (c) 2012 Samsung Electronics Co., Ltd. // // Licensed under the Apache License, Version 2.0 (the License); @@ -38,43 +37,45 @@ namespace Tizen { namespace App { namespace Package * * @since 2.0 * - * The %IPackageInstallationResponseListener interface defines a listener for the asynchronous package installation operation. - * + * The %IPackageInstallationResponseListener interface defines a listener that is notified for events related to installation of a target package. + * The events include installation result and installation progress information. + * Generally, applications such as %Tizen Store use this listener in a package installation step. + * @see PackageManager::InstallPackage() */ class _OSP_EXPORT_ IPackageInstallationResponseListener : virtual public Tizen::Base::Runtime::IEventListener { public: /** - * This polymorphic destructor should be overridden if required. - * This way, the destructors of the derived classes are called when the destructor of this interface is called. - * - * @since 2.0 - * - */ + * This polymorphic destructor should be overridden if required. + * This way, the destructors of the derived classes are called when the destructor of this interface is called. + * + * @since 2.0 + * + */ virtual ~IPackageInstallationResponseListener(void) {} /** - * Called when a package installation is completed. @n + * Called when a package installation is completed. @n * The value of @c installationResult is @c PACKAGE_INSTALLATION_RESULT_SUCCESS if the installation is successful. - * - * @since 2.0 - * - * @param[in] packageId The package ID - * @param[in] installationResult The installation result - * - */ + * + * @since 2.0 + * + * @param[in] packageId The package ID + * @param[in] installationResult The installation result + * + */ virtual void OnPackageInstallationResponseReceived(const PackageId& packageId, PackageInstallationResult installationResult) = 0; /** - * Called when a package installation is in progress. - * - * @since 2.0 - * - * @param[in] packageId The package ID - * @param[in] progress The progress of an installation in percentage - * - */ + * Called when a package installation is in progress. + * + * @since 2.0 + * + * @param[in] packageId The package ID + * @param[in] progress The progress of an installation in percentage + * + */ virtual void OnPackageInstallationInProgressResponseReceived(const PackageId& packageId, int progress) = 0;