X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fpublic-api%2Fobject%2Fhandle.cpp;h=f5a91716c0af129b9f3c5a6d012f10d5b24c761a;hb=646f736e77b085c86e982c0d1d4b895c2a431330;hp=01065b5a48df310748286d9619f1966dde364ce0;hpb=f62577b50f22eb3f399eafff3349f91baf8bbce6;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/public-api/object/handle.cpp b/dali/public-api/object/handle.cpp index 01065b5..f5a9171 100644 --- a/dali/public-api/object/handle.cpp +++ b/dali/public-api/object/handle.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2018 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. @@ -19,7 +19,6 @@ #include // INTERNAL INCLUDES -#include #include #include #include @@ -76,7 +75,7 @@ bool Handle::Supports( Capability capability ) const return GetImplementation(*this).Supports( capability ); } -unsigned int Handle::GetPropertyCount() const +uint32_t Handle::GetPropertyCount() const { return GetImplementation(*this).GetPropertyCount(); } @@ -131,6 +130,11 @@ Property::Value Handle::GetProperty( Property::Index index ) const return GetImplementation(*this).GetProperty( index ); } +Property::Value Handle::GetCurrentProperty( Property::Index index ) const +{ + return GetImplementation( *this ).GetCurrentProperty( index ); +} + void Handle::GetPropertyIndices( Property::IndexContainer& indices ) const { GetImplementation(*this).GetPropertyIndices( indices ); @@ -159,27 +163,12 @@ void Handle::RemovePropertyNotifications() GetImplementation(*this).RemovePropertyNotifications(); } -ActiveConstraint Handle::ApplyConstraint( Constraint constraint ) -{ - return GetImplementation(*this).ApplyConstraint( GetImplementation( constraint ) ); -} - -ActiveConstraint Handle::ApplyConstraint( Constraint constraint, Handle weightObject ) -{ - return GetImplementation(*this).ApplyConstraint( GetImplementation( constraint ), weightObject ); -} - -void Handle::RemoveConstraint(ActiveConstraint activeConstraint) -{ - GetImplementation(*this).RemoveConstraint( activeConstraint ); -} - void Handle::RemoveConstraints() { GetImplementation(*this).RemoveConstraints(); } -void Handle::RemoveConstraints( unsigned int tag ) +void Handle::RemoveConstraints( uint32_t tag ) { GetImplementation(*this).RemoveConstraints( tag ); }