eext_floatingbutton: remove legacy keyword of Eext.Floatingbutton.Pos 68/213868/1 submit/tizen/20190916.075039 submit/tizen/20190917.040942
authorYeongjong Lee <yj34.lee@samsung.com>
Mon, 16 Sep 2019 05:11:27 +0000 (14:11 +0900)
committerYeongjong Lee <yj34.lee@samsung.com>
Mon, 16 Sep 2019 05:11:27 +0000 (14:11 +0900)
If the legacy keyword is removed, eolian generate EEXT_FLOATINGBUTTON_POS prefix
instead of EEXT_FLOATINGBUTTON. e.g. EEXT_FLOATINGBUTTON_POS_LAST.

This patch declare Eext_Floatingbutton_Pos enum manually because eolian doesn't
support c_prefix in enum.

Change-Id: I9365390dafad42ddc7eeb8037938c511c1ca8b7c

inc/mobile/eext_floatingbutton_eo.h
src/mobile/eext_floatingbutton.eo

index 3baa259cdac8ab6f015205b4e31f3452b58d7098..ce83998381e4c47f4eb01d218a49a232bb5082ea 100644 (file)
  * limitations under the License.
  */
 
+/** Floating button position
+ *
+ * @ingroup Eext_Floatingbutton
+ */
+typedef enum
+{
+  EEXT_FLOATINGBUTTON_LEFT_OUT = 0, /**< hides in the left, but small handler
+                                     * will show only */
+  EEXT_FLOATINGBUTTON_LEFT, /**< shows all of buttons, but lies on the left */
+  EEXT_FLOATINGBUTTON_CENTER, /**< shows all of buttons, but lies on the center
+                               */
+  EEXT_FLOATINGBUTTON_RIGHT, /**< shows all of buttons, but lies on the right */
+  EEXT_FLOATINGBUTTON_RIGHT_OUT, /**< hides in the right, but small handler will
+                                  * show only */
+  EEXT_FLOATINGBUTTON_LAST /**< indicates the last, do not use this */
+} Eext_Floatingbutton_Pos;
+
 #include "eext_floatingbutton.eo.h"
 #include "eext_floatingbutton_part_content.eo.h"
index bc4bfb597c3bbc602603bd68a532ce9e876abbef..42d8d2a33d041f4016f0d6e68b4afa11155545d8 100644 (file)
@@ -1,14 +1,5 @@
 
-enum Eext.Floatingbutton.Pos {
-   [[ Floating button position ]]
-   legacy: eext_floatingbutton;
-   left_out = 0, [[ hides in the left, but small handler will show only ]]
-   left,         [[ shows all of buttons, but lies on the left ]]
-   center,       [[ shows all of buttons, but lies on the center ]]
-   right,        [[ shows all of buttons, but lies on the right ]]
-   right_out,    [[ hides in the right, but small handler will show only ]]
-   last          [[ indicates the last, do not use this ]]
-}
+type @extern Eext.Floatingbutton.Pos: uint;
 
 enum Eext.Floatingbutton.Mode {
    [[ Floating button mode ]]