X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=dali%2Finternal%2Fevent%2Fevents%2Flong-press-gesture%2Flong-press-gesture-processor.h;h=8026167671900cdd35b2ad31904d8ec60cd81e22;hb=a4eb68faf1e75d213c951a7d4d1b67727247917a;hp=4933c46e9b12593bf9dd24ecded86a45489ba427;hpb=76ca751382b59c4d0189ec92fa111592f70ba9b2;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/event/events/long-press-gesture/long-press-gesture-processor.h b/dali/internal/event/events/long-press-gesture/long-press-gesture-processor.h index 4933c46..8026167 100644 --- a/dali/internal/event/events/long-press-gesture/long-press-gesture-processor.h +++ b/dali/internal/event/events/long-press-gesture/long-press-gesture-processor.h @@ -88,6 +88,18 @@ public: // To be called by GestureEventProcessor */ void GestureDetectorUpdated(LongPressGestureDetector* gestureDetector); + /** + * @brief This method sets the minimum holding time required to be recognized as a long press gesture + * + * @param[in] value The time value in milliseconds + */ + void SetMinimumHoldingTime( uint32_t time ); + + /** + * @return The minimum holding time required to be recognized as a long press gesture in milliseconds + */ + uint32_t GetMinimumHoldingTime() const; + private: // Undefined @@ -130,6 +142,8 @@ private: uint32_t mMaxTouchesRequired; const LongPressGestureEvent* mCurrentLongPressEvent; ///< Pointer to current longPressEvent, used when calling ProcessAndEmit() + + uint32_t mMinimumHoldingTime; }; } // namespace Internal