[M67 Dev][API] Switch ewk_export.h with tizen.h
[platform/framework/web/chromium-efl.git] / tizen_src / ewk / efl_integration / public / ewk_enums_internal.h
1 // Copyright 2013 Samsung Electronics. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ewk_enums_internal_h
6 #define ewk_enums_internal_h
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 // #if OS(TIZEN)
13 /// Represents types of gesture.
14 enum _Ewk_Gesture_Type {
15     EWK_GESTURE_TAP,
16     EWK_GESTURE_LONG_PRESS,
17     EWK_GESTURE_PAN,
18     EWK_GESTURE_FLICK,
19     EWK_GESTURE_PINCH
20 };
21 /// Creates a type name for @a _Ewk_Gesture_Type.
22 typedef enum _Ewk_Gesture_Type Ewk_Gesture_Type;
23 // #endif // #if OS(TIZEN)
24
25 //#if ENABLE(TIZEN_ORIENTATION_EVENTS)
26 enum _Ewk_Screen_Orientation {
27     EWK_SCREEN_ORIENTATION_PORTRAIT_PRIMARY = 1,
28     EWK_SCREEN_ORIENTATION_LANDSCAPE_PRIMARY = 1 << 1,
29     EWK_SCREEN_ORIENTATION_PORTRAIT_SECONDARY = 1 << 2,
30     EWK_SCREEN_ORIENTATION_LANDSCAPE_SECONDARY = 1 << 3
31 };
32 typedef enum _Ewk_Screen_Orientation Ewk_Screen_Orientation;
33 //#endif
34
35 #ifdef __cplusplus
36 }
37 #endif
38
39 #endif // ewk_enums_internal_h