Create string tightly when retrive string from cbhm callback event
[framework/web/webkit-efl.git] / Source / WebKit2 / UIProcess / API / efl / ewk_enums.h
1 /*
2  * Copyright (C) 2012 Samsung Electronics
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public License
15  * along with this library; see the file COPYING.LIB.  If not, write to
16  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  * Boston, MA 02110-1301, USA.
18  */
19
20 #ifndef ewk_enums_h
21 #define ewk_enums_h
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 // #if OS(TIZEN)
28 /// Represents types of gesture.
29 enum _Ewk_Gesture_Type {
30     EWK_GESTURE_TAP,
31     EWK_GESTURE_LONG_PRESS,
32     EWK_GESTURE_PAN,
33     EWK_GESTURE_FLICK,
34     EWK_GESTURE_PINCH
35 };
36 /// Creates a type name for @a _Ewk_Gesture_Type.
37 typedef enum _Ewk_Gesture_Type Ewk_Gesture_Type;
38 // #endif // #if OS(TIZEN)
39
40 //#if ENABLE(TIZEN_ORIENTATION_EVENTS)
41 enum _Ewk_Screen_Orientation {
42     EWK_SCREEN_ORIENTATION_PORTRAIT_PRIMARY = 1,
43     EWK_SCREEN_ORIENTATION_LANDSCAPE_PRIMARY = 1 << 1,
44     EWK_SCREEN_ORIENTATION_PORTRAIT_SECONDARY = 1 << 2,
45     EWK_SCREEN_ORIENTATION_LANDSCAPE_SECONDARY = 1 << 3
46 };
47 typedef enum _Ewk_Screen_Orientation Ewk_Screen_Orientation;
48 //#endif
49
50 #ifdef __cplusplus
51 }
52 #endif
53
54 #endif // ewk_enums_h