-#ifndef __DALI_GESTURE_DETECTOR_H__
-#define __DALI_GESTURE_DETECTOR_H__
+#ifndef DALI_GESTURE_DETECTOR_H
+#define DALI_GESTURE_DETECTOR_H
/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 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.
*/
// INTERNAL INCLUDES
-#include <dali/public-api/common/vector-wrapper.h>
#include <dali/public-api/object/handle.h>
namespace Dali
* @SINCE_1_0.0
* @see Gesture
*/
-class DALI_IMPORT_API GestureDetector : public Handle
+class DALI_CORE_API GestureDetector : public Handle
{
public: // Creation & Destruction
-
/**
* @brief Creates an uninitialized GestureDetector.
*
* @param[in] handle Handle to an object
* @return Handle to a GestureDetector object or an uninitialized handle
*/
- static GestureDetector DownCast( BaseHandle handle );
+ static GestureDetector DownCast(BaseHandle handle);
/**
* @brief Dali::GestureDetector is intended as a base class.
*/
GestureDetector& operator=(const GestureDetector& rhs);
-public: // Actor related
+ /**
+ * @brief This move constructor is required for (smart) pointer semantics.
+ *
+ * @SINCE_2_2.4
+ * @param[in] handle A reference to the moved handle
+ */
+ GestureDetector(GestureDetector&& handle);
+
+ /**
+ * @brief This move assignment operator is required for (smart) pointer semantics.
+ *
+ * @SINCE_2_2.4
+ * @param[in] rhs A reference to the moved handle
+ * @return A reference to this
+ */
+ GestureDetector& operator=(GestureDetector&& rhs);
+public: // Actor related
/**
* @brief Attaches an actor to the gesture.
*
Actor GetAttachedActor(size_t index) const;
protected:
-
/// @cond internal
/**
* @brief This constructor is used by New() methods of derived classes (For example, PanGestureDetector::New()).
*/
} // namespace Dali
-#endif // __DALI_GESTURE_DETECTOR_H__
+#endif // DALI_GESTURE_DETECTOR_H