diff options
author | Jihoon Kim <jihoon48.kim@samsung.com> | 2017-09-15 16:18:15 +0900 |
---|---|---|
committer | Jihoon Kim <jihoon48.kim@samsung.com> | 2017-12-20 17:36:27 +0900 |
commit | 4262c33bfcf161769069d7ad32f018f565496565 (patch) | |
tree | e975297a9fe534e417daec96f51702abc609b683 /src/lib/ecore_imf/Ecore_IMF.h | |
parent | 9e8bd48e707e7855259f8480f76f85713406296a (diff) |
ecore_imf: Add prediction hint hash APIs
Change-Id: Id012fd172d3b15bfa3e9ea10c22216db10ba23b5
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Diffstat (limited to 'src/lib/ecore_imf/Ecore_IMF.h')
-rw-r--r-- | src/lib/ecore_imf/Ecore_IMF.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/lib/ecore_imf/Ecore_IMF.h b/src/lib/ecore_imf/Ecore_IMF.h index 92c1bc6eac..0fc821da2f 100644 --- a/src/lib/ecore_imf/Ecore_IMF.h +++ b/src/lib/ecore_imf/Ecore_IMF.h | |||
@@ -1987,6 +1987,49 @@ EAPI void ecore_imf_context_mime_type_accept_set(Ecore_I | |||
1987 | */ | 1987 | */ |
1988 | EAPI void ecore_imf_context_input_panel_position_set(Ecore_IMF_Context *ctx, int x, int y); | 1988 | EAPI void ecore_imf_context_input_panel_position_set(Ecore_IMF_Context *ctx, int x, int y); |
1989 | 1989 | ||
1990 | /** | ||
1991 | * @ingroup Ecore_IMF_Context_Group | ||
1992 | * @brief Sets the prediction hint data at the specified key | ||
1993 | * | ||
1994 | * @since 1.21.0 | ||
1995 | * | ||
1996 | * @param[in] ctx An #Ecore_IMF_Context | ||
1997 | * @param key The key of the prediction hint | ||
1998 | * @param data The data to replace | ||
1999 | * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise | ||
2000 | * | ||
2001 | * This function modifies the data of @p key with @p data in the hash associated @p | ||
2002 | * ctx. If no entry is found, @p data is added to the hash associated @p ctx with the | ||
2003 | * key @p key. On success this function returns EINA_TRUE, | ||
2004 | * otherwise it returns @c EINA_FALSE. | ||
2005 | */ | ||
2006 | EAPI Eina_Bool ecore_imf_context_prediction_hint_hash_set(Ecore_IMF_Context *ctx, const char *key, const char *value); | ||
2007 | |||
2008 | /** | ||
2009 | * @ingroup Ecore_IMF_Context_Group | ||
2010 | * @brief Removes the prediction hint data identified by a key | ||
2011 | * | ||
2012 | * @since 1.21.0 | ||
2013 | * | ||
2014 | * @param[in] ctx An #Ecore_IMF_Context | ||
2015 | * @param key The key of the prediction hint | ||
2016 | * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise | ||
2017 | * | ||
2018 | * This function removes the entry identified by @p key from the hash associated @p ctx. | ||
2019 | */ | ||
2020 | EAPI Eina_Bool ecore_imf_context_prediction_hint_hash_del(Ecore_IMF_Context *ctx, const char *key); | ||
2021 | |||
2022 | /** | ||
2023 | * @ingroup Ecore_IMF_Context_Group | ||
2024 | * @brief Gets the hash table of prediction hint data | ||
2025 | * | ||
2026 | * @since 1.21.0 | ||
2027 | * | ||
2028 | * @param[in] ctx An #Ecore_IMF_Context | ||
2029 | * @return The prediction hint hash table | ||
2030 | */ | ||
2031 | EAPI const Eina_Hash *ecore_imf_context_prediction_hint_hash_get(Ecore_IMF_Context *ctx); | ||
2032 | |||
1990 | /* The following entry points must be exported by each input method module | 2033 | /* The following entry points must be exported by each input method module |
1991 | */ | 2034 | */ |
1992 | 2035 | ||