#ifndef _ELM_RADIO_EO_LEGACY_H_
#define _ELM_RADIO_EO_LEGACY_H_

#ifndef _ELM_RADIO_EO_CLASS_TYPE
#define _ELM_RADIO_EO_CLASS_TYPE

typedef Eo Elm_Radio;

#endif

#ifndef _ELM_RADIO_EO_TYPES
#define _ELM_RADIO_EO_TYPES


#endif

/**
 *
 * @brief Set the integer value that this radio object represents
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @remark This sets the value of the radio.
 *
 * @ingroup Radio
 *
 * @param[in] obj The elm radio object
 * @param[in] value The value to use if this radio object is selected
 */
EAPI void elm_radio_state_value_set(Elm_Radio *obj, int value);

/**
 *
 * @brief Get the integer value that this radio object represents
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @return The value used if this radio object is selected
 *
 * @remark This gets the value of the radio.
 * @see elm_radio_value_set()
 *
 * @ingroup Radio
 *
 * @param[in] obj The elm radio object
 */
EAPI int elm_radio_state_value_get(const Elm_Radio *obj);

/**
 *
 * @brief Set the value of the radio group.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @remark This sets the value of the radio group and will also set the value if
 * pointed to, to the value supplied, but will not call any callbacks.
 *
 * @ingroup Radio
 *
 * @param[in] obj The elm radio object
 * @param[in] value The value to use for the group
 */
EAPI void elm_radio_value_set(Elm_Radio *obj, int value);

/**
 *
 * @brief Get the value of the radio group
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @return The integer state
 *
 * @ingroup Radio
 *
 * @param[in] obj The elm radio object
 */
EAPI int elm_radio_value_get(const Elm_Radio *obj);

/**
 *
 * @brief Set a convenience pointer to a integer to change when radio group
 * value changes.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @remark This sets a pointer to a integer, that, in addition to the radio objects
 * state will also be modified directly. To stop setting the object pointed
 * to simply use NULL as the @p valuep argument. If valuep is not NULL, then
 * when this is called, the radio objects state will also be modified to
 * reflect the value of the integer valuep points to, just like calling
 * elm_radio_value_set().
 *
 * @ingroup Radio
 *
 * @param[in] obj The elm radio object
 * @param[in] valuep Pointer to the integer to modify
 */
EAPI void elm_radio_value_pointer_set(Elm_Radio *obj, int *valuep);

/**
 *
 * @brief Get the selected radio object.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @return The selected radio object
 *
 * @ingroup Radio
 *
 * @param[in] obj The elm radio object
 */
EAPI Evas_Object *elm_radio_selected_object_get(const Elm_Radio *obj);

/**
 *
 * @brief Add this radio to a group of other radio objects
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @remark Radio objects work in groups. Each member should have a different integer
 * value assigned. In order to have them work as a group, they need to know
 * about each other. This adds the given radio object to the group of which
 * the group object indicated is a member.
 *
 * @ingroup Radio
 * 
 *
 * @param[in] obj The elm radio object
 * @param[in] group Any object whose group the @p obj is to join.
 */
EAPI void elm_radio_group_add(Elm_Radio *obj, Evas_Object *group);

#endif
