launch: merge header files in one (launch.h)
[platform/core/uifw/libds-tizen.git] / include / libds-tizen / screen_rotation.h
1 #ifndef LIBDS_TIZEN_SCREEN_ROTATION_H
2 #define LIBDS_TIZEN_SCREEN_ROTATION_H
3
4 #include <stdint.h>
5 #include <wayland-server.h>
6 #include <libds/surface.h>
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 struct ds_tizen_screen_rotation;
13 struct ds_tizen_screen_rotation_info;
14
15 struct ds_tizen_screen_rotation *
16 ds_tizen_screen_rotation_create(struct wl_display *display);
17
18 void
19 ds_tizen_screen_rotation_add_destroy_listener(
20         struct ds_tizen_screen_rotation *screen_rotation,
21         struct wl_listener *listener);
22
23 void
24 ds_tizen_screen_rotation_add_get_ignore_output_transform_info_listener(
25         struct ds_tizen_screen_rotation *screen_rotation,
26         struct wl_listener *listener);
27
28 void
29 ds_tizen_screen_rotation_info_add_destroy_listener(
30         struct ds_tizen_screen_rotation_info *info,
31         struct wl_listener *listener);
32
33 struct ds_surface *
34 ds_tizen_screen_rotation_info_get_surface(
35         struct ds_tizen_screen_rotation_info *info);
36
37 void
38 ds_tizen_screen_rotation_send_ignore_output_transform(
39         struct ds_tizen_screen_rotation_info *info, uint32_t ignore);
40
41 #ifdef __cplusplus
42 }
43 #endif
44
45 #endif