summaryrefslogtreecommitdiff
path: root/src/lib/ecore_imf
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2019-07-10 20:01:47 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2019-07-10 20:03:14 +0900
commitdaa35a1893e9bfb2013d853a9a978b61c761bc23 (patch)
treec11811fba68e8bdce33970f2ec974e2205663366 /src/lib/ecore_imf
parent4fe9edaa2647a8f2a5f6a46b7ad3c50a80e5271d (diff)
ecore_imf: deprecate ambigous or unused APIs
ecore_imf_context_show ecore_imf_context_hide ecore_imf_context_control_panel_show ecore_imf_context_control_panel_hide ecore_imf_context_preedit_start_event_add ecore_imf_context_preedit_end_event_add ecore_imf_context_preedit_changed_event_add ecore_imf_context_commit_event_add ecore_imf_context_delete_surrounding_event_add Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Diffstat (limited to 'src/lib/ecore_imf')
-rw-r--r--src/lib/ecore_imf/Ecore_IMF.h32
1 files changed, 23 insertions, 9 deletions
diff --git a/src/lib/ecore_imf/Ecore_IMF.h b/src/lib/ecore_imf/Ecore_IMF.h
index d733251..dc6065f 100644
--- a/src/lib/ecore_imf/Ecore_IMF.h
+++ b/src/lib/ecore_imf/Ecore_IMF.h
@@ -1035,16 +1035,20 @@ EAPI void *ecore_imf_context_client_canvas_get(Ecore_IMF
1035 * @brief Asks the Input Method Context to show itself. 1035 * @brief Asks the Input Method Context to show itself.
1036 * 1036 *
1037 * @param ctx An #Ecore_IMF_Context. 1037 * @param ctx An #Ecore_IMF_Context.
1038 *
1039 * @deprecated use ecore_imf_context_input_panel_show() instead.
1038 */ 1040 */
1039EAPI void ecore_imf_context_show(Ecore_IMF_Context *ctx); 1041EINA_DEPRECATED EAPI void ecore_imf_context_show(Ecore_IMF_Context *ctx);
1040 1042
1041/** 1043/**
1042 * @ingroup Ecore_IMF_Context_Group 1044 * @ingroup Ecore_IMF_Context_Group
1043 * @brief Asks the Input Method Context to hide itself. 1045 * @brief Asks the Input Method Context to hide itself.
1044 * 1046 *
1045 * @param ctx An #Ecore_IMF_Context. 1047 * @param ctx An #Ecore_IMF_Context.
1048 *
1049 * @deprecated use ecore_imf_context_input_panel_hide() instead.
1046 */ 1050 */
1047EAPI void ecore_imf_context_hide(Ecore_IMF_Context *ctx); 1051EINA_DEPRECATED EAPI void ecore_imf_context_hide(Ecore_IMF_Context *ctx);
1048 1052
1049/** 1053/**
1050 * @ingroup Ecore_IMF_Context_Group 1054 * @ingroup Ecore_IMF_Context_Group
@@ -1426,8 +1430,10 @@ EAPI Eina_Bool ecore_imf_context_selection_get(Ecore_IMF_Con
1426 * ecore_imf_context_event_callback_call() can be used as synchronous method. 1430 * ecore_imf_context_event_callback_call() can be used as synchronous method.
1427 * 1431 *
1428 * @param ctx An #Ecore_IMF_Context. 1432 * @param ctx An #Ecore_IMF_Context.
1433 *
1434 * @deprecated use ecore_imf_context_event_callback_call() instead.
1429 */ 1435 */
1430EAPI void ecore_imf_context_preedit_start_event_add(Ecore_IMF_Context *ctx); 1436EINA_DEPRECATED EAPI void ecore_imf_context_preedit_start_event_add(Ecore_IMF_Context *ctx);
1431 1437
1432/** 1438/**
1433 * @ingroup Ecore_IMF_Context_Module_Group 1439 * @ingroup Ecore_IMF_Context_Module_Group
@@ -1438,8 +1444,10 @@ EAPI void ecore_imf_context_preedit_start_event_add(Eco
1438 * ecore_imf_context_event_callback_call() can be used as synchronous method. 1444 * ecore_imf_context_event_callback_call() can be used as synchronous method.
1439 * 1445 *
1440 * @param ctx An #Ecore_IMF_Context. 1446 * @param ctx An #Ecore_IMF_Context.
1447 *
1448 * @deprecated use ecore_imf_context_event_callback_call() instead.
1441 */ 1449 */
1442EAPI void ecore_imf_context_preedit_end_event_add(Ecore_IMF_Context *ctx); 1450EINA_DEPRECATED EAPI void ecore_imf_context_preedit_end_event_add(Ecore_IMF_Context *ctx);
1443 1451
1444/** 1452/**
1445 * @ingroup Ecore_IMF_Context_Module_Group 1453 * @ingroup Ecore_IMF_Context_Module_Group
@@ -1449,8 +1457,10 @@ EAPI void ecore_imf_context_preedit_end_event_add(Ecore
1449 * ecore_imf_context_event_callback_call() can be used as synchronous method. 1457 * ecore_imf_context_event_callback_call() can be used as synchronous method.
1450 * 1458 *
1451 * @param ctx An #Ecore_IMF_Context. 1459 * @param ctx An #Ecore_IMF_Context.
1460 *
1461 * @deprecated use ecore_imf_context_event_callback_call() instead.
1452 */ 1462 */
1453EAPI void ecore_imf_context_preedit_changed_event_add(Ecore_IMF_Context *ctx); 1463EINA_DEPRECATED EAPI void ecore_imf_context_preedit_changed_event_add(Ecore_IMF_Context *ctx);
1454 1464
1455/** 1465/**
1456 * @ingroup Ecore_IMF_Context_Module_Group 1466 * @ingroup Ecore_IMF_Context_Module_Group
@@ -1461,8 +1471,10 @@ EAPI void ecore_imf_context_preedit_changed_event_add(E
1461 * 1471 *
1462 * @param ctx An #Ecore_IMF_Context. 1472 * @param ctx An #Ecore_IMF_Context.
1463 * @param str The committed string. 1473 * @param str The committed string.
1474 *
1475 * @deprecated use ecore_imf_context_event_callback_call() instead.
1464 */ 1476 */
1465EAPI void ecore_imf_context_commit_event_add(Ecore_IMF_Context *ctx, const char *str); 1477EINA_DEPRECATED EAPI void ecore_imf_context_commit_event_add(Ecore_IMF_Context *ctx, const char *str);
1466 1478
1467/** 1479/**
1468 * @ingroup Ecore_IMF_Context_Module_Group 1480 * @ingroup Ecore_IMF_Context_Module_Group
@@ -1478,8 +1490,10 @@ EAPI void ecore_imf_context_commit_event_add(Ecore_IMF_
1478 * @param ctx An #Ecore_IMF_Context. 1490 * @param ctx An #Ecore_IMF_Context.
1479 * @param offset The start offset of surrounding to be deleted. 1491 * @param offset The start offset of surrounding to be deleted.
1480 * @param n_chars The number of characters to be deleted. 1492 * @param n_chars The number of characters to be deleted.
1493 *
1494 * @deprecated use ecore_imf_context_event_callback_call() instead.
1481 */ 1495 */
1482EAPI void ecore_imf_context_delete_surrounding_event_add(Ecore_IMF_Context *ctx, int offset, int n_chars); 1496EINA_DEPRECATED EAPI void ecore_imf_context_delete_surrounding_event_add(Ecore_IMF_Context *ctx, int offset, int n_chars);
1483 1497
1484/** 1498/**
1485 * @ingroup Ecore_IMF_Context_Group 1499 * @ingroup Ecore_IMF_Context_Group
@@ -1653,7 +1667,7 @@ EAPI Ecore_IMF_Input_Hints ecore_imf_context_input_hint_get(Ecore_IMF_Co
1653 * @param ctx An #Ecore_IMF_Context. 1667 * @param ctx An #Ecore_IMF_Context.
1654 * @since 1.1.0 1668 * @since 1.1.0
1655 */ 1669 */
1656EAPI void ecore_imf_context_control_panel_show(Ecore_IMF_Context *ctx); 1670EINA_DEPRECATED EAPI void ecore_imf_context_control_panel_show(Ecore_IMF_Context *ctx);
1657 1671
1658/** 1672/**
1659 * @ingroup Ecore_IMF_Context_Group 1673 * @ingroup Ecore_IMF_Context_Group
@@ -1662,7 +1676,7 @@ EAPI void ecore_imf_context_control_panel_show(Ecore_IM
1662 * @param ctx An #Ecore_IMF_Context. 1676 * @param ctx An #Ecore_IMF_Context.
1663 * @since 1.1.0 1677 * @since 1.1.0
1664 */ 1678 */
1665EAPI void ecore_imf_context_control_panel_hide(Ecore_IMF_Context *ctx); 1679EINA_DEPRECATED EAPI void ecore_imf_context_control_panel_hide(Ecore_IMF_Context *ctx);
1666 1680
1667/** 1681/**
1668 * @ingroup Ecore_IMF_Context_Group 1682 * @ingroup Ecore_IMF_Context_Group