X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Fcontrol-wrapper.cpp;h=814c15d499d730554acf0d0d1326d832c8282ef4;hp=0c6be01580b1f7855cd56450d69c3c9f1bdc345c;hb=90168515fb4b80ff64c068769420c0235a225d71;hpb=159563699a1d8ac7fb2fc516fdb0e9c5be69016a diff --git a/dali-toolkit/devel-api/controls/control-wrapper.cpp b/dali-toolkit/devel-api/controls/control-wrapper.cpp index 0c6be01..814c15d 100644 --- a/dali-toolkit/devel-api/controls/control-wrapper.cpp +++ b/dali-toolkit/devel-api/controls/control-wrapper.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 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. @@ -23,55 +23,53 @@ namespace Dali { - namespace Toolkit { - /////////////////////////////////////////////////////////////////////////////////////////////////// // ControlWrapper /////////////////////////////////////////////////////////////////////////////////////////////////// -ControlWrapper ControlWrapper::New( const std::string& typeName, Internal::ControlWrapper& implementation ) +ControlWrapper ControlWrapper::New(const std::string& typeName, Internal::ControlWrapper& implementation) { - return Internal::ControlWrapper::New( typeName, &implementation ); + return Internal::ControlWrapper::New(typeName, &implementation); } ControlWrapper::ControlWrapper() { } -ControlWrapper::ControlWrapper( const ControlWrapper& handle ) -: Control( handle ) +ControlWrapper::ControlWrapper(const ControlWrapper& handle) +: Control(handle) { } -ControlWrapper& ControlWrapper::operator=( const ControlWrapper& handle ) +ControlWrapper& ControlWrapper::operator=(const ControlWrapper& handle) { - if( &handle != this ) + if(&handle != this) { - Control::operator=( handle ); + Control::operator=(handle); } return *this; } -ControlWrapper::ControlWrapper( Internal::ControlWrapper& implementation ) -: Control( implementation ) +ControlWrapper::ControlWrapper(Internal::ControlWrapper& implementation) +: Control(implementation) { } -ControlWrapper::ControlWrapper( Dali::Internal::CustomActor* internal ) -: Control( internal ) +ControlWrapper::ControlWrapper(Dali::Internal::CustomActor* internal) +: Control(internal) { - VerifyCustomActorPointer( internal ); + VerifyCustomActorPointer(internal); } ControlWrapper::~ControlWrapper() { } -ControlWrapper ControlWrapper::DownCast( BaseHandle handle ) +ControlWrapper ControlWrapper::DownCast(BaseHandle handle) { - return Control::DownCast( handle ); + return Control::DownCast(handle); } } // namespace Toolkit