X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fpublic-api%2Fevents%2Ftap-gesture-detector.cpp;h=e979fb7d901d6dddb9e53bf27c09f848c95313e7;hb=646f736e77b085c86e982c0d1d4b895c2a431330;hp=9661f4d63516c70982940b6770438d580e6b6203;hpb=ea86ef9851ff0868616ea28825d9f257dd96cf88;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/public-api/events/tap-gesture-detector.cpp b/dali/public-api/events/tap-gesture-detector.cpp index 9661f4d..e979fb7 100644 --- a/dali/public-api/events/tap-gesture-detector.cpp +++ b/dali/public-api/events/tap-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. @@ -39,9 +39,9 @@ TapGestureDetector TapGestureDetector::New() return TapGestureDetector(internal.Get()); } -TapGestureDetector TapGestureDetector::New(unsigned int tapsRequired, unsigned int touchesRequired) +TapGestureDetector TapGestureDetector::New(uint32_t tapsRequired ) { - Internal::TapGestureDetectorPtr internal = Internal::TapGestureDetector::New(tapsRequired, touchesRequired); + Internal::TapGestureDetectorPtr internal = Internal::TapGestureDetector::New( tapsRequired ); return TapGestureDetector(internal.Get()); } @@ -66,24 +66,24 @@ TapGestureDetector& TapGestureDetector::operator=(const TapGestureDetector& rhs) return *this; } -void TapGestureDetector::SetTapsRequired(unsigned int taps) +void TapGestureDetector::SetMinimumTapsRequired(uint32_t taps) { - GetImplementation(*this).SetTapsRequired(taps); + GetImplementation(*this).SetMinimumTapsRequired(taps); } -void TapGestureDetector::SetTouchesRequired(unsigned int touches) +void TapGestureDetector::SetMaximumTapsRequired(uint32_t taps) { - GetImplementation(*this).SetTouchesRequired(touches); + GetImplementation(*this).SetMaximumTapsRequired(taps); } -unsigned int TapGestureDetector::GetTapsRequired() const +uint32_t TapGestureDetector::GetMinimumTapsRequired() const { - return GetImplementation(*this).GetTapsRequired(); + return GetImplementation(*this).GetMinimumTapsRequired(); } -unsigned int TapGestureDetector::GetTouchesRequired() const +uint32_t TapGestureDetector::GetMaximumTapsRequired() const { - return GetImplementation(*this).GetTouchesRequired(); + return GetImplementation(*this).GetMaximumTapsRequired(); } TapGestureDetector::DetectedSignalType& TapGestureDetector::DetectedSignal()