X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=inc%2FFSecAccessController.h;h=3d66c656a61e09b62d8f0185c3a5aa899c31f628;hb=f26b0f83d7c103adbd5468d05b5b89772563041f;hp=2be764c7b53245161039e23fa19e9f358d238c74;hpb=27f1388665067f69d5eb64e0cae6bb5f4250beec;p=platform%2Fframework%2Fnative%2Fappfw.git diff --git a/inc/FSecAccessController.h b/inc/FSecAccessController.h index 2be764c..3d66c65 100644 --- a/inc/FSecAccessController.h +++ b/inc/FSecAccessController.h @@ -54,7 +54,7 @@ public: * @exception E_DATA_NOT_FOUND The privilege information does not exist. * @exception E_OUT_OF_MEMORY The memory is insufficient. * @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method. - * @exception E_USER_NOT_CONSENTED The user blocks an application from calling the method. + * @exception E_USER_NOT_CONSENTED The user blocks an application from calling this method. * @exception E_SYSTEM An unexpected system error has occurred. */ static result CheckPrivilege(int privilege); @@ -66,27 +66,30 @@ public: * @return An error code * @param[in] privilege A string of the specified privilege * @exception E_SUCCESS The method is successful and the request is granted. - * @exception E_INVALID_ARG The specified @c privilege is invalid privilege string. + * @exception E_INVALID_ARG The specified @c privilege is an invalid privilege string. * @exception E_DATA_NOT_FOUND The privilege information does not exist. - * @exception E_PRIVILEGE_DENIED The application does not have the privilege to call the method. - * @exception E_USER_NOT_CONSENTED The user blocks an application from calling the method. + * @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method. + * @exception E_USER_NOT_CONSENTED The user blocks an application from calling this method. * @exception E_SYSTEM The method cannot proceed due to a severe system error. */ static result CheckPrivilege(const Tizen::Base::String& privilege); /** - * Checks whether the client application which has @c appId has a privilege to invoke the privileged API. + * Checks whether the client application which has @c packageId has a privilege to invoke the privileged API. * * @since 2.1 + * @privlevel partner + * @privilege %http://tizen.org/privilege/privilegemanager.read + * * @return An error code * @param[in] packageId The package ID * @param[in] privilege A string of the specified privilege * @exception E_SUCCESS The method is successful and the request is granted. - * @exception E_INVALID_ARG The specified @c privilege is invalid privilege string. + * @exception E_INVALID_ARG The specified @c privilege is an invalid privilege string. * @exception E_DATA_NOT_FOUND The privilege information does not exist. - * @exception E_PRIVILEGE_DENIED The application does not have the privilege to call the method. - * @exception E_USER_NOT_CONSENTED The user blocks an application from calling the method. + * @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method. + * @exception E_USER_NOT_CONSENTED The user blocks an application from calling this method. * @exception E_SYSTEM The method cannot proceed due to a severe system error. */ static result CheckPrivilege(const Tizen::App::PackageId& packageId, const Tizen::Base::String& privilege); @@ -109,10 +112,11 @@ private: AccessController(const AccessController& rhs); /** - * The implementation of this copy assignment operator is intentionally blank and delcared as private to prohibit copying of objects. + * The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects. */ AccessController& operator =(const AccessController& rhs); + static void InitIpcClient(void); static void Initialize(void); private: