elm naviframe - remove duplicated func prototype in headers
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Tue, 2 Apr 2019 12:57:58 +0000 (13:57 +0100)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 8 Apr 2019 01:45:23 +0000 (10:45 +0900)
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

src/lib/elementary/elc_naviframe_common.h
src/lib/elementary/elm_naviframe_eo.legacy.h

index 525f995..453587e 100644 (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.
index 155e751..995cbb1 100644 (file)
@@ -176,36 +176,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.
  *
  * @param[in] obj The object.