yakov pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=fb6ebed055ae391b517a4d12d77bd45fd1cd2694

commit fb6ebed055ae391b517a4d12d77bd45fd1cd2694
Author: Yakov Goldberg <yako...@samsung.com>
Date:   Wed Jul 8 12:31:12 2015 +0300

    elm_hover: Move enums to elm_hover.eo
    
    Move enums from elm_hover_common.h to elm_hover.eo in order to make them
    more accessible for bindings. Delete elm_hover_common.h.
---
 src/lib/Makefile.am        |  1 -
 src/lib/elm_hover.eo       | 14 +++++++++++++-
 src/lib/elm_hover.h        |  1 -
 src/lib/elm_hover_common.h | 20 --------------------
 4 files changed, 13 insertions(+), 23 deletions(-)

diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 6fc31ff..d3a7676 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -241,7 +241,6 @@ elm_grid.h \
 elm_grid_eo.h \
 elm_grid_legacy.h \
 elm_hover.h \
-elm_hover_common.h \
 elm_hover_eo.h \
 elm_hover_legacy.h \
 elm_icon.h \
diff --git a/src/lib/elm_hover.eo b/src/lib/elm_hover.eo
index 4a99401..0401735 100644
--- a/src/lib/elm_hover.eo
+++ b/src/lib/elm_hover.eo
@@ -1,3 +1,15 @@
+enum Elm.Hover.Axis
+{
+   [[
+     @addtogroup Hover
+     The orientation axis for the hover object
+   ]]
+   none, [[ELM_HOVER_AXIS_NONE -- no preferred orientation.]]
+   horizontal, [[ELM_HOVER_AXIS_HORIZONTAL -- horizontal.]]
+   vertical, [[ELM_HOVER_AXIS_VERTICAL -- vertical.]]
+   both [[ELM_HOVER_AXIS_BOTH -- both.]]
+}
+
 class Elm.Hover (Elm.Layout, Evas.Clickable_Interface)
 {
    eo_prefix: elm_obj_hover;
@@ -53,7 +65,7 @@ class Elm.Hover (Elm.Layout, Evas.Clickable_Interface)
          @ingroup Hover */
          return: const(char)*;
          params {
-            @in pref_axis: Elm_Hover_Axis; /*@ The preferred orientation axis 
for the hover object to use */
+            @in pref_axis: Elm.Hover.Axis; /*@ The preferred orientation axis 
for the hover object to use */
          }
       }
       dismiss {
diff --git a/src/lib/elm_hover.h b/src/lib/elm_hover.h
index 7d6ea0a..1563265 100644
--- a/src/lib/elm_hover.h
+++ b/src/lib/elm_hover.h
@@ -80,7 +80,6 @@
  * @{
  */
 
-#include "elm_hover_common.h"
 #ifdef EFL_EO_API_SUPPORT
 #include "elm_hover_eo.h"
 #endif
diff --git a/src/lib/elm_hover_common.h b/src/lib/elm_hover_common.h
deleted file mode 100644
index ed28abe..0000000
--- a/src/lib/elm_hover_common.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * @addtogroup Hover
- *
- * @{
- */
-
-/**
- * The orientation axis for the hover object
- */
-typedef enum
-{
-   ELM_HOVER_AXIS_NONE, /**< ELM_HOVER_AXIS_NONE -- no preferred orientation */
-   ELM_HOVER_AXIS_HORIZONTAL, /**< ELM_HOVER_AXIS_HORIZONTAL -- horizontal */
-   ELM_HOVER_AXIS_VERTICAL, /**< ELM_HOVER_AXIS_VERTICAL -- vertical */
-   ELM_HOVER_AXIS_BOTH /**< ELM_HOVER_AXIS_BOTH -- both */
-} Elm_Hover_Axis;
-
-/**
- * @}
- */

-- 


Reply via email to