[ATSPI] Blocking unwanted emission of "MoveOuted" signal
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / adaptor-framework / accessibility.h
index a8d0d35..1f49d2b 100644 (file)
@@ -42,6 +42,17 @@ namespace Dali
 namespace Accessibility\r
 {\r
 /**\r
+ * @brief Enumeration describing type of object move relative to the screen. Only outgoing moves are signalled to AT-clients.\r
+ */\r
+enum class ScreenRelativeMoveType\r
+{\r
+  OUTSIDE               = 0, ///< Object moves outside of the screen\r
+  OUTGOING_TOP_LEFT     = 1, ///< Object moves out through the top(or left) side of the screen. Maps to: ATSPI_MOVE_OUTED_TOP_LEFT\r
+  OUTGOING_BOTTOM_RIGHT = 2, ///< Object moves out through the bottom(or right) side of the screen. Maps to: ATSPI_MOVE_OUTED_BOTTOM_RIGHT\r
+  INSIDE                     ///< Object moves into the screen or moves inside the screen\r
+};\r
+\r
+/**\r
  * @brief Enumeration describing a relation between accessible objects\r
  * 1 to 0..N relation model is supported. By default relation is not symmetrical.\r
  * Symmetry must be explicitly maintained.\r
@@ -77,9 +88,9 @@ enum class RelationType : uint32_t
 /**\r
  * @brief Enumeration describing if coordinates are relative to screen or window\r
  * @see Accessibility::Component::GetExtents\r
- * @see Accessibility::Component::Contains\r
+ * @see Accessibility::Component::IsAccessibleContainedAtPoint\r
  */\r
-enum class CoordType\r
+enum class CoordinateType\r
 {\r
   SCREEN, ///< Screen.\r
   WINDOW  ///< Window.\r
@@ -438,32 +449,32 @@ class BitSets
 {\r
   std::array<uint32_t, I> data;\r
 \r
-  void _set()\r
+  void Set()\r
   {\r
   }\r
 \r
-  static constexpr bool _accepts()\r
+  static constexpr bool Accepts()\r
   {\r
     return true;\r
   }\r
 \r
   template<typename T>\r
-  static constexpr bool _accepts()\r
+  static constexpr bool Accepts()\r
   {\r
     return std::is_enum<T>::value;\r
   }\r
 \r
   template<typename T, typename T2, typename... ARGS>\r
-  static constexpr bool _accepts()\r
+  static constexpr bool Accepts()\r
   {\r
-    return std::is_enum<T>::value && _accepts<T2, ARGS...>();\r
+    return std::is_enum<T>::value && Accepts<T2, ARGS...>();\r
   }\r
 \r
   template<typename T, typename... ARGS>\r
-  void _set(T t, ARGS... args)\r
+  void Set(T t, ARGS... args)\r
   {\r
     (*this)[t] = true;\r
-    _set(args...);\r
+    Set(args...);\r
   }\r
 \r
 public:\r
@@ -477,12 +488,12 @@ public:
   BitSets(const BitSets&) = default;\r
   BitSets(BitSets&&)      = default;\r
 \r
-  template<typename T, typename... ARGS, typename std::enable_if<_accepts<T, ARGS...>()>::type* = nullptr>\r
+  template<typename T, typename... ARGS, typename std::enable_if<Accepts<T, ARGS...>()>::type* = nullptr>\r
   BitSets(T t, ARGS... args)\r
   {\r
     for(auto& u : data)\r
       u = 0;\r
-    _set(t, args...);\r
+    Set(t, args...);\r
   }\r
 \r
   explicit BitSets(std::array<uint32_t, I> d)\r
@@ -742,7 +753,7 @@ struct DALI_ADAPTOR_API Size
 /**\r
  * @brief Helper class used to store data related with Accessibility::Text interface\r
  * @see Dali::Accessibility::Text::GetTextAtOffset\r
- * @see Dali::Accessibility::Text::GetSelection\r
+ * @see Dali::Accessibility::Text::GetRangeOfSelection\r
  */\r
 struct DALI_ADAPTOR_API Range\r
 {\r