summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_internal.h
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2019-08-06 08:36:50 -0400
committerChristopher Michael <cp.michael@samsung.com>2019-08-06 08:40:41 -0400
commitb273bf7f9ab95c1dbf541938337abc12b06000fc (patch)
tree26ca4b7b411d08c7bba37d8f1121a81299211f14 /src/lib/ecore_wl2/ecore_wl2_internal.h
parentee25c66efffbb0adaff17119a8161ca9daa52eb8 (diff)
ecore_wl2: Move ecore_wl2_window_rotation_change functions to be
internal These functions are not used in efl wayland clients nor are they used in Enlightenment. As such, there is no reason that they need to be public API so this commit moves them to be Internal and updates Ecore_Evas engine code to include the internal header. ref T8013
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_internal.h')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_internal.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_internal.h b/src/lib/ecore_wl2/ecore_wl2_internal.h
new file mode 100644
index 0000000000..dbc2e6434f
--- /dev/null
+++ b/src/lib/ecore_wl2/ecore_wl2_internal.h
@@ -0,0 +1,43 @@
1#ifndef _ECORE_WL2_INTERNAL_H
2# define _ECORE_WL2_INTERNAL_H
3
4# ifdef EAPI
5# undef EAPI
6# endif
7
8# ifdef _WIN32
9# ifdef EFL_BUILD
10# ifdef DLL_EXPORT
11# define EAPI __declspec(dllexport)
12# else
13# define EAPI
14# endif
15# else
16# define EAPI __declspec(dllimport)
17# endif
18# else
19# ifdef __GNUC__
20# if __GNUC__ >= 4
21# define EAPI __attribute__ ((visibility("default")))
22# else
23# define EAPI
24# endif
25# else
26# define EAPI
27# endif
28# endif
29
30EAPI extern int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE; /** @since 1.20 */
31EAPI extern int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE; /** @since 1.20 */
32EAPI extern int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST; /** @since 1.20 */
33EAPI extern int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE; /** @since 1.20 */
34
35EAPI void ecore_wl2_window_rotation_change_prepare_send(Ecore_Wl2_Window *window, int rot, int w, int h, Eina_Bool resize);
36EAPI void ecore_wl2_window_rotation_change_prepare_done_send(Ecore_Wl2_Window *window, int rot);
37EAPI void ecore_wl2_window_rotation_change_request_send(Ecore_Wl2_Window *window, int rot);
38EAPI void ecore_wl2_window_rotation_change_done_send(Ecore_Wl2_Window *window, int rot, int w, int h);
39
40# undef EAPI
41# define EAPI
42
43#endif