Enable build with iniparser v 3.1
[platform/framework/native/appfw.git] / inc / FBaseObject.h
index 2ab0af2..f75eb44 100644 (file)
@@ -28,7 +28,6 @@
 #include <FOspConfig.h>
 #include <FOspCompat.h>
 
-
 namespace Tizen { namespace Base
 {
 /**
@@ -64,11 +63,13 @@ public:
         *  @since 2.0
         *
         *      @return                 @c true if the value of the specified instance of %Object is equal to the value of the current instance of %Object, @n
-        *                              else @c false
+        *                                      else @c false
         *      @param[in]      obj     An instance of %Object to compare
-        *      @remarks        The default implementation of this method returns @c true
-        *                              if the two instances have the same address. @n
-        *                              The method can be overridden to support value equality. Furthermore, this method must return the same result as the equality operator.
+        *      @remarks
+        *                              - The default implementation of this method returns @c true,
+        *                              if the two instances have the same address.
+        *                              - The method can be overridden to support value equality.
+        *                              Furthermore, this method must return the same result as the equality operator.
         */
        virtual bool Equals(const Object& obj) const;
 
@@ -77,10 +78,11 @@ public:
         *
         *  @since 2.0
         *
-        *      @return         An integer value indicating the hash value of the current instance of %Object
-        *      @remarks        Two equal instances must return the same hash value. For better performance,
-        *                              the used hash function must generate a random distribution for all inputs. @n
-        *                              The default implementation of this method returns the address of the current instance.
+        *      @return         The integer value that indicates the hash value of the current instance of %Object
+        *      @remarks
+        *                              - Two equal instances must return the same hash value. @n
+        *                              For better performance, the used hash function must generate a random distribution for all the inputs.
+        *                              - The default implementation of this method returns the address of the current instance.
         */
        virtual int GetHashCode(void) const;
 
@@ -108,6 +110,12 @@ protected:
        //
        virtual void Object_Reserved1(void) { }
 
+public:
+       // This pointer is initalized null. It is used to return null pointer.
+       //
+       // @since 3.0
+       //
+       static Object* pNullObj;
 }; // Object
 
 }} // Tizen::Base