X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fpublic-api%2Fevents%2Frotation-gesture-detector.h;h=185cb19603663ede8bb6bfe6ea5e1c4c73621c5b;hb=46df5dffa323ff29b7739df8346823263854948e;hp=eab0de2d5079eb810f34abf2dfbe34d5230bd853;hpb=019bc7f9921d519bb666bc465ae424f028751770;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/public-api/events/rotation-gesture-detector.h b/dali/public-api/events/rotation-gesture-detector.h index eab0de2..185cb19 100644 --- a/dali/public-api/events/rotation-gesture-detector.h +++ b/dali/public-api/events/rotation-gesture-detector.h @@ -24,13 +24,12 @@ namespace Dali { - namespace Internal DALI_INTERNAL { class RotationGestureDetector; } -struct RotationGesture; +class RotationGesture; /** * @brief This class looks for a rotation gesture involving two touches. @@ -57,14 +56,12 @@ struct RotationGesture; class DALI_CORE_API RotationGestureDetector : public GestureDetector { public: // Typedefs - /** * @brief Signal type. */ - typedef Signal< void ( Actor, const RotationGesture& ) > DetectedSignalType; + using DetectedSignalType = Signal; public: // Creation & Destruction - /** * @brief Creates an uninitialized RotationGestureDetector; this can be initialized with RotationGestureDetector::New(). * @@ -90,7 +87,7 @@ public: // Creation & Destruction * @param[in] handle Handle to an object * @return Handle to a RotationGestureDetector object or an uninitialized handle */ - static RotationGestureDetector DownCast( BaseHandle handle ); + static RotationGestureDetector DownCast(BaseHandle handle); /** * @brief Destructor. @@ -118,7 +115,6 @@ public: // Creation & Destruction RotationGestureDetector& operator=(const RotationGestureDetector& rhs); public: // Signals - /** * @brief This signal is emitted when the rotation gesture is detected on the attached actor. * @@ -133,7 +129,6 @@ public: // Signals DetectedSignalType& DetectedSignal(); public: // Not intended for Application developers - /// @cond internal /** * @brief This constructor is used by RotationGestureDetector::New() methods. @@ -143,7 +138,6 @@ public: // Not intended for Application developers */ explicit DALI_INTERNAL RotationGestureDetector(Internal::RotationGestureDetector* internal); /// @endcond - }; } // namespace Dali