namespace Dali
{
-
namespace Internal DALI_INTERNAL
{
class LongPressGesture;
/**
* @brief A LongPressGesture is emitted when the user touches and holds the screen with the stated number of fingers.
*
- * This gesture can be in one of two states, when the long-press gesture is first detected: Gesture::Started
- * and when the long-press gesture ends: Gesture::Finished.
+ * This gesture can be in one of two states, when the long-press gesture is first detected: GestureState::STARTED
+ * and when the long-press gesture ends: GestureState::FINISHED.
*
* Long press gesture finishes when all touches have been released.
*
class DALI_CORE_API LongPressGesture : public Gesture
{
public:
-
/**
* @brief Creates an uninitialized LongPressGesture handle.
*
* @SINCE_1_9.28
* @param[in] rhs A reference to the copied handle
*/
- LongPressGesture( const LongPressGesture& rhs );
+ LongPressGesture(const LongPressGesture& rhs);
/**
* @brief Move constructor.
* @SINCE_1_9.28
* @param[in] rhs A reference to the handle to move
*/
- LongPressGesture( LongPressGesture&& rhs );
+ LongPressGesture(LongPressGesture&& rhs) noexcept;
/**
* @brief Assignment operator.
* @param[in] rhs A reference to the copied handle
* @return A reference to this
*/
- LongPressGesture& operator=( const LongPressGesture& rhs );
+ LongPressGesture& operator=(const LongPressGesture& rhs);
/**
* @brief Move assignment operator.
* @param[in] rhs A reference to the moved handle
* @return A reference to this
*/
- LongPressGesture& operator=( LongPressGesture&& rhs );
+ LongPressGesture& operator=(LongPressGesture&& rhs) noexcept;
/**
* @brief Non virtual destructor.
const Vector2& GetLocalPoint() const;
public: // Not intended for application developers
-
/// @cond internal
/**
* @brief This constructor is used internally to Create an initialized LongPressGesture handle.
* @param[in] longPressGesture A pointer to a newly allocated Dali resource
* @SINCE_1_9.28
*/
- explicit DALI_INTERNAL LongPressGesture( Internal::LongPressGesture* longPressGesture );
+ explicit DALI_INTERNAL LongPressGesture(Internal::LongPressGesture* longPressGesture);
/// @endcond
-
};
/**