-#ifndef __DALI_INTERNAL_TYPE_INFO_H__
-#define __DALI_INTERNAL_TYPE_INFO_H__
+#ifndef DALI_INTERNAL_TYPE_INFO_H
+#define DALI_INTERNAL_TYPE_INFO_H
/*
- * Copyright (c) 2018 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.
/**
* @copydoc Dali::TypeInfo::GetActionCount
*/
- size_t GetActionCount() const;
+ uint32_t GetActionCount() const;
/**
* @copydoc Dali::TypeInfo::GetActionName
*/
- std::string GetActionName(size_t index) const;
+ std::string GetActionName( uint32_t index ) const;
/**
* @copydoc Dali::TypeInfo::GetSignalCount
*/
- size_t GetSignalCount() const;
+ uint32_t GetSignalCount() const;
/**
* @copydoc Dali::TypeInfo::GetSignalName
*/
- std::string GetSignalName(size_t index) const;
+ std::string GetSignalName( uint32_t index ) const;
/**
* @copydoc Dali::TypeInfo::GetPropertyCount
int32_t componentIndex = Property::INVALID_COMPONENT_INDEX;
};
- typedef std::pair<std::string, Dali::TypeInfo::SignalConnectorFunction > ConnectionPair;
- typedef std::pair<std::string, Dali::TypeInfo::ActionFunction > ActionPair;
- typedef std::pair<Property::Index, RegisteredProperty> RegisteredPropertyPair;
- typedef std::pair<Property::Index, Property::Value> PropertyDefaultValuePair;
+ using ConnectionPair = std::pair<std::string, Dali::TypeInfo::SignalConnectorFunction>;
+ using ActionPair = std::pair<std::string, Dali::TypeInfo::ActionFunction>;
+ using RegisteredPropertyPair = std::pair<Property::Index, RegisteredProperty>;
+ using PropertyDefaultValuePair = std::pair<Property::Index, Property::Value>;
- typedef std::vector< ActionPair > ActionContainer;
- typedef std::vector< ConnectionPair > ConnectorContainer;
- typedef std::vector< RegisteredPropertyPair > RegisteredPropertyContainer;
- typedef std::vector< PropertyDefaultValuePair > PropertyDefaultValueContainer;
+ using ActionContainer = std::vector<ActionPair>;
+ using ConnectorContainer = std::vector<ConnectionPair>;
+ using RegisteredPropertyContainer = std::vector<RegisteredPropertyPair>;
+ using PropertyDefaultValueContainer = std::vector<PropertyDefaultValuePair>;
/**
* Append properties from registeredProperties onto indices.
} // namespace Dali
-#endif // header
+#endif // DALI_INTERNAL_TYPE_INFO_H