forked from enlightenment/efl
ecore-wl2: Add prototype functions to support data listener
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
7eabcd955e
commit
31b014de6b
|
@ -456,14 +456,68 @@ static const struct wl_touch_listener _touch_listener =
|
||||||
_touch_cb_cancel
|
_touch_cb_cancel
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static void
|
||||||
|
_data_cb_offer(void *data, struct wl_data_device *data_device, struct wl_data_offer *offer)
|
||||||
|
{
|
||||||
|
Ecore_Wl2_Input *input;
|
||||||
|
|
||||||
|
input = data;
|
||||||
|
if (!input) return;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
_data_cb_enter(void *data, struct wl_data_device *data_device, unsigned int timestmap, struct wl_surface *surface, wl_fixed_t x, wl_fixed_t y, struct wl_data_offer *offer)
|
||||||
|
{
|
||||||
|
Ecore_Wl2_Input *input;
|
||||||
|
|
||||||
|
input = data;
|
||||||
|
if (!input) return;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
_data_cb_leave(void *data, struct wl_data_device *data_device)
|
||||||
|
{
|
||||||
|
Ecore_Wl2_Input *input;
|
||||||
|
|
||||||
|
input = data;
|
||||||
|
if (!input) return;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
_data_cb_motion(void *data, struct wl_data_device *data_device, unsigned int timestamp, wl_fixed_t x, wl_fixed_t y)
|
||||||
|
{
|
||||||
|
Ecore_Wl2_Input *input;
|
||||||
|
|
||||||
|
input = data;
|
||||||
|
if (!input) return;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
_data_cb_drop(void *data, struct wl_data_device *data_device)
|
||||||
|
{
|
||||||
|
Ecore_Wl2_Input *input;
|
||||||
|
|
||||||
|
input = data;
|
||||||
|
if (!input) return;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
_data_cb_selection(void *data, struct wl_data_device *data_device, struct wl_data_offer *offer)
|
||||||
|
{
|
||||||
|
Ecore_Wl2_Input *input;
|
||||||
|
|
||||||
|
input = data;
|
||||||
|
if (!input) return;
|
||||||
|
}
|
||||||
|
|
||||||
static const struct wl_data_device_listener _data_listener =
|
static const struct wl_data_device_listener _data_listener =
|
||||||
{
|
{
|
||||||
NULL, // data offer
|
_data_cb_offer,
|
||||||
NULL, // data enter
|
_data_cb_enter,
|
||||||
NULL, // data leave
|
_data_cb_leave,
|
||||||
NULL, // data motion
|
_data_cb_motion,
|
||||||
NULL, // data drop
|
_data_cb_drop,
|
||||||
NULL, // data selection
|
_data_cb_selection
|
||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue