eext_floatingbutton: remove all legacy usage from eo files 34/204534/1 accepted/tizen/unified/20190425.014537 accepted/tizen/unified/20190429.103738 submit/tizen/20190424.080239 submit/tizen/20190426.083556
authorYeongjong Lee <yj34.lee@samsung.com>
Wed, 24 Apr 2019 07:00:22 +0000 (16:00 +0900)
committerYeongjong Lee <yj34.lee@samsung.com>
Wed, 24 Apr 2019 07:02:57 +0000 (16:02 +0900)
eolian_gen no longer supports legacy header file generation

Change-Id: I4244b19da959396c6d4ea2723fc79f7981216eec

inc/CMakeLists.txt
inc/mobile/eext_floatingbutton_eo.legacy.h [new file with mode: 0644]
inc/mobile/eext_floatingbutton_legacy.h
inc/mobile/eext_floatingbutton_part_content_eo.legacy.h [new file with mode: 0644]
src/CMakeLists.txt

index b1acae41eb74016e1471a41d993f54e47669d5c1..0c199b2b6cf5239481d5b79aff3debc27fbeae92 100644 (file)
@@ -40,7 +40,7 @@ SET(LIB_INCS
        ${LIB_INCS}
        mobile/eext_floatingbutton_common.h
        mobile/eext_floatingbutton_legacy.h
-       mobile/eext_floatingbutton.eo.legacy.h
+       mobile/eext_floatingbutton_eo.legacy.h
        mobile/eext_floatingbutton_eo.h
        mobile/eext_floatingbutton.eo.h
        mobile/eext_floatingbutton_part_content.eo.h
diff --git a/inc/mobile/eext_floatingbutton_eo.legacy.h b/inc/mobile/eext_floatingbutton_eo.legacy.h
new file mode 100644 (file)
index 0000000..36cbc97
--- /dev/null
@@ -0,0 +1,46 @@
+#ifndef _EEXT_FLOATINGBUTTON_EO_LEGACY_H_
+#define _EEXT_FLOATINGBUTTON_EO_LEGACY_H_
+
+#ifndef _EEXT_FLOATINGBUTTON_EO_CLASS_TYPE
+#define _EEXT_FLOATINGBUTTON_EO_CLASS_TYPE
+
+typedef Eo Eext_Floatingbutton;
+
+#endif
+
+#ifndef _EEXT_FLOATINGBUTTON_EO_TYPES
+#define _EEXT_FLOATINGBUTTON_EO_TYPES
+
+/** 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;
+
+/** Floating button mode
+ *
+ * @ingroup Eext_Floatingbutton
+ */
+typedef enum
+{
+  EEXT_FLOATINGBUTTON_MODE_DEFAULT = 0, /**< allows all positions */
+  EEXT_FLOATINGBUTTON_MODE_BOTH_SIDES, /**< allows LEFT and RIGHT positions only
+                                        */
+  EEXT_FLOATINGBUTTON_MODE_LAST /**< indicates the last, do not use this */
+} Eext_Floatingbutton_Mode;
+
+
+#endif
+
+#endif
index dca8e14dc1597e2d61335a2ef7938e0cf017c686..c9993a30f83c80046922443c3a3fe9cdcf4fe7e9 100644 (file)
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#include "eext_floatingbutton.eo.legacy.h"
+#include "eext_floatingbutton_eo.legacy.h"
 
 /**
  * @MOBILE_ONLY
diff --git a/inc/mobile/eext_floatingbutton_part_content_eo.legacy.h b/inc/mobile/eext_floatingbutton_part_content_eo.legacy.h
new file mode 100644 (file)
index 0000000..5f5bdf5
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef _EEXT_FLOATINGBUTTON_PART_CONTENT_EO_LEGACY_H_
+#define _EEXT_FLOATINGBUTTON_PART_CONTENT_EO_LEGACY_H_
+
+#ifndef _EEXT_FLOATINGBUTTON_PART_CONTENT_EO_CLASS_TYPE
+#define _EEXT_FLOATINGBUTTON_PART_CONTENT_EO_CLASS_TYPE
+
+typedef Eo Eext_Floatingbutton_Part_Content;
+
+#endif
+
+#ifndef _EEXT_FLOATINGBUTTON_PART_CONTENT_EO_TYPES
+#define _EEXT_FLOATINGBUTTON_PART_CONTENT_EO_TYPES
+
+
+#endif
+
+#endif
index 2c75699f81fe34618bc2c9037043c8783b38eb0b..2d39eb764993d7d4a8abe407113f099520f6ca04 100755 (executable)
@@ -53,7 +53,6 @@ foreach(eo_file ${ALL_EO_FILES})
                OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/${dir}/${out_c_file}
                COMMAND /usr/bin/eolian_gen -g c -I /usr/share/eolian/include -o "${dir}/${eo_name}" ${eo_file}
                COMMAND /usr/bin/eolian_gen -g h -I /usr/share/eolian/include -o "../inc/${dir}/${eo_name}" ${eo_file}
-               COMMAND /usr/bin/eolian_gen -g l -I /usr/share/eolian/include -o "../inc/${dir}/${eo_name}" ${eo_file}
                DEPENDS ${eo_file} ${CMAKE_CURRENT_SOURCE_DIR}/${dir}/*.eo
                COMMENT "Compiling Eo: ${eo_file}, Output eo : ${dir}/${out_c_file}"
                VERBATIM)