-#ifndef __DALI_CSHARP_TYPE_INFO_H__
-#define __DALI_CSHARP_TYPE_INFO_H__
+#ifndef DALI_CSHARP_TYPE_INFO_H
+#define DALI_CSHARP_TYPE_INFO_H
/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* @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.
* @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.
* @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 );
}
} // namespace Dali
-#endif // __DALI_CSHARP_INFO_H__
+#endif // DALI_CSHARP_TYPE_INFO_H