/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2015 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.
namespace
{
-const char* const PROPERTY_TYPE_NAMES[ Property::TYPE_COUNT ] =
+const char* const PROPERTY_TYPE_NAMES[] =
{
"NONE",
"BOOLEAN",
"FLOAT",
"INTEGER",
- "UNSIGNED_INTEGER",
"VECTOR2",
"VECTOR3",
"VECTOR4",
"STRING",
"ARRAY",
"MAP",
+ "EXTENTS",
};
+const unsigned int PROPERTY_TYPE_NAMES_COUNT = sizeof( PROPERTY_TYPE_NAMES ) / sizeof( const char* );
}
namespace PropertyTypes
{
-DALI_EXPORT_API
-const char* const GetName(Property::Type type)
+DALI_EXPORT_API const char* GetName(Property::Type type)
{
- if (type < Property::TYPE_COUNT)
+ if (type < PROPERTY_TYPE_NAMES_COUNT )
{
return PROPERTY_TYPE_NAMES[type];
}