projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[AT-SPI] Add Bridge::{Enabled,Disabled}Signal()
[platform/core/uifw/dali-adaptor.git]
/
dali
/
devel-api
/
adaptor-framework
/
accessibility-impl.h
diff --git
a/dali/devel-api/adaptor-framework/accessibility-impl.h
b/dali/devel-api/adaptor-framework/accessibility-impl.h
index
6876dd6
..
34cc946
100644
(file)
--- a/
dali/devel-api/adaptor-framework/accessibility-impl.h
+++ b/
dali/devel-api/adaptor-framework/accessibility-impl.h
@@
-73,6
+73,8
@@
struct DALI_ADAPTOR_API Bridge
/**
* @brief Gets bus name which bridge is initialized on.
/**
* @brief Gets bus name which bridge is initialized on.
+ *
+ * @return The bus name
*/
virtual const std::string& GetBusName() const = 0;
*/
virtual const std::string& GetBusName() const = 0;
@@
-362,6
+364,16
@@
struct DALI_ADAPTOR_API Bridge
*/
static void EnableAutoInit();
*/
static void EnableAutoInit();
+ static Signal<void()>& EnabledSignal()
+ {
+ return mEnabledSignal;
+ }
+
+ static Signal<void()>& DisabledSignal()
+ {
+ return mDisabledSignal;
+ }
+
protected:
struct Data
{
protected:
struct Data
{
@@
-380,7
+392,10
@@
protected:
ENABLED
};
ENABLED
};
- inline static AutoInitState autoInitState = AutoInitState::ENABLED;
+ inline static AutoInitState mAutoInitState = AutoInitState::ENABLED;
+
+ inline static Signal<void()> mEnabledSignal;
+ inline static Signal<void()> mDisabledSignal;
/**
* @brief Registers accessible object to be known in bridge object.
/**
* @brief Registers accessible object to be known in bridge object.
@@
-1002,7
+1017,7
@@
public:
virtual Accessible* GetAccessibleAtPoint(Point point, CoordinateType type);
/**
virtual Accessible* GetAccessibleAtPoint(Point point, CoordinateType type);
/**
- * @brief Checks if
current object contains given point
.
+ * @brief Checks if
the current object contains the given point inside
.
*
* @param[in] point The two-dimensional point
* @param[in] type The enumeration with type of coordinate system
*
* @param[in] point The two-dimensional point
* @param[in] type The enumeration with type of coordinate system
@@
-1012,7
+1027,7
@@
public:
* @remarks This method is `Contains` in DBus method.
* @see Dali::Accessibility::Point
*/
* @remarks This method is `Contains` in DBus method.
* @see Dali::Accessibility::Point
*/
- virtual bool IsAccessibleContain
edAt
Point(Point point, CoordinateType type);
+ virtual bool IsAccessibleContain
ing
Point(Point point, CoordinateType type);
};
/**
};
/**