#ifndef _ELM_MENU_EO_LEGACY_H_
#define _ELM_MENU_EO_LEGACY_H_

#ifndef _ELM_MENU_EO_CLASS_TYPE
#define _ELM_MENU_EO_CLASS_TYPE

typedef Eo Elm_Menu;

#endif

#ifndef _ELM_MENU_EO_TYPES
#define _ELM_MENU_EO_TYPES


#endif

/**
 *
 * @brief Get the selected item in the menu
 *
 * @return The selected item, or NULL if none
 *
 * @see elm_menu_item_selected_get()
 * @see elm_menu_item_selected_set()
 *
 * @ingroup Menu
 *
 * @param[in] obj The elm menu object
 */
//EAPI Elm_Object_Item *elm_menu_selected_item_get(const Elm_Menu *obj);

/**
 *
 * @brief Returns a list of @p item's items.
 *
 * @return An list* of @p item's items
 *
 * @ingroup Menu
 *
 * @param[in] obj The elm menu object
 */
//EAPI const Eina_List *elm_menu_items_get(const Elm_Menu *obj);

/**
 *
 * @brief Get the first item in the menu
 *
 * @return The first item, or NULL if none
 *
 * @ingroup Menu
 *
 * @param[in] obj The elm menu object
 */
//EAPI Elm_Object_Item *elm_menu_first_item_get(const Elm_Menu *obj);

/**
 *
 * @brief Get the last item in the menu
 *
 * @return The last item, or NULL if none
 *
 * @ingroup Menu
 *
 * @param[in] obj The elm menu object
 */
//EAPI Elm_Object_Item *elm_menu_last_item_get(const Elm_Menu *obj);

/**
 *
 * @brief Move the menu to a new position
 *
 * Sets the top-left position of the menu to (@p x,@p y).
 *
 * @note @p x and @p y coordinates are relative to parent.
 *
 * @ingroup Menu
 * 
 *
 * @param[in] obj The elm menu object
 * @param[in] x The new position.
 * @param[in] y The new position.
 */
//EAPI void elm_menu_move(Elm_Menu *obj, Evas_Coord x, Evas_Coord y);

/**
 *
 * @brief Add an item at the end of the given menu widget
 *
 * @return Returns the new item.
 *
 * @note This function does not accept relative icon path.
 *
 * @ingroup Menu
 * 
 *
 * @param[in] obj The elm menu object
 * @param[in] parent The parent menu item (optional)
 * @param[in] icon An icon display on the item. The icon will be destroyed by the menu.
 * @param[in] label The label of the item.
 * @param[in] func Function called when the user select the item.
 * @param[in] data Data sent by the callback.
 */
//EAPI Elm_Object_Item *elm_menu_item_add(Elm_Menu *obj, Elm_Object_Item *parent, const char *icon, const char *label, Evas_Smart_Cb func, const void *data);

/**
 *
 * @brief Close a opened menu
 *
 * @return void
 *
 * Hides the menu and all it's sub-menus.
 *
 * @ingroup Menu
 * 
 *
 * @param[in] obj The elm menu object
 */
//EAPI void elm_menu_close(Elm_Menu *obj);

/**
 *
 * @brief Add a separator item to menu @p obj under @p parent.
 *
 * @return The created item or NULL on failure
 *
 * This is item is a @ref Separator.
 *
 * @ingroup Menu
 * 
 *
 * @param[in] obj The elm menu object
 * @param[in] parent The item to add the separator under
 */
//EAPI Elm_Object_Item *elm_menu_item_separator_add(Elm_Menu *obj, Elm_Object_Item *parent);

#endif
