add missing files
[platform/core/uifw/libds-tizen.git] / include / libds-tizen / input_devicemgr.h
1 #ifndef LIBDS_TIZEN_INPUT_DEVICEMGR_H
2 #define LIBDS_TIZEN_INPUT_DEVICEMGR_H
3
4 #include <wayland-server.h>
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10 struct ds_tizen_input_devicemgr;
11 struct ds_backend;
12 struct ds_seat;
13
14 struct ds_tizen_input_devicemgr_keymap_data
15 {
16     char *name;
17     int keycode;
18
19     struct wl_list link;
20 };
21
22 struct ds_tizen_input_devicemgr *
23 ds_tizen_input_devicemgr_create(struct ds_backend *backend,
24         struct ds_seat *seat);
25
26 void
27 ds_tizen_input_devicemgr_add_destroy_listener(
28         struct ds_tizen_input_devicemgr *devicemgr,
29         struct wl_listener *listener);
30
31 bool
32 ds_tizen_input_devicemgr_set_keymap_list(
33         struct ds_tizen_input_devicemgr *devicemgr,
34         struct wl_list *list);
35
36 bool
37 ds_tizen_input_devicemgr_set_output_width_height(
38         struct ds_tizen_input_devicemgr *devicemgr,
39         uint32_t width, uint32_t height);
40 #ifdef __cplusplus
41 }
42 #endif
43
44 #endif