#ifndef _EFL_UI_PROGRESSBAR_EO_H_
#define _EFL_UI_PROGRESSBAR_EO_H_

#ifndef _EFL_UI_PROGRESSBAR_EO_CLASS_TYPE
#define _EFL_UI_PROGRESSBAR_EO_CLASS_TYPE

typedef Eo Efl_Ui_Progressbar;

#endif

#ifndef _EFL_UI_PROGRESSBAR_EO_TYPES
#define _EFL_UI_PROGRESSBAR_EO_TYPES


#endif
#ifdef EFL_BETA_API_SUPPORT
/** Elementary progressbar class
 *
 * @ingroup Efl_Ui_Progressbar
 */
#define EFL_UI_PROGRESSBAR_CLASS efl_ui_progressbar_class_get()

EWAPI const Efl_Class *efl_ui_progressbar_class_get(void);

/**
 * @brief Control whether a given progress bar widget is at "pulsing mode" or
 * not.
 *
 * By default progress bars display values from low to high boundaries. There
 * are situations however in which the progress of a given task is unknown. In
 * these cases, you can set a progress bar widget to a "pulsing state" to give
 * the user an idea that some computation is being done without showing the
 * precise progress rate. In the default theme, it will animate the bar with
 * content, switching constantly between filling it and back to non-filled in a
 * loop. To start and stop this pulsing animation you need to explicitly call
 * @ref efl_ui_progressbar_pulse_set().
 *
 * @param[in] obj The object.
 * @param[in] pulse @c true to put @c obj in pulsing mode, @c false to put it
 * back to its default one
 *
 * @ingroup Efl_Ui_Progressbar
 */
EOAPI void efl_ui_progressbar_pulse_mode_set(Eo *obj, Eina_Bool pulse);

/**
 * @brief Control whether a given progress bar widget is at "pulsing mode" or
 * not.
 *
 * By default progress bars display values from low to high boundaries. There
 * are situations however in which the progress of a given task is unknown. In
 * these cases, you can set a progress bar widget to a "pulsing state" to give
 * the user an idea that some computation is being done without showing the
 * precise progress rate. In the default theme, it will animate the bar with
 * content, switching constantly between filling it and back to non-filled in a
 * loop. To start and stop this pulsing animation you need to explicitly call
 * @ref efl_ui_progressbar_pulse_set().
 *
 * @param[in] obj The object.
 *
 * @return @c true to put @c obj in pulsing mode, @c false to put it back to
 * its default one
 *
 * @ingroup Efl_Ui_Progressbar
 */
EOAPI Eina_Bool efl_ui_progressbar_pulse_mode_get(const Eo *obj);

/**
 * @brief Start/stop a given progress bar "pulsing" animation, if its under
 * that mode.
 *
 * @note This call won't do anything if @c obj is not under "pulsing mode". See
 * @ref efl_ui_progressbar_pulse_mode_get.
 *
 * @param[in] obj The object.
 * @param[in] state @c true, to start the pulsing animation, @c false to stop
 * it
 *
 * @ingroup Efl_Ui_Progressbar
 */
EOAPI void efl_ui_progressbar_pulse_set(Eo *obj, Eina_Bool state);

/**
 * @brief Start/stop a given progress bar "pulsing" animation, if its under
 * that mode.
 *
 * @note This call won't do anything if @c obj is not under "pulsing mode". See
 * @ref efl_ui_progressbar_pulse_mode_get.
 *
 * @param[in] obj The object.
 *
 * @return @c true, to start the pulsing animation, @c false to stop it
 *
 * @ingroup Efl_Ui_Progressbar
 */
EOAPI Eina_Bool efl_ui_progressbar_pulse_get(const Eo *obj);

/**
 * @brief Whether a textual progress label is shown alongside the progressbar
 * to give an exact numerical indication of the current progress.
 *
 * Not to be confused with the widget label set through @ref efl_text_get.
 *
 * @param[in] obj The object.
 * @param[in] show @c true to show the progress label.
 *
 * @ingroup Efl_Ui_Progressbar
 */
EOAPI void efl_ui_progressbar_show_progress_label_set(Eo *obj, Eina_Bool show);

/**
 * @brief Whether a textual progress label is shown alongside the progressbar
 * to give an exact numerical indication of the current progress.
 *
 * Not to be confused with the widget label set through @ref efl_text_get.
 *
 * @param[in] obj The object.
 *
 * @return @c true to show the progress label.
 *
 * @ingroup Efl_Ui_Progressbar
 */
EOAPI Eina_Bool efl_ui_progressbar_show_progress_label_get(const Eo *obj);
#endif /* EFL_BETA_API_SUPPORT */

#endif
