}
}
-bool BaseObject::DoAction(const std::string& actionName, const std::vector<Property::Value>& attributes)
+bool BaseObject::DoAction(const std::string& actionName, const Property::Map& attributes)
{
Dali::Internal::TypeRegistry* registry = Dali::Internal::TypeRegistry::Get();
if( registry )
{
- Dali::TypeInfo typeInfo = registry->GetTypeInfo(this);
+ Internal::TypeRegistry::TypeInfoPointer typeInfo = registry->GetTypeInfo(this);
if( typeInfo )
{
- return typeInfo.GetName();
+ return typeInfo->GetName();
}
}
// Return an empty string if type-name not found.
DALI_LOG_WARNING( "TypeName Not Found\n" );
- return String::EMPTY;
+ static std::string empty;
+ return empty;
}
bool BaseObject::GetTypeInfo(Dali::TypeInfo& typeInfo) const
{
Dali::Internal::TypeRegistry* registry = Dali::Internal::TypeRegistry::Get();
- Dali::TypeInfo info = registry->GetTypeInfo(this);
+ Internal::TypeRegistry::TypeInfoPointer info = registry->GetTypeInfo(this);
if(info)
{
- typeInfo = info;
+ typeInfo = Dali::TypeInfo( info.Get() );
return true;
}
else