#ifndef _ELM_FLIPSELECTOR_EO_H_
#define _ELM_FLIPSELECTOR_EO_H_

#ifndef _ELM_FLIPSELECTOR_EO_CLASS_TYPE
#define _ELM_FLIPSELECTOR_EO_CLASS_TYPE

typedef Eo Elm_Flipselector;

#endif

#ifndef _ELM_FLIPSELECTOR_EO_TYPES
#define _ELM_FLIPSELECTOR_EO_TYPES


#endif
#define ELM_FLIPSELECTOR_CLASS elm_flipselector_class_get()

const Eo_Class *elm_flipselector_class_get(void) EINA_CONST;

/**
 *
 * @MOBILE_ONLY
 *
 * @brief Set the interval on time updates for a user mouse button hold
 * on a flip selector widget.
 *
 * @remark This interval value is @b decreased while the user holds the
 * mouse pointer either flipping up or flipping down a given flip
 * selector.
 *
 * @remark This helps the user to get to a given item distant from the
 * current one easier/faster, as it will start to flip quicker and
 * quicker on mouse button holds.
 *
 * @remark The calculation for the next flip interval value, starting from
 * the one set with this call, is the previous interval divided by
 * 1.05, so it decreases a little bit.
 *
 * @remark The default starting interval value for automatic flips is
 * @b 0.85 seconds.
 *
 * @see elm_flipselector_first_interval_get()
 *
 * @if MOBILE @since_tizen 2.4
 * @endif
 *
 * @ingroup Flipselector
 *
 * @param[in] interval The (first) interval value in seconds
 *
 */
EOAPI void  elm_obj_flipselector_first_interval_set(double interval);

/**
 *
 * @MOBILE_ONLY
 *
 * @brief Get the interval on time updates for an user mouse button hold
 * on a flip selector widget.
 *
 * @return The (first) interval value, in seconds, set on it
 *
 * @see elm_flipselector_first_interval_set() for more details
 *
 * @if MOBILE @since_tizen 2.4
 * @endif
 *
 * @ingroup Flipselector
 *
 *
 */
EOAPI double  elm_obj_flipselector_first_interval_get(void);

/**
 *
 * @MOBILE_ONLY
 *
 * @brief Get the internal list of items in a given flip selector widget.
 *
 * @return The list of items (#Elm_Object_Item as data) or
 * @c NULL on errors.
 *
 * @remark This list is @b not to be modified in any way and must not be
 * freed. Use the list members with functions like
 * @remark elm_object_item_text_set()
 * @remark elm_object_item_text_get()
 * @remark elm_object_item_del()
 * @remark elm_flipselector_item_selected_get()
 * @remark elm_flipselector_item_selected_set()
 *
 * @warning This list is only valid until @p obj object's internal
 * items list is changed. It should be fetched again with another
 * call to this function when changes happen.
 *
 * @if MOBILE @since_tizen 2.4
 * @endif
 *
 * @ingroup Flipselector
 *
 *
 */
EOAPI const Eina_List * elm_obj_flipselector_items_get(void);

/**
 *
 * @MOBILE_ONLY
 *
 * @brief Get the first item in the given flip selector widget's list of
 * items.
 *
 * @return The first item or @c NULL, if it has no items (and on
 * errors)
 *
 * @see elm_flipselector_item_append()
 * @see elm_flipselector_last_item_get()
 *
 * @if MOBILE @since_tizen 2.4
 * @endif
 *
 * @ingroup Flipselector
 *
 *
 */
EOAPI Elm_Object_Item * elm_obj_flipselector_first_item_get(void);

/**
 *
 * @MOBILE_ONLY
 *
 * @brief Get the last item in the given flip selector widget's list of
 * items.
 *
 * @return The last item or @c NULL, if it has no items (and on
 * errors)
 *
 * @see elm_flipselector_item_prepend()
 * @see elm_flipselector_first_item_get()
 *
 * @if MOBILE @since_tizen 2.4
 * @endif
 *
 * @ingroup Flipselector
 *
 *
 */
EOAPI Elm_Object_Item * elm_obj_flipselector_last_item_get(void);

/**
 *
 * @MOBILE_ONLY
 *
 * @brief Get the currently selected item in a flip selector widget.
 *
 * @return The selected item or @c NULL, if the widget has no items
 * (and on errors)
 *
 * @if MOBILE @since_tizen 2.4
 * @endif
 *
 * @ingroup Flipselector
 *
 *
 */
EOAPI Elm_Object_Item * elm_obj_flipselector_selected_item_get(void);

/**
 *
 * @MOBILE_ONLY
 *
 * @brief Prepend a (text) item to a flip selector widget
 *
 * @return A handle to the item added or @c NULL, on errors
 *
 * @remark The widget's list of labels to show will be prepended with the
 * given value. If the user wishes so, a callback function pointer
 * can be passed, which will get called when this same item is
 * selected.
 *
 * @note The current selection @b won't be modified by prepending
 * an element to the list.
 *
 * @note The maximum length of the text label is going to be
 * determined <b>by the widget's theme</b>. Strings larger than
 * that value are going to be @b truncated.
 *
 * @if MOBILE @since_tizen 2.4
 * @endif
 *
 * @ingroup Flipselector
 * 
 *
 * @param[in] label The (text) label of the new item
 * @param[in] func Convenience callback function to take place when
item is selected
 * @param[in] data Data passed to @p func, above
 *
 */
EOAPI Elm_Object_Item * elm_obj_flipselector_item_prepend(const char *label, Evas_Smart_Cb func, void *data);

/**
 *
 * @MOBILE_ONLY
 *
 * @brief Programmatically select the next item of a flip selector widget
 *
 * @note The selection will be animated. Also, if it reaches the
 * end of its list of member items, it will continue with the first
 * one onwards.
 *
 * @if MOBILE @since_tizen 2.4
 * @endif
 *
 * @ingroup Flipselector
 * 
 *
 *
 */
EOAPI void  elm_obj_flipselector_flip_next(void);

/**
 *
 * @MOBILE_ONLY
 *
 * @brief Append a (text) item to a flip selector widget
 *
 * @return A handle to the item added or @c NULL, on errors
 *
 * @remark The widget's list of labels to show will be appended with the
 * given value. If the user wishes so, a callback function pointer
 * can be passed, which will get called when this same item is
 * selected.
 *
 * @note The current selection @b won't be modified by appending an
 * element to the list.
 *
 * @note The maximum length of the text label is going to be
 * determined <b>by the widget's theme</b>. Strings larger than
 * that value are going to be @b truncated.
 *
 * @if MOBILE @since_tizen 2.4
 * @endif
 *
 * @ingroup Flipselector
 * 
 *
 * @param[in] label The (text) label of the new item
 * @param[in] func Convenience callback function to take place when
item is selected
 * @param[in] data Data passed to @p func, above
 *
 */
EOAPI Elm_Object_Item * elm_obj_flipselector_item_append(const char *label, Evas_Smart_Cb func, const void *data);

/**
 *
 * @MOBILE_ONLY
 *
 * @brief Programmatically select the previous item of a flip selector
 * widget
 *
 * @note The selection will be animated. Also, if it reaches the
 * beginning of its list of member items, it will continue with the
 * last one backwards.
 *
 * @if MOBILE @since_tizen 2.4
 * @endif
 *
 * @ingroup Flipselector
 * 
 *
 *
 */
EOAPI void  elm_obj_flipselector_flip_prev(void);

EOAPI extern const Eo_Event_Description _ELM_FLIPSELECTOR_EVENT_SELECTED;
EOAPI extern const Eo_Event_Description _ELM_FLIPSELECTOR_EVENT_UNDERFLOWED;
EOAPI extern const Eo_Event_Description _ELM_FLIPSELECTOR_EVENT_OVERFLOWED;
EOAPI extern const Eo_Event_Description _ELM_FLIPSELECTOR_EVENT_LANGUAGE_CHANGED;
EOAPI extern const Eo_Event_Description _ELM_FLIPSELECTOR_EVENT_ACCESS_CHANGED;
EOAPI extern const Eo_Event_Description _ELM_FLIPSELECTOR_EVENT_FOCUSED;
EOAPI extern const Eo_Event_Description _ELM_FLIPSELECTOR_EVENT_UNFOCUSED;

/**
 * No description
 */
#define ELM_FLIPSELECTOR_EVENT_SELECTED (&(_ELM_FLIPSELECTOR_EVENT_SELECTED))

/**
 * No description
 */
#define ELM_FLIPSELECTOR_EVENT_UNDERFLOWED (&(_ELM_FLIPSELECTOR_EVENT_UNDERFLOWED))

/**
 * No description
 */
#define ELM_FLIPSELECTOR_EVENT_OVERFLOWED (&(_ELM_FLIPSELECTOR_EVENT_OVERFLOWED))

/**
 * No description
 */
#define ELM_FLIPSELECTOR_EVENT_LANGUAGE_CHANGED (&(_ELM_FLIPSELECTOR_EVENT_LANGUAGE_CHANGED))

/**
 * No description
 */
#define ELM_FLIPSELECTOR_EVENT_ACCESS_CHANGED (&(_ELM_FLIPSELECTOR_EVENT_ACCESS_CHANGED))

/**
 * No description
 */
#define ELM_FLIPSELECTOR_EVENT_FOCUSED (&(_ELM_FLIPSELECTOR_EVENT_FOCUSED))

/**
 * No description
 */
#define ELM_FLIPSELECTOR_EVENT_UNFOCUSED (&(_ELM_FLIPSELECTOR_EVENT_UNFOCUSED))

#endif
