From 554959a1ec35d2fdacbe57161a5d56b44bae456e Mon Sep 17 00:00:00 2001 From: "dongsug.song" Date: Thu, 3 May 2018 19:41:19 +0900 Subject: [PATCH] Revert "[Tizen][ATSPI] Adds support for enumeration in Property::Value" This reverts commit 73d60dbcb98919afdb447746259f7c1ffcd10040. Change-Id: I156f5d55eb529ce312381523b26cc3bbbf28782a --- dali/public-api/object/property-value.h | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/dali/public-api/object/property-value.h b/dali/public-api/object/property-value.h index cb8d9a6..5f2fa8e 100644 --- a/dali/public-api/object/property-value.h +++ b/dali/public-api/object/property-value.h @@ -25,8 +25,6 @@ #include #include -#include - namespace Dali { /** @@ -188,15 +186,6 @@ public: Value( const Extents& extentsValue ); /** - * @brief Creates an enumeration property value. - * - * @SINCE_1_2.62 - * @param[in] extentsValue A collection of 4 uint16_t values - */ - template ::type>::type>::value>::type* = nullptr> - Value(T t) : Value(static_cast(t)) { } - - /** * @brief Explicitly sets a type and initialize it. * * @SINCE_1_0.0 @@ -240,7 +229,7 @@ public: /** * @brief Retrieves a specific value. * - * Works on a best-effort approach; if value type is different returns a default value of the type. + * Works on a best-effort approach; if value type is not convertible returns a default value of the type. * * @SINCE_1_0.0 * @return A value of type T @@ -254,22 +243,6 @@ public: } /** - * @brief Retrieves an enumeration value. - * - * @SINCE_1_0.0 - * @param[out] boolValue On return, an enumeration value - * @return @c true if the value is successfully retrieved, @c false if the type is different - * @pre GetType() is a type convertible to bool. - */ - template ::type>::type>::value>::type* = nullptr> - bool Get(T &t) const - { - int temp = 0; - if (!Get(temp)) return false; - t = static_cast(temp); - return true; - } - /** * @brief Retrieves a boolean value. * * @SINCE_1_0.0 -- 2.7.4