X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fdevel-api%2Fobject%2Fhandle-devel.cpp;h=8350e3a68122195286a65e18bcfcf1b07c038ff0;hb=72d3e464f0fdaaf6db6206873408e8d845f02cd4;hp=f1057fef08de3148da5ac42ddc70c7d4ecba5f57;hpb=53ad0a8d1d3c644d74301687625e3dedabe592b0;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/devel-api/object/handle-devel.cpp b/dali/devel-api/object/handle-devel.cpp index f1057fe..8350e3a 100644 --- a/dali/devel-api/object/handle-devel.cpp +++ b/dali/devel-api/object/handle-devel.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 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. @@ -21,6 +21,7 @@ // INTERNAL INCLUDES #include #include +#include namespace Dali { @@ -43,6 +44,16 @@ Property::Index RegisterProperty( Handle handle, Property::Index key, const std: return GetImplementation( handle ).RegisterProperty( name, key, propertyValue ); } +void SetTypeInfo( Handle& handle, const TypeInfo& typeInfo ) +{ + GetImplementation( handle ).SetTypeInfo( &GetImplementation( typeInfo ) ); +} + +Property::Value GetCurrentProperty( Handle handle, Property::Index index ) +{ + return GetImplementation( handle ).GetCurrentProperty( index ); +} + } // namespace DevelHandle } // namespace Dali