From 0da543e0409987d662ff147bc08a59ff3ab8dc61 Mon Sep 17 00:00:00 2001 From: Adeel Kazmi Date: Fri, 7 Oct 2016 18:19:00 +0100 Subject: [PATCH] Elaborated on some of the TouchData documenation Change-Id: I2dc4dd464b4d0567f15d4ecbacac768de0ff2474 --- dali/public-api/events/touch-data.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dali/public-api/events/touch-data.h b/dali/public-api/events/touch-data.h index 9eedd3b..100d068 100644 --- a/dali/public-api/events/touch-data.h +++ b/dali/public-api/events/touch-data.h @@ -51,7 +51,11 @@ struct Vector2; * * The first point is the primary point that's used for hit-testing. * @SINCE_1_1.37 - * @note Should not use this in a TouchData container as it is just a handle and the internal object can change. + * @note As this is a handle to an internal object, it should not be copied (or used in a container) as all that will do is copy the handle to the same object. + * The internal object can change which may not be what an application writer expects. + * If data does need to be stored in the application, then only the required data should be saved (retrieved using the methods of this class). + * + * Should not use this in a TouchData container as it is just a handle and the internal object can change. */ class DALI_IMPORT_API TouchData : public BaseHandle { -- 2.7.4