X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fpublic-api%2Fevents%2Flong-press-gesture-detector.h;h=d148792a8162a027f10e5b42cc88e32a9579aec4;hb=199d46a42f943543a9d43cc3166a0d8b7cf63fd4;hp=cb8dab80f826eb3e0bbccef51bbfdb4955f1951d;hpb=07ea065f32fd048ae0bbbac66df89f79bc957d3d;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/public-api/events/long-press-gesture-detector.h b/dali/public-api/events/long-press-gesture-detector.h index cb8dab8..d148792 100644 --- a/dali/public-api/events/long-press-gesture-detector.h +++ b/dali/public-api/events/long-press-gesture-detector.h @@ -2,7 +2,7 @@ #define __DALI_LONG_PRESS_GESTURE_DETECTOR_H__ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2015 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. @@ -20,7 +20,7 @@ // INTERNAL INCLUDES #include -#include +#include namespace Dali { @@ -48,15 +48,17 @@ struct LongPressGesture; * @endcode * * @see LongPressGesture + * + * Signals + * | %Signal Name | Method | + * |---------------------|-----------------------| + * | long-press-detected | @ref DetectedSignal() | */ class DALI_IMPORT_API LongPressGestureDetector : public GestureDetector { public: // Typedefs - typedef SignalV2< void ( Actor, const LongPressGesture& ) > DetectedSignalV2; ///< Gesture detected signal type - - //Signal Names - static const char* const SIGNAL_LONG_PRESS_DETECTED; ///< name "long-press-detected" + typedef Signal< void ( Actor, const LongPressGesture& ) > DetectedSignalType; ///< Gesture detected signal type public: // Creation & Destruction @@ -186,7 +188,7 @@ public: // Signals * @pre The gesture detector has been initialized. * @return The signal to connect to. */ - DetectedSignalV2& DetectedSignal(); + DetectedSignalType& DetectedSignal(); public: // Not intended for Application developers