summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
81a412e)
Change-Id: I05b99d199ddd3025998edb1eaa962e3ea0adfcec
*
* To be used as a proxy object, in those situations where you want to return an address in
* a different bridge (embedding for example), but the object itself isn't planned to be used
*
* To be used as a proxy object, in those situations where you want to return an address in
* a different bridge (embedding for example), but the object itself isn't planned to be used
- * otherwise. This object has no parent, no children, an empty name and so on.
+ * otherwise. This object has a settable parent, no children, an empty name and so on.
*/
class DALI_ADAPTOR_API ProxyAccessible : public virtual Accessible
{
public:
*/
class DALI_ADAPTOR_API ProxyAccessible : public virtual Accessible
{
public:
- ProxyAccessible() = default;
-
- ProxyAccessible(Address address)
- : mAddress(std::move(address))
+ ProxyAccessible()
+ : mAddress{},
+ mParent{nullptr}
{
}
void SetAddress(Address address)
{
{
}
void SetAddress(Address address)
{
- this->mAddress = std::move(address);
+ mAddress = std::move(address);
+ }
+
+ void SetParent(Accessible* parent)
+ {
+ mParent = parent;
}
std::string GetName() const override
}
std::string GetName() const override
Accessible* GetParent() override
{
Accessible* GetParent() override
{
}
size_t GetChildCount() const override
}
size_t GetChildCount() const override
+ Address mAddress;
+ Accessible* mParent;
};
} // namespace Dali::Accessibility
};
} // namespace Dali::Accessibility