elm_entry: add 'const in some getter functions

SVN revision: 67979
This commit is contained in:
Jihoon Kim 2012-02-15 11:50:06 +00:00
parent 2882b86b1e
commit 64c3602b15
2 changed files with 8 additions and 8 deletions

View File

@ -3538,7 +3538,7 @@ elm_entry_input_panel_layout_set(Evas_Object *obj, Elm_Input_Panel_Layout layout
}
EAPI Elm_Input_Panel_Layout
elm_entry_input_panel_layout_get(Evas_Object *obj)
elm_entry_input_panel_layout_get(const Evas_Object *obj)
{
ELM_CHECK_WIDTYPE(obj, widtype) ELM_INPUT_PANEL_LAYOUT_INVALID;
Widget_Data *wd = elm_widget_data_get(obj);
@ -3559,7 +3559,7 @@ elm_entry_autocapital_type_set(Evas_Object *obj, Elm_Autocapital_Type autocapita
}
EAPI Elm_Autocapital_Type
elm_entry_autocapital_type_get(Evas_Object *obj)
elm_entry_autocapital_type_get(const Evas_Object *obj)
{
ELM_CHECK_WIDTYPE(obj, widtype) ELM_AUTOCAPITAL_TYPE_NONE;
Widget_Data *wd = elm_widget_data_get(obj);
@ -3580,7 +3580,7 @@ elm_entry_prediction_allow_set(Evas_Object *obj, Eina_Bool prediction)
}
EAPI Eina_Bool
elm_entry_prediction_allow_get(Evas_Object *obj)
elm_entry_prediction_allow_get(const Evas_Object *obj)
{
ELM_CHECK_WIDTYPE(obj, widtype) EINA_TRUE;
Widget_Data *wd = elm_widget_data_get(obj);
@ -3611,7 +3611,7 @@ elm_entry_input_panel_enabled_set(Evas_Object *obj, Eina_Bool enabled)
}
EAPI Eina_Bool
elm_entry_input_panel_enabled_get(Evas_Object *obj)
elm_entry_input_panel_enabled_get(const Evas_Object *obj)
{
ELM_CHECK_WIDTYPE(obj, widtype) EINA_TRUE;
Widget_Data *wd = elm_widget_data_get(obj);

View File

@ -1096,7 +1096,7 @@ EAPI void elm_entry_input_panel_layout_set(Evas_Object *obj, E
*
* @see elm_entry_input_panel_layout_set
*/
EAPI Elm_Input_Panel_Layout elm_entry_input_panel_layout_get(Evas_Object *obj);
EAPI Elm_Input_Panel_Layout elm_entry_input_panel_layout_get(const Evas_Object *obj);
/**
* Set the autocapitalization type on the immodule.
@ -1112,7 +1112,7 @@ EAPI void elm_entry_autocapital_type_set(Evas_Object *obj, Elm
* @param obj The entry object
* @return autocapitalization type
*/
EAPI Elm_Autocapital_Type elm_entry_autocapital_type_get(Evas_Object *obj);
EAPI Elm_Autocapital_Type elm_entry_autocapital_type_get(const Evas_Object *obj);
/**
* Sets the attribute to show the input panel automatically.
@ -1128,7 +1128,7 @@ EAPI void elm_entry_input_panel_enabled_set(Evas_Object *obj,
* @param obj The entry object
* @return EINA_TRUE if input panel will be appeared when the entry is clicked or has a focus, EINA_FALSE otherwise
*/
EAPI Eina_Bool elm_entry_input_panel_enabled_get(Evas_Object *obj);
EAPI Eina_Bool elm_entry_input_panel_enabled_get(const Evas_Object *obj);
/**
* Show the input panel (virtual keyboard) based on the input panel property of entry such as layout, autocapital types, and so on.
@ -1253,7 +1253,7 @@ EAPI void elm_entry_prediction_allow_set(Evas_Object *obj, Ein
* @param obj The entry object
* @return EINA_TRUE if it allows to use the text prediction, otherwise EINA_FALSE.
*/
EAPI Eina_Bool elm_entry_prediction_allow_get(Evas_Object *obj);
EAPI Eina_Bool elm_entry_prediction_allow_get(const Evas_Object *obj);
/* pre-made filters for entries */