elm naviframe - remove duplicated func prototype in headers

one hade EAPI, one did not and there were 2 anyway, so remove one and
ensure the other has EAPI and the same docs. this should fix T7776
This commit is contained in:
Carsten Haitzler 2019-04-02 13:57:58 +01:00
parent 413c987837
commit 96f1e29709
2 changed files with 29 additions and 31 deletions

View File

@ -23,7 +23,35 @@ EAPI Evas_Object *elm_naviframe_add(Evas_Object *parent);
EAPI void elm_naviframe_item_title_enabled_set(Elm_Object_Item *it, Eina_Bool enabled, Eina_Bool transition);
Elm_Object_Item *elm_naviframe_item_push(Evas_Object *obj, const char *title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const char *item_style);
/**
* @brief Push a new item to the top of the naviframe stack (and show it).
*
* The item pushed becomes one page of the naviframe, this item will be deleted
* when it is popped.
*
* When push transition animation is in progress, pop operation is blocked
* until push is complete.
*
* The following styles are available for this item: "default"
*
* @param[in] obj The object.
* @param[in] title_label The label in the title area. The name of the title
* label part is "elm.text.title"
* @param[in] prev_btn The button to go to the previous item. If it is NULL,
* then naviframe will create a back button automatically. The name of the
* prev_btn part is "elm.swallow.prev_btn"
* @param[in] next_btn The button to go to the next item. Or It could be just
* an extra function button. The name of the next_btn part is
* "elm.swallow.next_btn"
* @param[in] content The main content object. The name of content part is
* "elm.swallow.content"
* @param[in] item_style The current item style name. @c NULL would be default.
*
* @return The created item or @c NULL upon failure.
*
* @ingroup Elm_Naviframe_Group
*/
EAPI Elm_Object_Item *elm_naviframe_item_push(Evas_Object *obj, const char *title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const char *item_style);
/**
* @brief Simple version of item_push.

View File

@ -175,36 +175,6 @@ EAPI Efl_Canvas_Object *elm_naviframe_item_pop(Elm_Naviframe *obj);
*/
EAPI Elm_Widget_Item *elm_naviframe_item_insert_before(Elm_Naviframe *obj, Elm_Widget_Item *before, const char *title_label, Efl_Canvas_Object *prev_btn, Efl_Canvas_Object *next_btn, Efl_Canvas_Object *content, const char *item_style);
/**
* @brief Push a new item to the top of the naviframe stack (and show it).
*
* The item pushed becomes one page of the naviframe, this item will be deleted
* when it is popped.
*
* When push transition animation is in progress, pop operation is blocked
* until push is complete.
*
* The following styles are available for this item: "default"
*
* @param[in] obj The object.
* @param[in] title_label The label in the title area. The name of the title
* label part is "elm.text.title"
* @param[in] prev_btn The button to go to the previous item. If it is NULL,
* then naviframe will create a back button automatically. The name of the
* prev_btn part is "elm.swallow.prev_btn"
* @param[in] next_btn The button to go to the next item. Or It could be just
* an extra function button. The name of the next_btn part is
* "elm.swallow.next_btn"
* @param[in] content The main content object. The name of content part is
* "elm.swallow.content"
* @param[in] item_style The current item style name. @c NULL would be default.
*
* @return The created item or @c NULL upon failure.
*
* @ingroup Elm_Naviframe_Group
*/
EAPI Elm_Widget_Item *elm_naviframe_item_push(Elm_Naviframe *obj, const char *title_label, Efl_Canvas_Object *prev_btn, Efl_Canvas_Object *next_btn, Efl_Canvas_Object *content, const char *item_style);
/**
* @brief Simple version of item_promote.
*