Apply deprecate macro and LOG
[platform/core/uifw/dali-core.git] / dali / public-api / events / touch-event.h
index d6b5465..45d6498 100644 (file)
  */
 
 // INTERNAL INCLUDES
-#include <dali/public-api/common/vector-wrapper.h>
 #include <dali/public-api/common/dali-common.h>
 #include <dali/public-api/events/touch-point.h>
 
 namespace Dali
 {
 /**
+ * @addtogroup dali_core_events
+ * @{
+ */
+
+/**
+ * @DEPRECATED_1_1.37 Use TouchData instead
+ *
  * @brief Touch events are a collection of touch points at a specific moment in time.
  *
  * When a multi-touch event occurs, each touch point represents the points that are currently being
  * touched or the points where a touch has stopped.
+ * @SINCE_1_0.0
  */
 struct DALI_IMPORT_API TouchEvent
 {
   // Construction & Destruction
 
   /**
+   * @DEPRECATED_1_1.37
    * @brief Default constructor
+   * @SINCE_1_0.0
    */
-  TouchEvent();
+  TouchEvent() DALI_DEPRECATED_API;
 
   /**
+   * @DEPRECATED_1_1.37
    * @brief Constructor
-   * @param[in]  time  The time the event occurred
+   * @SINCE_1_0.0
+   * @param[in] time The time the event occurred
    */
-  TouchEvent(unsigned long time);
+  TouchEvent(unsigned long time) DALI_DEPRECATED_API;
 
   /**
+   * @DEPRECATED_1_1.37
    * @brief Destructor
+   * @SINCE_1_0.0
    */
-  ~TouchEvent();
+  ~TouchEvent() DALI_DEPRECATED_API;
 
   // Data
 
   /**
+   * @DEPRECATED_1_1.37
    * @brief This is a container of points for this touch event.
    *
    * The first point in the set is always the
@@ -62,6 +76,7 @@ struct DALI_IMPORT_API TouchEvent
   TouchPointContainer points;
 
   /**
+   * @DEPRECATED_1_1.37
    * @brief The time (in ms) that the touch event occurred.
    */
   unsigned long time;
@@ -69,25 +84,32 @@ struct DALI_IMPORT_API TouchEvent
   // Convenience Methods
 
   /**
+   * @DEPRECATED_1_1.37
    * @brief Returns the total number of points in this TouchEvent.
    *
+   * @SINCE_1_0.0
    * @return Total number of Points.
    */
-  unsigned int GetPointCount() const;
+  unsigned int GetPointCount() const DALI_DEPRECATED_API;
 
   /**
+   * @DEPRECATED_1_1.37
    * @brief Returns a touch point at the index requested.
    *
    * The first point in the set is always the primary
    * touch point (i.e. the first point touched in a multi-touch event).
-   * @note "point" should be less than the value returned by GetPointCount().
-   *       If out of range, then program asserts.
+   * @SINCE_1_0.0
    * @param[in] point The index of the required Point.
    * @return Point requested
+   * @note "point" should be less than the value returned by GetPointCount().
+   *       If out of range, then program asserts.
    */
-  const TouchPoint& GetPoint(unsigned int point) const;
+  const TouchPoint& GetPoint(unsigned int point) const DALI_DEPRECATED_API;
 };
 
+/**
+ * @}
+ */
 } // namespace Dali
 
 #endif // __DALI_TOUCH_EVENT_H__