#ifndef _ELM_LIST_ITEM_EO_LEGACY_H_
#define _ELM_LIST_ITEM_EO_LEGACY_H_

#ifndef _ELM_LIST_ITEM_EO_CLASS_TYPE
#define _ELM_LIST_ITEM_EO_CLASS_TYPE

typedef Eo Elm_List_Item;

#endif

#ifndef _ELM_LIST_ITEM_EO_TYPES
#define _ELM_LIST_ITEM_EO_TYPES


#endif

/**
 *
 * @brief Set or unset item as a separator.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @remark Items aren't set as separator by default.
 *
 * @remark If set as separator it will display separator theme, so won't display
 * icons or label.
 *
 * @see elm_list_item_separator_get()
 *
 * @ingroup List
 *
 * @param[in] obj The elm list item object
 * @param[in] setting @c EINA_TRUE means item @p it is a separator. @c EINA_FALSE
indicates it's not.
 */
EAPI void elm_list_item_separator_set(Elm_List_Item *obj, Eina_Bool setting);

/**
 *
 * @brief Get a value whether item is a separator or not.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @see elm_list_item_separator_set() for details.
 *
 * @ingroup List
 *
 * @param[in] obj The elm list item object
 */
EAPI Eina_Bool elm_list_item_separator_get(const Elm_List_Item *obj);

/**
 *
 * @brief Set the selected state of an item.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @remark This sets the selected state of the given item @p it.
 * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
 *
 * @remark If a new item is selected the previously selected will be unselected,
 * unless multiple selection is enabled with elm_list_multi_select_set().
 * Previously selected item can be get with function
 * elm_list_selected_item_get().
 *
 * @remark Selected items will be highlighted.
 *
 * @see elm_list_item_selected_get()
 * @see elm_list_selected_item_get()
 * @see elm_list_multi_select_set()
 *
 * @ingroup List
 *
 * @param[in] obj The elm list item object
 * @param[in] selected the selected state (@c EINA_TRUE selected, @c EINA_FALSE not selected)
 */
EAPI void elm_list_item_selected_set(Elm_List_Item *obj, Eina_Bool selected);

/**
 *
 * @brief Get whether the @p item is selected or not.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @see elm_list_selected_item_set() for details.
 * @see elm_list_item_selected_get()
 *
 * @ingroup List
 *
 * @param[in] obj The elm list item object
 */
EAPI Eina_Bool elm_list_item_selected_get(const Elm_List_Item *obj);

/**
 *
 * @brief Get the real Evas(Edje) object created to implement the view of a given
 * list @p item.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @remark Base object is the @c Evas_Object that represents that item.
 *
 * @ingroup List
 *
 * @param[in] obj The elm list item object
 */
EAPI Evas_Object *elm_list_item_object_get(const Elm_List_Item *obj);

/**
 *
 * @brief Get the item before @p it in list.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @remark If it is the first item, @c NULL will be returned.
 *
 * @see elm_list_item_append()
 * @see elm_list_items_get()
 *
 * @ingroup List
 *
 * @param[in] obj The elm list item object
 */
EAPI Elm_Object_Item *elm_list_item_prev(const Elm_List_Item *obj);

/**
 *
 * @brief Get the item after @p it in list.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @remark If it is the last item, @c NULL will be returned.
 *
 * @see elm_list_item_append()
 * @see elm_list_items_get()
 *
 * @ingroup List
 *
 * @param[in] obj The elm list item object
 */
EAPI Elm_Object_Item *elm_list_item_next(const Elm_List_Item *obj);

/**
 *
 * @brief Show @p item in the list view.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @remark It won't animate list until item is visible. If such behavior is wanted,
 * use elm_list_bring_in() instead.
 *
 * @ingroup List
 * 
 *
 * @param[in] obj The elm list item object
 */
EAPI void elm_list_item_show(Elm_List_Item *obj);

/**
 *
 * @brief Bring in the given item to list view.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @remark This causes list to jump to the given item @p item and show it
 * (by scrolling), if it is not fully visible.
 *
 * @remark This may use animation to do so and take a period of time.
 *
 * @remark If animation isn't wanted, elm_list_item_show() can be used.
 *
 * @ingroup List
 * 
 *
 * @param[in] obj The elm list item object
 */
EAPI void elm_list_item_bring_in(Elm_List_Item *obj);

#endif
