X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-demo.git;a=blobdiff_plain;f=examples%2Fsimple-visuals-control%2Fmy-control.cpp;h=66e74f78485d7c88f167f4b8b4d98cd71c8c68f8;hp=65f5c2824b72ca6a7c94551631068a75b2f33bec;hb=1b19fd140ff139b5854a1a62447faf31b175d8f6;hpb=b26d446b0cb6a316abc3a79d4fc70d0ae1b7994c diff --git a/examples/simple-visuals-control/my-control.cpp b/examples/simple-visuals-control/my-control.cpp index 65f5c28..66e74f7 100644 --- a/examples/simple-visuals-control/my-control.cpp +++ b/examples/simple-visuals-control/my-control.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 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. @@ -22,21 +22,20 @@ namespace Demo { - MyControl::MyControl() { } -MyControl::MyControl( const MyControl& control ) -: Control( control ) +MyControl::MyControl(const MyControl& control) +: Control(control) { } -MyControl& MyControl::operator= ( const MyControl& rhs ) +MyControl& MyControl::operator=(const MyControl& rhs) { - if( &rhs != this ) + if(&rhs != this) { - Control::operator=( rhs ); + Control::operator=(rhs); } return *this; } @@ -51,21 +50,20 @@ MyControl MyControl::New() return control; } -MyControl MyControl::DownCast( BaseHandle handle ) +MyControl MyControl::DownCast(BaseHandle handle) { - return Control::DownCast< MyControl, Internal::MyControl > ( handle ); + return Control::DownCast(handle); } -MyControl::MyControl( Internal::MyControl& implementation ) -: Control( implementation ) +MyControl::MyControl(Internal::MyControl& implementation) +: Control(implementation) { } -MyControl::MyControl( Dali::Internal::CustomActor* internal ) -: Control( internal ) +MyControl::MyControl(Dali::Internal::CustomActor* internal) +: Control(internal) { - VerifyCustomActorPointer< Internal::MyControl >( internal ) ; + VerifyCustomActorPointer(internal); } - } //namespace Demo