#ifndef ewk_view_internal_h
#define ewk_view_internal_h
+#include <stdbool.h>
+
#include "ewk_app_installation_request_internal.h"
#include "ewk_auth_challenge_internal.h"
#include "ewk_context_internal.h"
};
typedef enum Ewk_Mouse_Button_Type Ewk_Mouse_Button_Type;
+typedef enum _EwkMediaDeviceType{
+ MEDIA_DEVICE_TYPE_AUDIO_INPUT,
+ MEDIA_DEVICE_TYPE_VIDEO_INPUT,
+ MEDIA_DEVICE_TYPE_AUDIO_OUTPUT,
+ NUM_MEDIA_DEVICE_TYPES,
+} EwkMediaDeviceType;
+
+typedef struct _EwkMediaDeviceInfo{
+ const char* device_id;
+ const char* label;
+ EwkMediaDeviceType type;
+ bool connected;
+} EwkMediaDeviceInfo;
+
/// Ewk view's class, to be overridden by sub-classes.
struct Ewk_View_Smart_Class {
Evas_Smart_Class sc; /**< all but 'data' is free to be changed. */
*/
typedef void (*Ewk_View_SmartRC_Mic_Notification_Callback)(Evas_Object *o, Eina_Bool show, void *user_data);
+typedef void (*Ewk_Media_Device_List_Get_Callback)(EwkMediaDeviceInfo* device_list, int size, void* user_data);
+
/**
* The version you have to put into the version field
* in the @a Ewk_View_Smart_Class structure.
int x,
int y);
+/**
+ * Sends mouse out event.
+ *
+ * @since_tizen 6.0
+ *
+ * @param[in] o view object
+ */
+EXPORT_API void ewk_view_feed_mouse_out(Evas_Object* o);
+
+/**
+ * @brief Sends key event.
+ *
+ * @since_tizen 2.4
+ *
+ * @param[in] o The view object
+ * @param[in] key_event Evas_Event_Key_Down struct or Evas_Event_Key_Up struct
+ * @param[in] is_press EINA_TRUE: keydown, EINA_FALSE: keyup
+ * @return @c EINA_TRUE on success, otherwise @c EINA_FALSE
+ */
+EXPORT_API Eina_Bool ewk_view_send_key_event(Evas_Object* o,
+ void* key_event,
+ Eina_Bool is_press);
+
+EXPORT_API void ewk_view_media_device_list_get(Evas_Object* o, Ewk_Media_Device_List_Get_Callback callback, void* user_data);
+
#ifdef __cplusplus
}
#endif