/*
- * 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.
namespace Dali
{
-
namespace Toolkit
{
-
ProgressBar::ProgressBar()
{
}
-ProgressBar::ProgressBar( const ProgressBar& handle )
-: Control( handle )
-{
-}
+ProgressBar::ProgressBar(const ProgressBar& handle) = default;
-ProgressBar& ProgressBar::operator=( const ProgressBar& handle )
-{
- if( &handle != this )
- {
- Control::operator=( handle );
- }
- return *this;
-}
+ProgressBar::ProgressBar(ProgressBar&& rhs) noexcept = default;
+
+ProgressBar& ProgressBar::operator=(const ProgressBar& handle) = default;
+
+ProgressBar& ProgressBar::operator=(ProgressBar&& rhs) noexcept = default;
ProgressBar::ProgressBar(Internal::ProgressBar& implementation)
: Control(implementation)
{
}
-ProgressBar::ProgressBar( Dali::Internal::CustomActor* internal )
-: Control( internal )
+ProgressBar::ProgressBar(Dali::Internal::CustomActor* internal)
+: Control(internal)
{
VerifyCustomActorPointer<Internal::ProgressBar>(internal);
}
ProgressBar::ValueChangedSignalType& ProgressBar::ValueChangedSignal()
{
- return GetImpl( *this ).ValueChangedSignal();
+ return GetImpl(*this).ValueChangedSignal();
}
-ProgressBar ProgressBar::DownCast( BaseHandle handle )
+ProgressBar ProgressBar::DownCast(BaseHandle handle)
{
return Control::DownCast<ProgressBar, Internal::ProgressBar>(handle);
}