END_TEST;
}
+int UtcDaliApplicationMoveConstructor(void)
+{
+ Application application = Application::New();
+ DALI_TEST_CHECK( application );
+ DALI_TEST_EQUALS( 1, application.GetBaseObject().ReferenceCount(), TEST_LOCATION );
+
+ Application moved = std::move( application );
+ DALI_TEST_CHECK( moved );
+ DALI_TEST_EQUALS( 1, moved.GetBaseObject().ReferenceCount(), TEST_LOCATION );
+ DALI_TEST_CHECK( !application );
+
+ END_TEST;
+}
+
+int UtcDaliApplicationMoveAssignment(void)
+{
+ Application application = Application::New();
+ DALI_TEST_CHECK( application );
+ DALI_TEST_EQUALS( 1, application.GetBaseObject().ReferenceCount(), TEST_LOCATION );
+
+ Application moved;
+ moved = std::move( application );
+ DALI_TEST_CHECK( moved );
+ DALI_TEST_EQUALS( 1, moved.GetBaseObject().ReferenceCount(), TEST_LOCATION );
+ DALI_TEST_CHECK( !application );
+
+ END_TEST;
+}
+
int UtcDaliApplicationMainLoop01N(void)
{
Application application;
END_TEST;
}
+int UtcDaliTimerMoveConstructor(void)
+{
+ AdaptorTestApplication application;
+
+ Timer timer = Timer::New( 40 );
+ DALI_TEST_CHECK( timer );
+ DALI_TEST_EQUALS( 1, timer.GetBaseObject().ReferenceCount(), TEST_LOCATION );
+ DALI_TEST_CHECK( timer.GetInterval() == 40) ;
+
+ Timer moved = std::move( timer );
+ DALI_TEST_CHECK( moved );
+ DALI_TEST_EQUALS( 1, moved.GetBaseObject().ReferenceCount(), TEST_LOCATION );
+ DALI_TEST_CHECK( moved.GetInterval() == 40 );
+ DALI_TEST_CHECK( !timer );
+
+ END_TEST;
+}
+
+int UtcDaliTimerMoveAssignmentr(void)
+{
+ AdaptorTestApplication application;
+
+ Timer timer = Timer::New( 40 );
+ DALI_TEST_CHECK( timer );
+ DALI_TEST_EQUALS( 1, timer.GetBaseObject().ReferenceCount(), TEST_LOCATION );
+ DALI_TEST_CHECK( timer.GetInterval() == 40) ;
+
+ Timer moved;
+ moved = std::move( timer );
+ DALI_TEST_CHECK( moved );
+ DALI_TEST_EQUALS( 1, moved.GetBaseObject().ReferenceCount(), TEST_LOCATION );
+ DALI_TEST_CHECK( moved.GetInterval() == 40 );
+ DALI_TEST_CHECK( !timer );
+
+ END_TEST;
+}
+
int UtcDaliTimerIsRunning(void)
{
AdaptorTestApplication application;
(*iter)->OnStart();
}
- mAddOnManager->Start();
+ if (mAddOnManager)
+ {
+ mAddOnManager->Start();
+ }
}
// Dali::Internal::Adaptor::Adaptor::Pause
}
// Extensions
- mAddOnManager->Pause();
+ if (mAddOnManager)
+ {
+ mAddOnManager->Pause();
+ }
// Pause all windows event handlers when adaptor paused
for( auto window : mWindows )
}
// Resume AddOnManager
- mAddOnManager->Resume();
+ if (mAddOnManager)
+ {
+ mAddOnManager->Resume();
+ }
// Inform observers that we have resumed.
for( ObserverContainer::iterator iter = mObservers.begin(), endIter = mObservers.end(); iter != endIter; ++iter )
(*iter)->OnStop();
}
- mAddOnManager->Stop();
+ if (mAddOnManager)
+ {
+ mAddOnManager->Stop();
+ }
mThreadController->Stop();
idleAdded = mCallbackManager->AddIdleEntererCallback( callback );
}
+ if( !idleAdded )
+ {
+ // Delete callback
+ delete callback;
+ }
+
return idleAdded;
}
/*
- * 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.
{
}
-WatchApplication::WatchApplication(const WatchApplication& implementation)
-: Application(implementation)
-{
-}
+WatchApplication::WatchApplication( const WatchApplication& copy ) = default;
-WatchApplication& WatchApplication::operator=(const WatchApplication& application)
-{
- if( *this != application )
- {
- BaseHandle::operator=( application );
- }
- return *this;
-}
+WatchApplication& WatchApplication::operator=( const WatchApplication& rhs ) = default;
+
+WatchApplication::WatchApplication( WatchApplication&& rhs ) = default;
+
+WatchApplication& WatchApplication::operator=( WatchApplication&& rhs ) = default;
WatchApplication::WatchTimeSignal& WatchApplication::TimeTickSignal()
{
// what we need is image size.
SavedImage *sp;
sp = &gif->SavedImages[ gif->ImageCount - 1 ];
- if( !sp )
- {
- goto on_error;
- }
gifW = sp->ImageDesc.Width;
gifH = sp->ImageDesc.Height;
/*
- * 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.
// EXTERNAL INCLUDES
#include <cstring>
-#include <dali/public-api/common/compile-time-assert.h>
#include <dali/integration-api/debug.h>
#include <dali/public-api/images/pixel.h>
#include <dali/devel-api/adaptor-framework/pixel-buffer.h>
}
case EXIF_FORMAT_SHORT:
{
- out.Insert( shortName, ConvertExifNumeric<int, unsigned short>(entry) );
+ out.Insert( shortName, ConvertExifNumeric<int, uint16_t>(entry) );
break;
}
case EXIF_FORMAT_LONG:
{
- out.Insert( shortName, ConvertExifNumeric<int, unsigned long>(entry) );
+ out.Insert( shortName, ConvertExifNumeric<int, uint32_t>(entry) );
break;
}
case EXIF_FORMAT_SSHORT:
{
- out.Insert( shortName, ConvertExifNumeric<int, short>(entry) );
+ out.Insert( shortName, ConvertExifNumeric<int, int16_t>(entry) );
break;
}
case EXIF_FORMAT_SLONG:
{
- out.Insert( shortName, ConvertExifNumeric<int, long>(entry) );
+ out.Insert( shortName, ConvertExifNumeric<int, int32_t>(entry) );
break;
}
case EXIF_FORMAT_FLOAT:
/*
- * 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.
// EXTERNAL INCLUDES
#include <cstring>
-#include <dali/public-api/common/compile-time-assert.h>
#include <dali/integration-api/debug.h>
#include <dali/devel-api/adaptor-framework/pixel-buffer.h>
#include <dali/internal/imaging/common/pixel-buffer-impl.h>
{
const unsigned signatureSize = BYTES_IN_SIGNATURE;
const unsigned identifierSize = sizeof(FileIdentifier);
- DALI_COMPILE_TIME_ASSERT(signatureSize == identifierSize);
+ static_assert(signatureSize == identifierSize);
const bool signatureGood = 0 == memcmp( signature, FileIdentifier, std::min( signatureSize, identifierSize ) );
return signatureGood;
}
// File loading API entry-point:
bool LoadBitmapFromKtx( const Dali::ImageLoader::Input& input, Dali::Devel::PixelBuffer& bitmap )
{
- DALI_COMPILE_TIME_ASSERT( sizeof(Byte) == 1);
- DALI_COMPILE_TIME_ASSERT( sizeof(uint32_t) == 4);
+ static_assert(sizeof(Byte) == 1);
+ static_assert(sizeof(uint32_t) == 4);
FILE* const fp = input.file;
if( fp == NULL )
/*
- * Copyright (c) 2019 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.
{
ecore_imf_init();
- actor.OnStageSignal().Connect( this, &InputMethodContextEcoreWl::OnStaged );
+ actor.OnSceneSignal().Connect( this, &InputMethodContextEcoreWl::OnStaged );
}
InputMethodContextEcoreWl::~InputMethodContextEcoreWl()
/*
- * Copyright (c) 2019 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.
{
ecore_imf_init();
- actor.OnStageSignal().Connect( this, &InputMethodContextX::OnStaged );
+ actor.OnSceneSignal().Connect( this, &InputMethodContextX::OnStaged );
}
InputMethodContextX::~InputMethodContextX()
/*\r
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.\r
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.\r
*\r
* Licensed under the Apache License, Version 2.0 (the "License");\r
* you may not use this file except in compliance with the License.\r
mIdleCallbackConnected( false )\r
{\r
\r
- actor.OnStageSignal().Connect( this, &InputMethodContextWin::OnStaged );\r
+ actor.OnSceneSignal().Connect( this, &InputMethodContextWin::OnStaged );\r
}\r
\r
InputMethodContextWin::~InputMethodContextWin()\r
{
Dali::Timer mTimer;
TizenPlatformAbstraction* mOwner;
- CallbackBase* mCallback;
+ std::unique_ptr< CallbackBase > mCallback;
const uint32_t mIdNumber;
static uint32_t sNextTimerId;
TimerCallback(TizenPlatformAbstraction* owner, CallbackBase* callback, uint32_t ms)
: mTimer(Dali::Timer::New(ms)),
mOwner(owner),
- mCallback(callback),
- mIdNumber(sNextTimerId++)
+ mCallback( std::unique_ptr< CallbackBase >( callback ) ),
+ mIdNumber(++sNextTimerId)
{
mTimer.TickSignal().Connect( this, &TimerCallback::Tick );
mTimer.Start();
}
+ ~TimerCallback()
+ {
+ }
bool Tick()
{
TimerCallback* timerCallbackPtr = new TimerCallback(this, callback, milliseconds);
// Stick it in the list
- mTimerPairsWaiting.push_back(timerCallbackPtr);
+ mTimerPairsWaiting.push_back( std::unique_ptr< TimerCallback >( timerCallbackPtr ) );
return timerCallbackPtr->mIdNumber;
}
{
auto iter = std::remove_if(
mTimerPairsWaiting.begin(), mTimerPairsWaiting.end(),
- [&timerId]( TimerCallback* timerCallbackPtr )
+ [&timerId]( std::unique_ptr< TimerCallback >& timerCallbackPtr )
{
if( timerCallbackPtr->mIdNumber == timerId )
{
{
CallbackBase::Execute( *timerPtr.mCallback );
- std::vector<TimerCallback*>::iterator timerIter = std::find( mTimerPairsWaiting.begin(), mTimerPairsWaiting.end(), &timerPtr );
+ std::vector< std::unique_ptr< TimerCallback > >::iterator timerIter = std::find_if( mTimerPairsWaiting.begin(), mTimerPairsWaiting.end(),
+ [&]( std::unique_ptr< TimerCallback >& p )
+ { return p.get() == &timerPtr;} );
if( timerIter == std::end(mTimerPairsWaiting) )
{
// EXTERNAL INCLUDES
#include <cstdint>
#include <string>
+#include <memory>
#include <dali/integration-api/platform-abstraction.h>
namespace Dali
std::string mDataStoragePath;
- std::vector<TimerCallback*> mTimerPairsWaiting;
- std::vector<TimerCallback*> mTimerPairsSpent;
+ std::vector< std::unique_ptr< TimerCallback > > mTimerPairsWaiting;
+ std::vector< std::unique_ptr< TimerCallback > > mTimerPairsSpent;
};
/**
{
DALI_LOG_INFO( gWindowBaseLogFilter, Debug::General, "WindowBaseEcoreWl::OnKeyUp\n" );
+#if defined(ECORE_VERSION_MAJOR) && (ECORE_VERSION_MAJOR >= 1) && defined(ECORE_VERSION_MINOR) && (ECORE_VERSION_MINOR >= 23)
+ // Cancel processing flag is sent because this key event will combine with the previous key. So, the event should not actually perform anything.
+ if( keyEvent->event_flags & ECORE_EVENT_FLAG_CANCEL )
+ {
+ DALI_LOG_INFO( gWindowBaseLogFilter, Debug::General, "WindowBaseEcoreWl::OnKeyUp: This event flag indicates the event is canceled. \n" );
+ return;
+ }
+#endif // Since ecore 1.23 version
+
std::string keyName( keyEvent->keyname );
std::string logicalKey( "" );
std::string keyString( "" );
{
DALI_LOG_INFO( gWindowBaseLogFilter, Debug::General, "WindowBaseEcoreWl::OnKeyUp\n" );
+#if defined(ECORE_VERSION_MAJOR) && (ECORE_VERSION_MAJOR >= 1) && defined(ECORE_VERSION_MINOR) && (ECORE_VERSION_MINOR >= 23)
+ // Cancel processing flag is sent because this key event will combine with the previous key. So, the event should not actually perform anything.
+ if( keyEvent->event_flags & ECORE_EVENT_FLAG_CANCEL )
+ {
+ DALI_LOG_INFO( gWindowBaseLogFilter, Debug::General, "WindowBaseEcoreWl2::OnKeyUp: This event flag indicates the event is canceled. \n" );
+ return;
+ }
+#endif // Since ecore 1.23 version
+
std::string keyName( keyEvent->keyname );
std::string logicalKey( "" );
std::string keyString( "" );
{
}
-Application::Application(const Application& application)
-: BaseHandle(application)
-{
-}
+Application::Application( const Application& copy ) = default;
-Application& Application::operator=(const Application& application)
-{
- if( *this != application )
- {
- BaseHandle::operator=( application );
- }
- return *this;
-}
+Application& Application::operator=( const Application& rhs ) = default;
+
+Application::Application( Application&& rhs ) = default;
+
+Application& Application::operator=( Application&& rhs ) = default;
void Application::MainLoop()
{
Application& operator=( const Application& application );
/**
+ * @brief Move constructor.
+ *
+ * @SINCE_1_9.24
+ * @param[in] rhs A reference to the moved handle
+ */
+ Application( Application&& rhs );
+
+ /**
+ * @brief Move assignment operator.
+ *
+ * @SINCE_1_9.24
+ * @param[in] rhs A reference to the moved handle
+ * @return A reference to this handle
+ */
+ Application& operator=( Application&& rhs );
+
+ /**
* @brief Destructor.
*
* This is non-virtual since derived Handle types must not contain data or virtual methods.
/*
- * Copyright (c) 2018 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.
return Timer(internal.Get());
}
-Timer::Timer( const Timer& timer )
-: BaseHandle(timer)
-{
-}
+Timer::Timer( const Timer& copy ) = default;
-Timer& Timer::operator=( const Timer& timer )
-{
- // check self assignment
- if( *this != timer )
- {
- BaseHandle::operator=(timer);
- }
- return *this;
-}
+Timer& Timer::operator=( const Timer& rhs ) = default;
+
+Timer::Timer( Timer&& rhs ) = default;
+
+Timer& Timer::operator=( Timer&& rhs ) = default;
Timer::~Timer()
{
#define DALI_TIMER_H
/*
- * Copyright (c) 2019 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.
Timer& operator=( const Timer& timer );
/**
+ * @brief Move constructor.
+ *
+ * @SINCE_1_9.24
+ * @param[in] rhs A reference to the moved handle
+ */
+ Timer( Timer&& rhs );
+
+ /**
+ * @brief Move assignment operator.
+ *
+ * @SINCE_1_9.24
+ * @param[in] rhs A reference to the moved handle
+ * @return A reference to this handle
+ */
+ Timer& operator=( Timer&& rhs );
+
+ /**
* @brief Destructor.
*
* This is non-virtual since derived Handle types must not contain data or virtual methods.
{
}
-TtsPlayer::TtsPlayer(const TtsPlayer& handle)
-: BaseHandle(handle)
-{
-}
+TtsPlayer::TtsPlayer( const TtsPlayer& copy ) = default;
-TtsPlayer& TtsPlayer::operator=(const TtsPlayer& rhs)
-{
- BaseHandle::operator=(rhs);
- return *this;
-}
+TtsPlayer& TtsPlayer::operator=( const TtsPlayer& rhs ) = default;
+
+TtsPlayer::TtsPlayer( TtsPlayer&& rhs ) = default;
+
+TtsPlayer& TtsPlayer::operator=( TtsPlayer&& rhs ) = default;
void TtsPlayer::Play(const std::string& text)
{
#define DALI_TTS_PLAYER_H
/*
- * Copyright (c) 2019 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.
TtsPlayer& operator=(const TtsPlayer& rhs);
/**
+ * @brief Move constructor.
+ *
+ * @SINCE_1_9.24
+ * @param[in] rhs A reference to the moved handle
+ */
+ TtsPlayer( TtsPlayer&& rhs );
+
+ /**
+ * @brief Move assignment operator.
+ *
+ * @SINCE_1_9.24
+ * @param[in] rhs A reference to the moved handle
+ * @return A reference to this handle
+ */
+ TtsPlayer& operator=( TtsPlayer&& rhs );
+
+ /**
* @brief Starts playing the audio data synthesized from the specified text.
*
* @SINCE_1_0.0
/*
- * 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.
{
}
-WidgetApplication::WidgetApplication(const WidgetApplication& widgetApplication)
-: Application(widgetApplication)
-{
-}
+WidgetApplication::WidgetApplication( const WidgetApplication& copy ) = default;
-WidgetApplication& WidgetApplication::operator=(const WidgetApplication& widgetApplication)
-{
- if( *this != widgetApplication )
- {
- BaseHandle::operator=( widgetApplication );
- }
- return *this;
-}
+WidgetApplication& WidgetApplication::operator=( const WidgetApplication& rhs ) = default;
+
+WidgetApplication::WidgetApplication( WidgetApplication&& rhs ) = default;
+
+WidgetApplication& WidgetApplication::operator=( WidgetApplication&& rhs ) = default;
void WidgetApplication::RegisterWidgetCreatingFunction( const std::string& widgetName, CreateWidgetFunction createFunction )
{
#define DALI_WIDGET_APPLICATION_H
/*
- * Copyright (c) 2018 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.
*/
WidgetApplication& operator=( const WidgetApplication& widgetApplication );
+ /**
+ * @brief Move constructor.
+ *
+ * @SINCE_1_9.24
+ * @param[in] rhs A reference to the moved handle
+ */
+ WidgetApplication( WidgetApplication&& rhs );
+
+ /**
+ * @brief Move assignment operator.
+ *
+ * @SINCE_1_9.24
+ * @param[in] rhs A reference to the moved handle
+ * @return A reference to this handle
+ */
+ WidgetApplication& operator=( WidgetApplication&& rhs );
+
/**
* @brief Destructor
* @SINCE_1_3_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.
{
}
-Widget::Widget(const Widget& widget)
-: BaseHandle(widget)
-{
-}
+Widget::Widget( const Widget& copy ) = default;
-Widget& Widget::operator=(const Widget& widget)
-{
- if( *this != widget )
- {
- BaseHandle::operator=( widget );
- }
- return *this;
-}
+Widget& Widget::operator=( const Widget& rhs ) = default;
+
+Widget::Widget( Widget&& rhs ) = default;
+
+Widget& Widget::operator=( Widget&& rhs ) = default;
Widget::Widget(Internal::Adaptor::Widget* widget)
: BaseHandle(widget)
#define DALI_WIDGET_H
/*
- * Copyright (c) 2018 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.
Widget& operator=( const Widget& widget );
/**
+ * @brief Move constructor.
+ *
+ * @SINCE_1_9.24
+ * @param[in] rhs A reference to the moved handle
+ */
+ Widget( Widget&& rhs );
+
+ /**
+ * @brief Move assignment operator.
+ *
+ * @SINCE_1_9.24
+ * @param[in] rhs A reference to the moved handle
+ * @return A reference to this handle
+ */
+ Widget& operator=( Widget&& rhs );
+
+ /**
* @brief Destructor
* @SINCE_1_3_5
*/
{
}
-Window::Window(const Window& handle)
-: BaseHandle(handle)
-{
-}
+Window::Window( const Window& copy ) = default;
-Window& Window::operator=(const Window& rhs)
-{
- BaseHandle::operator=(rhs);
- return *this;
-}
+Window& Window::operator=( const Window& rhs ) = default;
+
+Window::Window( Window&& rhs ) = default;
+
+Window& Window::operator=( Window&& rhs ) = default;
void Window::Add( Dali::Actor actor )
{
Window& operator=(const Window& rhs);
/**
+ * @brief Move constructor.
+ *
+ * @SINCE_1_9.24
+ * @param[in] rhs A reference to the moved handle
+ */
+ Window( Window&& rhs );
+
+ /**
+ * @brief Move assignment operator.
+ *
+ * @SINCE_1_9.24
+ * @param[in] rhs A reference to the moved handle
+ * @return A reference to this handle
+ */
+ Window& operator=( Window&& rhs );
+
+ /**
* @brief Adds a child Actor to the Window.
*
* The child will be referenced.
{
}
-Capture::Capture( const Capture& copy )
-: BaseHandle(copy)
-{
-}
+Capture::Capture( const Capture& copy ) = default;
-Capture& Capture::operator=( const Capture& rhs )
-{
- BaseHandle::operator=( rhs );
- return *this;
-}
+Capture& Capture::operator=( const Capture& rhs ) = default;
+
+Capture::Capture( Capture&& rhs ) = default;
+
+Capture& Capture::operator=( Capture&& rhs ) = default;
void Capture::Start( Actor source, const Vector2& size, const std::string &path, const Vector4& clearColor, const uint32_t quality )
{
Capture& operator=( const Capture& rhs );
/**
+ * @brief Move constructor.
+ *
+ * @SINCE_1_9.24
+ * @param[in] rhs A reference to the moved handle
+ */
+ Capture( Capture&& rhs );
+
+ /**
+ * @brief Move assignment operator.
+ *
+ * @SINCE_1_9.24
+ * @param[in] rhs A reference to the moved handle
+ * @return A reference to this handle
+ */
+ Capture& operator=( Capture&& rhs );
+
+ /**
* @brief Start capture and save the image as a file.
*
* @SINCE_1_9.12
const unsigned int ADAPTOR_MAJOR_VERSION = 1;
const unsigned int ADAPTOR_MINOR_VERSION = 9;
-const unsigned int ADAPTOR_MICRO_VERSION = 22;
+const unsigned int ADAPTOR_MICRO_VERSION = 24;
const char * const ADAPTOR_BUILD_DATE = __DATE__ " " __TIME__;
#ifdef DEBUG_ENABLED
#define DALI_WATCH_APPLICATION_H
/*
- * Copyright (c) 2019 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.
WatchApplication& operator=( const WatchApplication& application );
/**
+ * @brief Move constructor.
+ *
+ * @SINCE_1_9.24
+ * @param[in] rhs A reference to the moved handle
+ */
+ WatchApplication( WatchApplication&& rhs );
+
+ /**
+ * @brief Move assignment operator.
+ *
+ * @SINCE_1_9.24
+ * @param[in] rhs A reference to the moved handle
+ * @return A reference to this handle
+ */
+ WatchApplication& operator=( WatchApplication&& rhs );
+
+ /**
* @brief Destructor
*
* This is non-virtual since derived Handle types must not contain data or virtual methods.
Name: dali2-adaptor
Summary: The DALi Tizen Adaptor
-Version: 1.9.22
+Version: 1.9.24
Release: 1
Group: System/Libraries
License: Apache-2.0 and BSD-3-Clause and MIT