class DALI_ADAPTOR_API Component;
class DALI_ADAPTOR_API Collection;
class DALI_ADAPTOR_API Action;
+class DALI_ADAPTOR_API Application;
/**
* @brief Base class for different accessibility bridges.
virtual Accessible* FindByPath(const std::string& path) const = 0;
/**
- * @brief Shows application on accessibility bus.
+ * @brief Notifies accessibility dbus that window has just been shown.
*/
- virtual void ApplicationShown() = 0;
+ virtual void WindowShown() = 0;
/**
- * @brief Hides application on accessibility bus.
+ * @brief Notifies accessibility dbus that window has just been hidden.
*/
- virtual void ApplicationHidden() = 0;
+ virtual void WindowHidden() = 0;
/**
* @brief Initializes accessibility bus.
{
return ForceUpResult::ALREADY_UP;
}
- mData = std::make_shared<Data>();
+ mData = std::make_shared<Data>();
mData->mBridge = this;
return ForceUpResult::JUST_STARTED;
}
virtual void EmitTextChanged(Accessible* obj, TextChangedState state, unsigned int position, unsigned int length, const std::string& content) = 0;
/**
+ * @brief Emits MoveOuted event on at-spi bus.
+ *
+ * @param[in] obj Accessible object
+ * @param[in] type Direction type when an Accessible object moves out of screen
+ **/
+ virtual void EmitMovedOutOfScreen(Accessible* obj, ScreenRelativeMoveType type) = 0;
+
+ /**
* @brief Emits state-changed event on at-spi bus.
*
* @param[in] obj The accessible object
void EmitTextCursorMoved(unsigned int cursorPosition);
/**
+ * @brief Emits "MoveOuted" event.
+ *
+ * @param[in] type moved out of screen type
+ */
+ void EmitMovedOutOfScreen(ScreenRelativeMoveType type);
+
+ /**
* @brief Emits "highlighted" event.
*
* @param[in] event The enumerated window event
};
/**
+ * @brief An interface identifying the root object
+ * associated with a running application.
+ *
+ * @note Provides global properties describing
+ * application's runtime environment.
+ */
+class Application : public virtual Accessible
+{
+public:
+ /**
+ * @brief Gets name of graphic user interface framework used by an application.
+ *
+ * @return String with name
+ */
+ virtual std::string GetToolkitName() = 0;
+
+ /**
+ * @brief Gets version of graphic user interface framework used by an application.
+ *
+ * @return String with version
+ */
+ virtual std::string GetVersion() = 0;
+};
+
+/**
* @brief Interface enabling advanced quering of accessibility objects.
*
* @note since all mathods can be implemented inside bridge,