#ifndef _EFL_TEXT_MARKUP_UTIL_EO_H_
#define _EFL_TEXT_MARKUP_UTIL_EO_H_

#ifndef _EFL_TEXT_MARKUP_UTIL_EO_CLASS_TYPE
#define _EFL_TEXT_MARKUP_UTIL_EO_CLASS_TYPE

typedef Eo Efl_Text_Markup_Util;

#endif

#ifndef _EFL_TEXT_MARKUP_UTIL_EO_TYPES
#define _EFL_TEXT_MARKUP_UTIL_EO_TYPES


#endif
#ifdef EFL_BETA_API_SUPPORT
/** Utility class for markup, such as conversions
 *
 * @ingroup Efl_Text_Markup_Util
 */
#define EFL_TEXT_MARKUP_UTIL_CLASS efl_text_markup_util_class_get()

EWAPI const Efl_Class *efl_text_markup_util_class_get(void);

/**
 * @brief Converts a given (UTF-8) text to a markup-compatible string. This is
 * used mainly to set a plain text with the $.markup_set property.
 *
 * @param[in] text The text (UTF-8) to convert to markup
 *
 * @return The markup representation of given text
 *
 * @ingroup Efl_Text_Markup_Util
 */
EOAPI char *efl_text_markup_util_text_to_markup(const char *text);

/**
 * @brief Converts a given (UTF-8) text to a markup-compatible string. This is
 * used mainly to set a plain text with the $.markup_set property.
 *
 * @param[in] text The markup-text to convert to text (UTF-8)
 *
 * @return The text representation of given format
 *
 * @ingroup Efl_Text_Markup_Util
 */
EOAPI char *efl_text_markup_util_markup_to_text(const char *text);
#endif /* EFL_BETA_API_SUPPORT */

#endif
