diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/ecore/src/modules/immodules/scim/scim_imcontext.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/libraries/ecore/src/modules/immodules/scim/scim_imcontext.h b/libraries/ecore/src/modules/immodules/scim/scim_imcontext.h new file mode 100644 index 0000000..84f1a2f --- /dev/null +++ b/libraries/ecore/src/modules/immodules/scim/scim_imcontext.h | |||
@@ -0,0 +1,40 @@ | |||
1 | #ifndef __ISF_IMF_CONTEXT_H | ||
2 | #define __ISF_IMF_CONTEXT_H | ||
3 | |||
4 | #include <Ecore_IMF.h> | ||
5 | |||
6 | typedef struct _EcoreIMFContextISF EcoreIMFContextISF; | ||
7 | typedef struct _EcoreIMFContextISFImpl EcoreIMFContextISFImpl; | ||
8 | |||
9 | struct _EcoreIMFContextISF { | ||
10 | Ecore_IMF_Context *ctx; | ||
11 | |||
12 | EcoreIMFContextISFImpl *impl; | ||
13 | |||
14 | int id; /* Input Context id*/ | ||
15 | struct _EcoreIMFContextISF *next; | ||
16 | }; | ||
17 | |||
18 | void isf_imf_context_add (Ecore_IMF_Context *ctx); | ||
19 | void isf_imf_context_del (Ecore_IMF_Context *ctx); | ||
20 | void isf_imf_context_client_window_set (Ecore_IMF_Context *ctx, void *window); | ||
21 | void isf_imf_context_client_canvas_set (Ecore_IMF_Context *ctx, void *window); | ||
22 | void isf_imf_context_focus_in (Ecore_IMF_Context *ctx); | ||
23 | void isf_imf_context_focus_out (Ecore_IMF_Context *ctx); | ||
24 | void isf_imf_context_reset (Ecore_IMF_Context *ctx); | ||
25 | void isf_imf_context_cursor_position_set (Ecore_IMF_Context *ctx, int cursor_pos); | ||
26 | void isf_imf_context_cursor_location_set (Ecore_IMF_Context *ctx, int x, int y, int w, int h); | ||
27 | void isf_imf_context_input_mode_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Mode input_mode); | ||
28 | void isf_imf_context_preedit_string_get (Ecore_IMF_Context *ctx, char** str, int *cursor_pos); | ||
29 | void isf_imf_context_preedit_string_with_attributes_get (Ecore_IMF_Context *ctx, char** str, Eina_List **attrs, int *cursor_pos); | ||
30 | void isf_imf_context_use_preedit_set (Ecore_IMF_Context* ctx, Eina_Bool use_preedit); | ||
31 | Eina_Bool isf_imf_context_filter_event (Ecore_IMF_Context *ctx, Ecore_IMF_Event_Type type, Ecore_IMF_Event *event); | ||
32 | void isf_imf_context_prediction_allow_set (Ecore_IMF_Context* ctx, Eina_Bool prediction); | ||
33 | void isf_imf_context_autocapital_type_set (Ecore_IMF_Context* ctx, Ecore_IMF_Autocapital_Type autocapital_type); | ||
34 | void isf_imf_context_input_panel_layout_set (Ecore_IMF_Context* ctx, Ecore_IMF_Input_Panel_Layout layout); | ||
35 | |||
36 | EcoreIMFContextISF* isf_imf_context_new (void); | ||
37 | void isf_imf_context_shutdown (void); | ||
38 | |||
39 | #endif /* __ISF_IMF_CONTEXT_H */ | ||
40 | |||