X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=inc%2FFSysSettingInfo.h;h=ee79f580918e157fe598ecd571fe37c15154c424;hb=20f9879ef9e17988be09d9c907f0f1bf08e37bb2;hp=f8048a5cb7758f23f023c00c0663b1b5050de9a6;hpb=2f8beb18897a92ca8476cf8dfb6b710f26da1ca3;p=platform%2Fframework%2Fnative%2Fappfw.git
diff --git a/inc/FSysSettingInfo.h b/inc/FSysSettingInfo.h
index f8048a5..ee79f58 100644
--- a/inc/FSysSettingInfo.h
+++ b/inc/FSysSettingInfo.h
@@ -211,7 +211,7 @@ public:
*
* @since 2.0
*
- * @privilege public
+ * @privlevel public
* @privilege %http://tizen.org/privilege/setting
*
* @return An error code
@@ -231,7 +231,7 @@ public:
*
* @since 2.0
*
- * @privilege public
+ * @privlevel public
* @privilege %http://tizen.org/privilege/setting
*
* @return An error code
@@ -251,7 +251,7 @@ public:
*
* @since 2.0
*
- * @privilege public
+ * @privlevel public
* @privilege %http://tizen.org/privilege/setting
*
* @return An error code
@@ -271,7 +271,7 @@ public:
*
* @since 2.0
*
- * @privilege public
+ * @privlevel public
* @privilege %http://tizen.org/privilege/setting
*
* @return An error code
@@ -289,7 +289,7 @@ public:
*
* @since 2.0
*
- * @privilege public
+ * @privlevel public
* @privilege %http://tizen.org/privilege/setting
*
* @return An error code
@@ -306,7 +306,7 @@ public:
*
* @since 2.0
*
- * @privilege public
+ * @privlevel public
* @privilege %http://tizen.org/privilege/setting
*
* @return An error code
@@ -355,7 +355,8 @@ public:
* @since 2.0
*
* @privlevel platform
- * @privilege %http://tizen.org/privilege/systemsetting.read
+ * @privilege %http://tizen.org/privilege/settingmanager.read @n
+ * (%http://tizen.org/privilege/systemsetting.read is deprecated.)
*
* @return An error code
* @param[in] key The key name of the setting information
@@ -374,7 +375,8 @@ public:
* @since 2.0
*
* @privlevel platform
- * @privilege %http://tizen.org/privilege/systemsetting.write
+ * @privilege %http://tizen.org/privilege/settingmanager.write @n
+ * (%http://tizen.org/privilege/systemsetting.write is deprecated.)
*
* @return An error code
* @param[in] key The key name of the setting information
@@ -393,7 +395,8 @@ public:
*
* @since 2.0
* @privlevel platform
- * @privilege %http://tizen.org/privilege/systemsetting.write
+ * @privilege %http://tizen.org/privilege/settingmanager.write @n
+ * (%http://tizen.org/privilege/systemsetting.write is deprecated.)
*
* @return An error code
* @param[in] key The key name of the setting information
@@ -404,17 +407,45 @@ public:
* @exception E_INVALID_ARG The specified @c value is invalid value.
* @exception E_OBJ_NOT_FOUND The specified @c key is not found.
* @exception E_UNSUPPORTED_OPERATION The specified @c key is existed, However it is not supported by this device.
- * @exception E_SYSTEM The method cannot proceed due to a severe system error.
+ * @exception E_IN_PROGRESS The specified key is under processing or invalid state.
+ * @exception E_SYSTEM Either of the following conditions has occured:
+ * - The method cannot proceed due to a severe system error.
+ * - This error can occur and Wi-Fi Direct⢠is not activated if the @c key is %http://tizen.org/setting/network.wifi.direct and Wi-Fi is activated.-
+Direct⢠is not activated if the @c key is %http://tizen.org/setting/network.wifi.direct and Wi-Fi is activated.
+
*/
static result SetValueAsyncForPrivilegedKey(const Tizen::Base::String& key, bool value, ISettingInfoSetValueAsyncResultListener* listener);
/**
+ * Sets the specific @c bool type setting information based on the specified designators (key) asynchronously.
+ *
+ * @since 2.0
+ * @privlevel platform
+ * @privilege %http://tizen.org/privilege/setting
+ *
+ * @return An error code
+ * @param[in] key The key name of the setting information
+ * @param[in] value The setting information of type bool
+ * @param[in] listener The result listener.
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_PRIVILEGED_DENIED The application does not have the privilege to call this method.
+ * @exception E_INVALID_ARG The specified @c value is invalid value.
+ * @exception E_OBJ_NOT_FOUND The specified @c key is not found.
+ * @exception E_UNSUPPORTED_OPERATION The specified @c key is existed, However it is not supported by this device.
+ * @exception E_IN_PROGRESS The specified key is under processing or invalid state.
+ * @exception E_SYSTEM The method cannot proceed due to a severe system error.
+ */
+ static result SetValueAsync(const Tizen::Base::String& key, bool value, ISettingInfoSetValueAsyncResultListener* listener);
+
+
+ /**
* Sets the specific Tizen::Base::String type setting information based on the specified designators (key).
*
* @since 2.0
*
* @privlevel platform
- * @privilege %http://tizen.org/privilege/systemsetting.write
+ * @privilege %http://tizen.org/privilege/settingmanager.write @n
+ * (%http://tizen.org/privilege/systemsetting.write is deprecated.)
*
* @return An error code
* @param[in] key The key name of the setting information
@@ -435,7 +466,8 @@ public:
* @since 2.0
*
* @privlevel platform
- * @privilege %http://tizen.org/privilege/systemsetting.write
+ * @privilege %http://tizen.org/privilege/settingmanager.write @n
+ * (%http://tizen.org/privilege/systemsetting.write is deprecated.)
*
* @return An error code
* @exception E_SUCCESS The method is successful.