summaryrefslogtreecommitdiff
path: root/src/modules/ecore_imf/scim/scim_imcontext.h
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2013-01-09 16:46:58 +0000
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2013-01-09 16:46:58 +0000
commitf0a7a2a75170043bb3c44e511cc3558dc585293c (patch)
tree336dc691ac38c20bcfa178001566905c254f356a /src/modules/ecore_imf/scim/scim_imcontext.h
parentcde6032c2eab72c8e694a9c59ee241bfe7042526 (diff)
efl: move ecore/immodules to ecore_imf
Move both the source tree and the install directory. SVN revision: 82474
Diffstat (limited to 'src/modules/ecore_imf/scim/scim_imcontext.h')
-rw-r--r--src/modules/ecore_imf/scim/scim_imcontext.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/modules/ecore_imf/scim/scim_imcontext.h b/src/modules/ecore_imf/scim/scim_imcontext.h
new file mode 100644
index 0000000..72533e2
--- /dev/null
+++ b/src/modules/ecore_imf/scim/scim_imcontext.h
@@ -0,0 +1,42 @@
1#ifndef __ISF_IMF_CONTEXT_H
2#define __ISF_IMF_CONTEXT_H
3
4#include <Ecore_IMF.h>
5
6typedef struct _EcoreIMFContextISF EcoreIMFContextISF;
7typedef struct _EcoreIMFContextISFImpl EcoreIMFContextISFImpl;
8
9struct _EcoreIMFContextISF {
10 Ecore_IMF_Context *ctx;
11
12 EcoreIMFContextISFImpl *impl;
13
14 int id; /* Input Context id*/
15 struct _EcoreIMFContextISF *next;
16};
17
18void isf_imf_context_add (Ecore_IMF_Context *ctx);
19void isf_imf_context_del (Ecore_IMF_Context *ctx);
20void isf_imf_context_client_window_set (Ecore_IMF_Context *ctx, void *window);
21void isf_imf_context_client_canvas_set (Ecore_IMF_Context *ctx, void *window);
22void isf_imf_context_focus_in (Ecore_IMF_Context *ctx);
23void isf_imf_context_focus_out (Ecore_IMF_Context *ctx);
24void isf_imf_context_reset (Ecore_IMF_Context *ctx);
25void isf_imf_context_cursor_position_set (Ecore_IMF_Context *ctx, int cursor_pos);
26void isf_imf_context_cursor_location_set (Ecore_IMF_Context *ctx, int x, int y, int w, int h);
27void isf_imf_context_input_mode_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Mode input_mode);
28void isf_imf_context_preedit_string_get (Ecore_IMF_Context *ctx, char** str, int *cursor_pos);
29void isf_imf_context_preedit_string_with_attributes_get (Ecore_IMF_Context *ctx, char** str, Eina_List **attrs, int *cursor_pos);
30void isf_imf_context_use_preedit_set (Ecore_IMF_Context* ctx, Eina_Bool use_preedit);
31Eina_Bool isf_imf_context_filter_event (Ecore_IMF_Context *ctx, Ecore_IMF_Event_Type type, Ecore_IMF_Event *event);
32void isf_imf_context_prediction_allow_set (Ecore_IMF_Context* ctx, Eina_Bool prediction);
33void isf_imf_context_autocapital_type_set (Ecore_IMF_Context* ctx, Ecore_IMF_Autocapital_Type autocapital_type);
34void isf_imf_context_input_panel_layout_set (Ecore_IMF_Context* ctx, Ecore_IMF_Input_Panel_Layout layout);
35void isf_imf_context_input_panel_show(Ecore_IMF_Context *ctx);
36void isf_imf_context_input_panel_hide(Ecore_IMF_Context *ctx);
37
38EcoreIMFContextISF* isf_imf_context_new (void);
39void isf_imf_context_shutdown (void);
40
41#endif /* __ISF_IMF_CONTEXT_H */
42