static FinalizeHandler _finalize_handler;
-EXAPI EcoreIMFContextISF *
+EcoreIMFContextISF *
get_focused_ic ()
{
return _focused_ic;
}
-EXAPI int
+int
get_panel_client_id (void)
{
return _panel_client_id;
return ECORE_CALLBACK_PASS_ON;
}
-EXAPI int
+int
register_key_handler ()
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
return EXIT_SUCCESS;
}
-EXAPI int
+int
unregister_key_handler ()
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
return ret;
}
-EXAPI Eina_Bool
+Eina_Bool
caps_mode_check (Ecore_IMF_Context *ctx, Eina_Bool force, Eina_Bool noti)
{
Eina_Bool uppercase;
get_input_language ();
}
-EXAPI void context_scim_imdata_get (Ecore_IMF_Context *ctx, void* data, int* length)
+void context_scim_imdata_get (Ecore_IMF_Context *ctx, void* data, int* length)
{
EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get (ctx);
}
}
-EXAPI void
+void
imengine_layout_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Layout layout)
{
EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get (ctx);
*
* Return value: A pointer to the newly created EcoreIMFContextISF instance
*/
-EXAPI EcoreIMFContextISF *
+EcoreIMFContextISF *
isf_imf_context_new (void)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
* It will be called when the scim im module is unloaded by ecore. It will do some
* cleanup job.
*/
-EXAPI void
+void
isf_imf_context_shutdown (void)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
_scim_finalize ();
}
-EXAPI void
+void
isf_imf_context_add (Ecore_IMF_Context *ctx)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
SCIM_DEBUG_FRONTEND(2) << "input context created: id = " << context_scim->id << "\n";
}
-EXAPI void
+void
isf_imf_context_del (Ecore_IMF_Context *ctx)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
* may be used in order to correctly position status windows, and may also
* be used for purposes internal to the Input Method Context.
*/
-EXAPI void
+void
isf_imf_context_client_canvas_set (Ecore_IMF_Context *ctx, void *canvas)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
* This window is used in order to correctly position status windows,
* and may also be used for purposes internal to the Input Method Context.
*/
-EXAPI void
+void
isf_imf_context_client_window_set (Ecore_IMF_Context *ctx, void *window)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
*
* Notify the Input Method Context that the widget to which its correspond has gained focus.
*/
-EXAPI void
+void
isf_imf_context_focus_in (Ecore_IMF_Context *ctx)
{
EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get (ctx);
*
* Notify the Input Method Context that the widget to which its correspond has lost focus.
*/
-EXAPI void
+void
isf_imf_context_focus_out (Ecore_IMF_Context *ctx)
{
EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get (ctx);
* position has been made. This will typically cause the Input Method Context
* to clear the preedit state.
*/
-EXAPI void
+void
isf_imf_context_reset (Ecore_IMF_Context *ctx)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
*
* Notify the Input Method Context that a change in the cursor position has been made.
*/
-EXAPI void
+void
isf_imf_context_cursor_position_set (Ecore_IMF_Context *ctx, int cursor_pos)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
*
* Notify the Input Method Context that a change in the cursor location has been made.
*/
-EXAPI void
+void
isf_imf_context_cursor_location_set (Ecore_IMF_Context *ctx, int cx, int cy, int cw, int ch)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
* To set the input mode of input method. The definition of Ecore_IMF_Input_Mode
* is in Ecore_IMF.h.
*/
-EXAPI void
+void
isf_imf_context_input_mode_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Mode input_mode)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
*
* To get the preedit string of the input method.
*/
-EXAPI void
+void
isf_imf_context_preedit_string_get (Ecore_IMF_Context *ctx, char** str, int *cursor_pos)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
}
}
-EXAPI void
+void
isf_imf_context_preedit_string_with_attributes_get (Ecore_IMF_Context *ctx, char** str, Eina_List **attrs, int *cursor_pos)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
* If is 0 (default is 1), then the IM context may use some other method to
* display feedback, such as displaying it in a child of the root window.
*/
-EXAPI void
+void
isf_imf_context_use_preedit_set (Ecore_IMF_Context* ctx, Eina_Bool use_preedit)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " = " << (use_preedit == EINA_TRUE ? "true" : "false") << "...\n";
*
* Set whether the IM context should use the prediction.
*/
-EXAPI void
+void
isf_imf_context_prediction_allow_set (Ecore_IMF_Context* ctx, Eina_Bool prediction)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " = " << (prediction == EINA_TRUE ? "true" : "false") << "...\n";
*
* Return value: the prediction allow flag for the IM context
*/
-EXAPI Eina_Bool
+Eina_Bool
isf_imf_context_prediction_allow_get (Ecore_IMF_Context* ctx)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
*
* Set autocapital type for the IM context.
*/
-EXAPI void
+void
isf_imf_context_autocapital_type_set (Ecore_IMF_Context* ctx, Ecore_IMF_Autocapital_Type autocapital_type)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " = " << autocapital_type << "...\n";
* the event was not handled), but there is no obligation of any events to be
* submitted to this function.
*/
-EXAPI Eina_Bool
+Eina_Bool
isf_imf_context_filter_event (Ecore_IMF_Context *ctx, Ecore_IMF_Event_Type type, Ecore_IMF_Event *event)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
* @param[in] data pointer of data to sets up to ISE
* @param[in] length length of data
*/
-EXAPI void isf_imf_context_imdata_set (Ecore_IMF_Context *ctx, const void* data, int length)
+void isf_imf_context_imdata_set (Ecore_IMF_Context *ctx, const void* data, int length)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " data length ( " << length << ") ...\n";
EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get (ctx);
* @param[out] data pointer of data to return
* @param[out] length length of data
*/
-EXAPI void isf_imf_context_imdata_get (Ecore_IMF_Context *ctx, void* data, int* length)
+void isf_imf_context_imdata_get (Ecore_IMF_Context *ctx, void* data, int* length)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
isf_imf_context_input_panel_imdata_get (ctx, data, length);
}
-EXAPI void
+void
isf_imf_context_input_hint_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Hints hint)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
}
}
-EXAPI void
+void
isf_imf_context_bidi_direction_set (Ecore_IMF_Context *ctx, Ecore_IMF_BiDi_Direction direction)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
_EcoreIMFContextISF () : ctx(NULL), impl(NULL), id(0), next(NULL) {}
};
-EXAPI int register_key_handler ();
-EXAPI int unregister_key_handler ();
-
-EXAPI int get_panel_client_id ();
-EXAPI Eina_Bool caps_mode_check (Ecore_IMF_Context *ctx, Eina_Bool force, Eina_Bool noti);
-
-EXAPI EcoreIMFContextISF *get_focused_ic ();
-
-EXAPI void context_scim_imdata_get (Ecore_IMF_Context *ctx, void* data, int* length);
-EXAPI void imengine_layout_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Layout layout);
-
-EXAPI void isf_imf_context_add (Ecore_IMF_Context *ctx);
-EXAPI void isf_imf_context_del (Ecore_IMF_Context *ctx);
-EXAPI void isf_imf_context_client_window_set (Ecore_IMF_Context *ctx, void *window);
-EXAPI void isf_imf_context_client_canvas_set (Ecore_IMF_Context *ctx, void *window);
-EXAPI void isf_imf_context_focus_in (Ecore_IMF_Context *ctx);
-EXAPI void isf_imf_context_focus_out (Ecore_IMF_Context *ctx);
-EXAPI void isf_imf_context_reset (Ecore_IMF_Context *ctx);
-EXAPI void isf_imf_context_cursor_position_set (Ecore_IMF_Context *ctx, int cursor_pos);
-EXAPI void isf_imf_context_cursor_location_set (Ecore_IMF_Context *ctx, int x, int y, int w, int h);
-EXAPI void isf_imf_context_input_mode_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Mode input_mode);
-EXAPI void isf_imf_context_preedit_string_get (Ecore_IMF_Context *ctx, char** str, int *cursor_pos);
-EXAPI void isf_imf_context_preedit_string_with_attributes_get (Ecore_IMF_Context *ctx, char** str, Eina_List **attrs, int *cursor_pos);
-EXAPI void isf_imf_context_use_preedit_set (Ecore_IMF_Context* ctx, Eina_Bool use_preedit);
-EXAPI Eina_Bool isf_imf_context_filter_event (Ecore_IMF_Context *ctx, Ecore_IMF_Event_Type type, Ecore_IMF_Event *event);
-EXAPI void isf_imf_context_prediction_allow_set (Ecore_IMF_Context* ctx, Eina_Bool prediction);
-EXAPI void isf_imf_context_autocapital_type_set (Ecore_IMF_Context* ctx, Ecore_IMF_Autocapital_Type autocapital_type);
-EXAPI void isf_imf_context_imdata_set (Ecore_IMF_Context* ctx, const void *data, int len);
-EXAPI void isf_imf_context_imdata_get (Ecore_IMF_Context* ctx, void *data, int *len);
-EXAPI void isf_imf_context_input_hint_set (Ecore_IMF_Context* ctx, Ecore_IMF_Input_Hints hint);
-EXAPI void isf_imf_context_bidi_direction_set (Ecore_IMF_Context* ctx, Ecore_IMF_BiDi_Direction direction);
-
-EXAPI EcoreIMFContextISF* isf_imf_context_new (void);
-EXAPI void isf_imf_context_shutdown (void);
+int register_key_handler ();
+int unregister_key_handler ();
+
+int get_panel_client_id ();
+Eina_Bool caps_mode_check (Ecore_IMF_Context *ctx, Eina_Bool force, Eina_Bool noti);
+
+EcoreIMFContextISF *get_focused_ic ();
+
+void context_scim_imdata_get (Ecore_IMF_Context *ctx, void* data, int* length);
+void imengine_layout_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Layout layout);
+
+void isf_imf_context_add (Ecore_IMF_Context *ctx);
+void isf_imf_context_del (Ecore_IMF_Context *ctx);
+void isf_imf_context_client_window_set (Ecore_IMF_Context *ctx, void *window);
+void isf_imf_context_client_canvas_set (Ecore_IMF_Context *ctx, void *window);
+void isf_imf_context_focus_in (Ecore_IMF_Context *ctx);
+void isf_imf_context_focus_out (Ecore_IMF_Context *ctx);
+void isf_imf_context_reset (Ecore_IMF_Context *ctx);
+void isf_imf_context_cursor_position_set (Ecore_IMF_Context *ctx, int cursor_pos);
+void isf_imf_context_cursor_location_set (Ecore_IMF_Context *ctx, int x, int y, int w, int h);
+void isf_imf_context_input_mode_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Mode input_mode);
+void isf_imf_context_preedit_string_get (Ecore_IMF_Context *ctx, char** str, int *cursor_pos);
+void isf_imf_context_preedit_string_with_attributes_get (Ecore_IMF_Context *ctx, char** str, Eina_List **attrs, int *cursor_pos);
+void isf_imf_context_use_preedit_set (Ecore_IMF_Context* ctx, Eina_Bool use_preedit);
+Eina_Bool isf_imf_context_filter_event (Ecore_IMF_Context *ctx, Ecore_IMF_Event_Type type, Ecore_IMF_Event *event);
+void isf_imf_context_prediction_allow_set (Ecore_IMF_Context* ctx, Eina_Bool prediction);
+void isf_imf_context_autocapital_type_set (Ecore_IMF_Context* ctx, Ecore_IMF_Autocapital_Type autocapital_type);
+void isf_imf_context_imdata_set (Ecore_IMF_Context* ctx, const void *data, int len);
+void isf_imf_context_imdata_get (Ecore_IMF_Context* ctx, void *data, int *len);
+void isf_imf_context_input_hint_set (Ecore_IMF_Context* ctx, Ecore_IMF_Input_Hints hint);
+void isf_imf_context_bidi_direction_set (Ecore_IMF_Context* ctx, Ecore_IMF_BiDi_Direction direction);
+
+EcoreIMFContextISF* isf_imf_context_new (void);
+void isf_imf_context_shutdown (void);
#endif /* __ISF_IMF_CONTEXT_H */