X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fpublic-api%2Fevents%2Fpinch-gesture-detector.h;h=0fbcadc40b166ac4be8d7d35811e56cbe4905e94;hb=0b501ba800a263b97d99adf224fc42d0c2aa8b37;hp=d6c61a39afbb98dbf1df6762036543efc8598ba8;hpb=e2fca778e7c7a1ab6e414b1fe436f8d4dd65fb09;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/public-api/events/pinch-gesture-detector.h b/dali/public-api/events/pinch-gesture-detector.h index d6c61a3..0fbcadc 100644 --- a/dali/public-api/events/pinch-gesture-detector.h +++ b/dali/public-api/events/pinch-gesture-detector.h @@ -2,7 +2,7 @@ #define DALI_PINCH_GESTURE_DETECTOR_H /* - * Copyright (c) 2020 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. @@ -61,15 +61,13 @@ class PinchGesture; class DALI_CORE_API PinchGestureDetector : public GestureDetector { public: // Typedefs - /** * @brief Signal type. * @SINCE_1_0.0 */ - using DetectedSignalType = Signal; + using DetectedSignalType = Signal; public: // Creation & Destruction - /** * @brief Creates an uninitialized PinchGestureDetector; this can be initialized with PinchGestureDetector::New(). * @@ -95,7 +93,7 @@ public: // Creation & Destruction * @param[in] handle Handle to an object * @return Handle to a PinchGestureDetector object or an uninitialized handle */ - static PinchGestureDetector DownCast( BaseHandle handle ); + static PinchGestureDetector DownCast(BaseHandle handle); /** * @brief Destructor. @@ -122,8 +120,24 @@ public: // Creation & Destruction */ PinchGestureDetector& operator=(const PinchGestureDetector& rhs); -public: // Signals + /** + * @brief This move constructor is required for (smart) pointer semantics. + * + * @SINCE_2_2.4 + * @param[in] handle A reference to the moved handle + */ + PinchGestureDetector(PinchGestureDetector&& handle) noexcept; + + /** + * @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 + */ + PinchGestureDetector& operator=(PinchGestureDetector&& rhs) noexcept; +public: // Signals /** * @brief This signal is emitted when the pinch gesture is detected on the attached actor. * @@ -138,7 +152,6 @@ public: // Signals DetectedSignalType& DetectedSignal(); public: // Not intended for Application developers - /// @cond internal /** * @brief This constructor is used by PinchGestureDetector::New() methods. @@ -148,7 +161,6 @@ public: // Not intended for Application developers */ explicit DALI_INTERNAL PinchGestureDetector(Internal::PinchGestureDetector* internal); /// @endcond - }; /**