Update package version to 0.9.12
[platform/core/uifw/libscl-core.git] / src / sclcoretypes.h
1 /*
2  * Copyright (c) 2014 - 2015 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18 #ifndef __SCL_CORE_TYPES_H__
19 #define __SCL_CORE_TYPES_H__
20
21 #include <string>
22 #include <vector>
23
24 #include "scltypes.h"
25
26 namespace scl
27 {
28
29 typedef enum _SCLKeyMask
30 {
31     KEY_MASK_NULL       = 0,
32     KEY_MASK_SHIFT      = (1<<0),
33     KEY_MASK_RELEASE    = (1<<15),
34 } SCLKeyMask;
35
36 typedef enum _SCLOptionWindowType
37 {
38     OPTION_WINDOW_TYPE_NORMAL,
39     OPTION_WINDOW_TYPE_SETTING_APPLICATION,
40
41     OPTION_WINDOW_TYPE_MAX,
42 } SCLOptionWindowType;
43
44 typedef struct _SclCandidateTable {
45     sclint page_size;
46     sclint current_page_start;
47     sclint cursor_pos;
48     sclboolean cursor_visible;
49     sclboolean page_size_fixed;
50
51     std::vector<std::string> candidate_labels;
52     std::vector<std::string> candidate;
53 } SclCandidateTable;
54
55 }
56
57 //SCL_END_DECLS
58
59 #endif //__SCL_CORE_TYPES_H__