Use modern construct 'using' instead of typedef.
[platform/core/uifw/dali-core.git] / dali / devel-api / object / csharp-type-info.h
index ecffb2a..3d147f7 100644 (file)
@@ -34,9 +34,9 @@ namespace CSharpTypeInfo
    * @param[in] typeName The type name of the object to be created.
    * @return Pointer to a BaseHandle
    */
-  typedef BaseHandle* (*CreateFunction)(const char* const typeName);
+using CreateFunction = BaseHandle *(*)( const char *const );
 
-  /**
+/**
    * @brief Callback to set an event-thread only property.
    *
    * @param[in] object The object whose property should be set.
@@ -44,10 +44,9 @@ namespace CSharpTypeInfo
    * @param[in] value The new value of the property for the object specified.
    * @see PropertyRegistration.
    */
-  typedef void (*SetPropertyFunction)( BaseObject* object, const char* const propertyName , Property::Value* value );
-
+using SetPropertyFunction = void ( * )( BaseObject *, const char *const, Property::Value * );
 
-  /**
+/**
    * @brief Callback to get the value of an event-thread only property.
    *
    * @param[in] object The object whose property value is required.
@@ -55,7 +54,7 @@ namespace CSharpTypeInfo
    * @return The current value of the property for the object specified.
    * @see PropertyRegistration.
    */
-  typedef Property::Value* (*GetPropertyFunction)( BaseObject* object, const char* const propertyName );
+using GetPropertyFunction = Property::Value *(*)( BaseObject *, const char *const );
 }