#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.
namespace Dali
{
-
- /**
+/**
* @addtogroup dali_adaptor_framework
* @{
*/
namespace Internal
{
-
namespace Adaptor
{
class Widget;
}
-}
-
-class Window;
+} // namespace Internal
/**
* @brief Widget class is the base class for custom widget.
class DALI_ADAPTOR_API Widget : public BaseHandle
{
public:
-
/**
* @brief Enumeration class for termination type of widget instance.
* @SINCE_1_3_5
};
public:
-
/**
* @brief This is the constructor for Widget.
* @SINCE_1_3_5
* @SINCE_1_3_5
* @param[in] widget Handle to an object
*/
- Widget( const Widget& widget );
+ Widget(const Widget& widget);
/**
* @brief Assignment operator.
* @param[in] widget Handle to an object
* @return A reference to this
*/
- Widget& operator=( const Widget& widget );
+ 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