Change the year of Copyright
[platform/core/api/inputmethod.git] / inputmethod / include / inputmethod_private.h
1 /*
2  * Copyright (c) 2014-2021 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 #ifndef __TIZEN_UIX_INPUTMETHOD_PRIVATE_H__
18 #define __TIZEN_UIX_INPUTMETHOD_PRIVATE_H__
19
20 struct _ime_context {
21         Ecore_IMF_Input_Panel_Layout layout;    /**< Input panel (keyboard) layout types */
22         int layout_variation;                   /**< Layout variation */
23         int cursor_pos;                         /**< Cursor position in edit field */
24         Ecore_IMF_Autocapital_Type autocapital_type;    /**< Auto capital mode */
25         Ecore_IMF_Input_Panel_Return_Key_Type return_key_type;  /**< "Return" key types */
26         Eina_Bool return_key_disabled;          /**< The state of "Return" key */
27         Eina_Bool prediction_allow;             /**< Boolean to allow predictive text */
28         Eina_Bool password_mode;                /**< Password input mode of edit field */
29         int imdata_size;                        /**< The size of application specific data to input panel */
30         Ecore_IMF_Input_Hints input_hint;       /**< Edit field hint */
31         Ecore_IMF_BiDi_Direction bidi_direction;/**< Bidirectional mode */
32         Ecore_IMF_Input_Panel_Lang language;    /**< Preferred input language */
33         unsigned int client_window;             /**< Client application window object */
34         Eina_Bool caps_mode;                    /**< Caps mode */
35 };
36
37 struct _ime_device_info {
38         const char *dev_name;                   /**< The device name */
39         Ecore_IMF_Device_Class dev_class;       /**< The device class */
40         Ecore_IMF_Device_Subclass dev_subclass; /**< The device subclass */
41 };
42
43 void ime_privilege_cache_init();
44
45 #endif /* __TIZEN_UIX_INPUTMETHOD_PRIVATE_H__ */
46