X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fpublic-api%2Fevents%2Flong-press-gesture-detector.cpp;h=98c7ed39280734e16f559e15305bdfb1c91dc138;hb=646f736e77b085c86e982c0d1d4b895c2a431330;hp=c8264161715447db011b555cb8d10db7dd7d13b0;hpb=0c54941cf8698af1f9e02a212bf6de675c04ba34;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/public-api/events/long-press-gesture-detector.cpp b/dali/public-api/events/long-press-gesture-detector.cpp index c826416..98c7ed3 100644 --- a/dali/public-api/events/long-press-gesture-detector.cpp +++ b/dali/public-api/events/long-press-gesture-detector.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2018 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. @@ -24,8 +24,6 @@ namespace Dali { -const char* const LongPressGestureDetector::SIGNAL_LONG_PRESS_DETECTED = "long-press-detected"; - LongPressGestureDetector::LongPressGestureDetector(Internal::LongPressGestureDetector* internal) : GestureDetector(internal) { @@ -42,14 +40,14 @@ LongPressGestureDetector LongPressGestureDetector::New() return LongPressGestureDetector(internal.Get()); } -LongPressGestureDetector LongPressGestureDetector::New(unsigned int touchesRequired) +LongPressGestureDetector LongPressGestureDetector::New(uint32_t touchesRequired) { Internal::LongPressGestureDetectorPtr internal = Internal::LongPressGestureDetector::New(touchesRequired); return LongPressGestureDetector(internal.Get()); } -LongPressGestureDetector LongPressGestureDetector::New(unsigned int minTouches, unsigned int maxTouches) +LongPressGestureDetector LongPressGestureDetector::New(uint32_t minTouches, uint32_t maxTouches) { Internal::LongPressGestureDetectorPtr internal = Internal::LongPressGestureDetector::New(minTouches, maxTouches); @@ -76,27 +74,27 @@ LongPressGestureDetector& LongPressGestureDetector::operator=(const LongPressGes return *this; } -void LongPressGestureDetector::SetTouchesRequired(unsigned int touches) +void LongPressGestureDetector::SetTouchesRequired(uint32_t touches) { GetImplementation(*this).SetTouchesRequired(touches); } -void LongPressGestureDetector::SetTouchesRequired(unsigned int minTouches, unsigned int maxTouches) +void LongPressGestureDetector::SetTouchesRequired(uint32_t minTouches, uint32_t maxTouches) { GetImplementation(*this).SetTouchesRequired(minTouches, maxTouches); } -unsigned int LongPressGestureDetector::GetMinimumTouchesRequired() const +uint32_t LongPressGestureDetector::GetMinimumTouchesRequired() const { return GetImplementation(*this).GetMinimumTouchesRequired(); } -unsigned int LongPressGestureDetector::GetMaximumTouchesRequired() const +uint32_t LongPressGestureDetector::GetMaximumTouchesRequired() const { return GetImplementation(*this).GetMaximumTouchesRequired(); } -LongPressGestureDetector::DetectedSignalV2& LongPressGestureDetector::DetectedSignal() +LongPressGestureDetector::DetectedSignalType& LongPressGestureDetector::DetectedSignal() { return GetImplementation(*this).DetectedSignal(); }