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=d49e9b944e776d727cb50292b86135684cde77b4;hpb=6a51fca768ccd75d552b73c0a67056721dc86e44;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 d49e9b9..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) 2015 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. @@ -40,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); @@ -74,22 +74,22 @@ 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(); }