Merge "GetErrorMessage() to print the error log" into tizen_2.1
[platform/framework/native/appfw.git] / inc / FSysRuntimeInfo.h
old mode 100755 (executable)
new mode 100644 (file)
index 67b36a0..bf25996
@@ -61,7 +61,7 @@ class IRuntimeInfoGetLonglongAsyncResultListener;
  *      result r = E_SUCCESS;
  *
  *      String key(L"http://tizen.org/runtime/memory.allocated");
- *      int allocatedMemory = 0;
+ *      long long allocatedMemory = 0;
  *
  *      r = RuntimeInfo::GetValue(key, allocatedMemory);
  *      TryCatch(r == E_SUCCESS, , "MyRuntimeInfo: Failed to get value");
@@ -105,9 +105,8 @@ public:
         * @param[in]   key     The <a href="../org.tizen.native.appprogramming/html/guide/system/runtime_info.htm">key name</a> of the runtime information @n
         * @if OSPCOMPAT
         *                      The following key values are updated: @n
-        *                      - @b Since: @b 2.0 Refer <a href="../org.tizen.native.appprogramming/html/guide/system/runtime_info.htm">here</a>.
-        *                        @xmlonly <pcheck kind="value" since="2.0"> memory.allocated, memory.available </pcheck> @endxmlonly
-        *                      - @b Deprecated All the key values provided prior to %Tizen 2.0 are deprecated. For more detailed information, refer 
+        *                      - Since Tizen, refer <a href="../org.tizen.native.appprogramming/html/guide/system/runtime_info.htm">here</a>.
+        *                      - @b Deprecated All the key values provided prior to %Tizen are deprecated. For more detailed information, refer 
         *                       <a href="../org.tizen.native.appprogramming/html/guide/system/runtime_info_deprecated.htm">here</a>.
         * @endif
         * @param[out]  value                   The integer type runtime information
@@ -127,9 +126,8 @@ public:
         * @param[in]   key     The <a href="../org.tizen.native.appprogramming/html/guide/system/runtime_info.htm">key name</a> of the runtime information @n
         * @if OSPCOMPAT
         *                      The following key values are updated: @n
-        *                      - @b Since: @b 2.0 Refer <a href="../org.tizen.native.appprogramming/html/guide/system/runtime_info.htm">here</a>.
-        *                        @xmlonly <pcheck kind="value" since="2.0"> storage.external.available, storage.internal.available, storage.media.available </pcheck> @endxmlonly
-        *                      - @b Deprecated All the key values provided prior to %Tizen 2.0 are deprecated. For more detailed information, refer 
+        *                      - Since Tizen, refer <a href="../org.tizen.native.appprogramming/html/guide/system/runtime_info.htm">here</a>.
+        *                      - @b Deprecated All the key values provided prior to %Tizen are deprecated. For more detailed information, refer 
         *                       <a href="../org.tizen.native.appprogramming/html/guide/system/runtime_info_deprecated.htm">here</a>.
         *                       @xmlonly <pcheck kind="value" since="1.0" deprecated="yes"> @endxmlonly MaxAllocatableMemory, AvailableVideoMemory @xmlonly </pcheck> @endxmlonly
         * @endif
@@ -162,7 +160,7 @@ public:
         * @since       2.0
         *
         * @return      An error code
-        * @param[in]   key                     The key name of the runtime information
+        * @param[in]   key     The <a href="../org.tizen.native.appprogramming/html/guide/system/runtime_info.htm">key name</a> of the runtime information
         * @param[out]  value                   The @c bool type runtime information
         * @exception   E_SUCCESS               The method is successful.
         * @exception   E_OBJ_NOT_FOUND         The specified @c key is not found.
@@ -191,12 +189,11 @@ public:
         * @since       2.0
         *
         * @return      An error code
-        * @param[in]   key             The key of the runtime information
+        * @param[in]   key     The <a href="../org.tizen.native.appprogramming/html/guide/system/runtime_info.htm">key name</a> of the runtime information
         * @param[in]   listener        The result listener
         * @exception   E_SUCCESS       The method is successful.
         * @exception   E_OBJ_NOT_FOUND The specified @c key is not found.
         * @exception   E_SYSTEM        The method cannot proceed due to a severe system error.
-        * @remarks     The listener instance ownership is transferred to platform. After notifying result, listener instance is removed automatically. A reuse of the listener instance is not allowed.
         */
        static result GetValueAsync(const Tizen::Base::String& key, IRuntimeInfoGetLonglongAsyncResultListener* listener);
 
@@ -206,12 +203,11 @@ public:
         * @since       2.0
         *
         * @return      An error code
-        * @param[in]   key             The key of the runtime information
+        * @param[in]   key     The <a href="../org.tizen.native.appprogramming/html/guide/system/runtime_info.htm">key name</a> of the runtime information
         * @param[in]   listener        The result listener
         * @exception   E_SUCCESS       The method is successful.
         * @exception   E_OBJ_NOT_FOUND The specified @c key is not found.
         * @exception   E_SYSTEM        The method cannot proceed due to a severe system error.
-        * @remarks     The listener instance ownership is transferred to platform. After notifying result, listener instance is removed automatically. A reuse of the listener instance is not allowed.
         */
        static result GetValueAsync(const Tizen::Base::String& key, IRuntimeInfoGetIntAsyncResultListener* listener);