From 1483d47385bf5ebeb0f22f54e47258d40daf0fb9 Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Fri, 17 Feb 2012 12:40:48 +0000 Subject: [PATCH] elementary/flipselector - reviewed APIs SVN revision: 68070 --- legacy/elementary/src/lib/elm_flipselector.c | 4 ++-- legacy/elementary/src/lib/elm_flipselector.h | 25 ++++++++++---------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/legacy/elementary/src/lib/elm_flipselector.c b/legacy/elementary/src/lib/elm_flipselector.c index e3fcba6d50..13fd26f6e8 100644 --- a/legacy/elementary/src/lib/elm_flipselector.c +++ b/legacy/elementary/src/lib/elm_flipselector.c @@ -901,7 +901,7 @@ elm_flipselector_item_label_set(Elm_Object_Item *it, const char *label) } EAPI Elm_Object_Item * -elm_flipselector_item_prev_get(Elm_Object_Item *it) +elm_flipselector_item_prev_get(const Elm_Object_Item *it) { ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL); @@ -924,7 +924,7 @@ elm_flipselector_item_prev_get(Elm_Object_Item *it) } EAPI Elm_Object_Item * -elm_flipselector_item_next_get(Elm_Object_Item *it) +elm_flipselector_item_next_get(const Elm_Object_Item *it) { ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL); diff --git a/legacy/elementary/src/lib/elm_flipselector.h b/legacy/elementary/src/lib/elm_flipselector.h index 2d0f97376c..bd2a40ed36 100644 --- a/legacy/elementary/src/lib/elm_flipselector.h +++ b/legacy/elementary/src/lib/elm_flipselector.h @@ -229,37 +229,35 @@ EAPI void elm_flipselector_item_selected_set(Elm_Object_I * * @ingroup Flipselector */ -EAPI Eina_Bool elm_flipselector_item_selected_get(const Elm_Object_Item *it); +EAPI Eina_Bool elm_flipselector_item_selected_get(const Elm_Object_Item *it); /** - * Gets the item before @p item in a flip selector widget's - * internal list of items. + * Gets the item before @p item in a flip selector widget's internal list of + * items. * * @param it The item to fetch previous from - * @return The item before the @p item, in its parent's list. If - * there is no previous item for @p item or there's an - * error, @c NULL is returned. + * @return The item before the @p item, in its parent's list. If there is no + * previous item for @p item or there's an error, @c NULL is returned. * * @see elm_flipselector_item_next_get() * * @ingroup Flipselector */ -EAPI Elm_Object_Item *elm_flipselector_item_prev_get(Elm_Object_Item *it); +EAPI Elm_Object_Item *elm_flipselector_item_prev_get(const Elm_Object_Item *it); /** * Gets the item after @p item in a flip selector widget's * internal list of items. * * @param it The item to fetch next from - * @return The item after the @p item, in its parent's list. If - * there is no next item for @p item or there's an - * error, @c NULL is returned. + * @return The item after the @p item, in its parent's list. If there is no next + * item for @p item or there's an error, @c NULL is returned. * - * @see elm_flipselector_item_next_get() + * @see elm_flipselector_item_prev_get() * * @ingroup Flipselector */ -EAPI Elm_Object_Item *elm_flipselector_item_next_get(Elm_Object_Item *it); +EAPI Elm_Object_Item *elm_flipselector_item_next_get(const Elm_Object_Item *it); /** * Set the interval on time updates for an user mouse button hold @@ -287,6 +285,7 @@ EAPI Elm_Object_Item *elm_flipselector_item_next_get(Elm_Object_Item * * @ingroup Flipselector */ +//XXX: void elm_flipselector_first_interval_set()? EAPI void elm_flipselector_interval_set(Evas_Object *obj, double interval); /** @@ -300,7 +299,9 @@ EAPI void elm_flipselector_interval_set(Evas_Object *obj, * * @ingroup Flipselector */ +//XXX: EAPI double elm_flipselector_first_interval_get()? EAPI double elm_flipselector_interval_get(const Evas_Object *obj); + /** * @} */