diff options
author | InHong Han <inhong1.han@samsung.com> | 2018-02-07 16:23:25 +0900 |
---|---|---|
committer | InHong Han <inhong1.han@samsung.com> | 2018-02-07 16:29:51 +0900 |
commit | 6a1261445a2561bb59803c6878d2aa999ff65bf1 (patch) | |
tree | ffd60e30453cd12cb7b828ca1b007768c05684c5 /ism/modules | |
parent | 688181222d294aad92755856be82fee767d5fdff (diff) | |
download | isf-6a1261445a2561bb59803c6878d2aa999ff65bf1.tar.gz isf-6a1261445a2561bb59803c6878d2aa999ff65bf1.tar.bz2 isf-6a1261445a2561bb59803c6878d2aa999ff65bf1.zip |
Remove unused functions to avoid deadlock
These functions use the blocking_sync_call
Change-Id: Iea1d6cb850c4764149573b18036e424e8f7bd6a2
Diffstat (limited to 'ism/modules')
4 files changed, 0 insertions, 35 deletions
diff --git a/ism/modules/panelagent/wayland/isf_wsc_control.cpp b/ism/modules/panelagent/wayland/isf_wsc_control.cpp index a71cc4f3..1cecaf30 100644 --- a/ism/modules/panelagent/wayland/isf_wsc_control.cpp +++ b/ism/modules/panelagent/wayland/isf_wsc_control.cpp @@ -77,33 +77,12 @@ int _isf_wsc_context_input_panel_language_set (int context, Ecore_IMF_Input_Pane return 0; } -int _isf_wsc_context_input_panel_language_locale_get (int context, char** locale) -{ - size_t datalen = 0; - char* data = NULL; - g_info_manager->get_ise_language_locale (get_panel_client_id (), &data, datalen); - - if (locale) - *locale = strndup (data, datalen); - - if (data) - delete [] data; - - return 0; -} - int _isf_wsc_context_input_panel_imdata_set (int context, const void* data, int len) { g_info_manager->set_ise_imdata (get_panel_client_id (), (const char*)data, (size_t)len); return 0; } -int _isf_wsc_context_input_panel_imdata_get (int context, void** data, int* len) -{ - g_info_manager->get_ise_imdata (get_panel_client_id (), (char**)data, (size_t&)*len); - return 0; -} - int _isf_wsc_context_input_panel_geometry_get (int context, int* x, int* y, int* w, int* h) { struct rectinfo info; diff --git a/ism/modules/panelagent/wayland/isf_wsc_control.h b/ism/modules/panelagent/wayland/isf_wsc_control.h index bb43e263..a56c8cdb 100644 --- a/ism/modules/panelagent/wayland/isf_wsc_control.h +++ b/ism/modules/panelagent/wayland/isf_wsc_control.h @@ -41,10 +41,8 @@ extern "C" int _isf_wsc_context_control_panel_hide (int context); int _isf_wsc_context_input_panel_language_set (int context, Ecore_IMF_Input_Panel_Lang lang); - int _isf_wsc_context_input_panel_language_locale_get (int context, char **locale); int _isf_wsc_context_input_panel_imdata_set (int context, const void *data, int len); - int _isf_wsc_context_input_panel_imdata_get (int context, void **data, int *len); int _isf_wsc_context_input_panel_geometry_get (int context, int *x, int *y, int *w, int *h); int _isf_wsc_context_input_panel_layout_set (int context, Ecore_IMF_Input_Panel_Layout layout); int _isf_wsc_context_input_panel_layout_get (int context, Ecore_IMF_Input_Panel_Layout *layout); diff --git a/ism/modules/panelagent/wayland/isf_wsc_control_ui.cpp b/ism/modules/panelagent/wayland/isf_wsc_control_ui.cpp index b64ace9f..ef45a26e 100644 --- a/ism/modules/panelagent/wayland/isf_wsc_control_ui.cpp +++ b/ism/modules/panelagent/wayland/isf_wsc_control_ui.cpp @@ -281,11 +281,6 @@ void isf_wsc_context_input_panel_imdata_set (WSCContextISF *ctx, const void *imd _isf_wsc_context_input_panel_imdata_set (_get_context_id (ctx), imdata, len); } -void isf_wsc_context_input_panel_imdata_get (WSCContextISF *ctx, void **imdata, int* len) -{ - _isf_wsc_context_input_panel_imdata_get (_get_context_id (ctx), imdata, len); -} - void isf_wsc_context_process_input_device_event (WSCContextISF *ctx, uint32_t type, const char *data, uint32_t len) { _isf_wsc_context_process_input_device_event (_get_context_id(ctx), type, data, len); @@ -315,9 +310,4 @@ void isf_wsc_context_input_hint_set (WSCContextISF *ctx, Ecore_IMF_Input_Hints i { SECURE_LOGD("input hint : %d\n", input_hint); _isf_wsc_context_input_hint_set (_get_context_id(ctx), input_hint); -} - -void isf_wsc_context_input_panel_language_locale_get (WSCContextISF *ctx, char **locale) -{ - _isf_wsc_context_input_panel_language_locale_get (_get_context_id(ctx), locale); }
\ No newline at end of file diff --git a/ism/modules/panelagent/wayland/isf_wsc_control_ui.h b/ism/modules/panelagent/wayland/isf_wsc_control_ui.h index 472b2693..5a754519 100644 --- a/ism/modules/panelagent/wayland/isf_wsc_control_ui.h +++ b/ism/modules/panelagent/wayland/isf_wsc_control_ui.h @@ -52,14 +52,12 @@ extern "C" void isf_wsc_context_input_panel_return_key_type_set (WSCContextISF *ctx, Ecore_IMF_Input_Panel_Return_Key_Type return_key_type); void isf_wsc_context_input_panel_return_key_disabled_set (WSCContextISF *ctx, Eina_Bool disabled); void isf_wsc_context_input_panel_imdata_set (WSCContextISF *ctx, const void *imdata, int len); - void isf_wsc_context_input_panel_imdata_get (WSCContextISF *ctx, void **imdata, int* len); void isf_wsc_context_process_input_device_event (WSCContextISF *ctx, uint32_t type, const char *data, uint32_t len); void isf_wsc_context_input_panel_prediction_hint_set (WSCContextISF *ctx, const char *prediction_hint); void isf_wsc_context_input_panel_mime_type_accept_set (WSCContextISF *ctx, const char *mime_type); void isf_wsc_context_input_panel_finalize_content (WSCContextISF *ctx, const char *text, int cursor_pos); void isf_wsc_context_input_panel_prediction_hint_data_set (WSCContextISF *ctx, const char *key, const char *value); void isf_wsc_context_input_hint_set (WSCContextISF *ctx, Ecore_IMF_Input_Hints input_hint); - void isf_wsc_context_input_panel_language_locale_get (WSCContextISF *ctx, char **locale); #ifdef __cplusplus } |