#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.
// INTERNAL INCLUDES
#include <dali/public-api/events/gesture-detector.h>
-#include <dali/public-api/signals/dali-signal-v2.h>
+#include <dali/public-api/signals/dali-signal.h>
namespace Dali
{
* @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
* @pre The gesture detector has been initialized.
* @return The signal to connect to.
*/
- DetectedSignalV2& DetectedSignal();
+ DetectedSignalType& DetectedSignal();
public: // Not intended for Application developers