yakov pushed a commit to branch master.

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

commit 62e0241e28458e2012582524a0be7c6ee906036d
Author: Yakov Goldberg <yako...@samsung.com>
Date:   Tue Jul 7 11:00:07 2015 +0300

    elm_bubble: Move enums to elm_bubble.eo
    
    Move enums from elm_bubble_common.h to elm_bubble.eo in order to make them
    more accessible for bindings. Delete elm_bubble_common.h.
---
 src/lib/Makefile.am         |  1 -
 src/lib/elm_bubble.eo       | 18 +++++++++++++++++-
 src/lib/elm_bubble.h        |  1 -
 src/lib/elm_bubble_common.h | 24 ------------------------
 4 files changed, 17 insertions(+), 27 deletions(-)

diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 01452b6..c52c884 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -162,7 +162,6 @@ elm_box_common.h \
 elm_bubble.h \
 elm_bubble_eo.h \
 elm_bubble_legacy.h \
-elm_bubble_common.h \
 elm_button.h \
 elm_button_eo.h \
 elm_button_legacy.h \
diff --git a/src/lib/elm_bubble.eo b/src/lib/elm_bubble.eo
index cf2c24f..3b5c492 100644
--- a/src/lib/elm_bubble.eo
+++ b/src/lib/elm_bubble.eo
@@ -1,3 +1,19 @@
+enum Elm.Bubble.Pos
+{
+  [[
+     @addtogroup Bubble
+     Defines the corner values for a bubble.
+
+     The corner will be used to determine where the arrow of the
+     bubble points to.
+  ]]
+  invalid = -1, [[Invalid corner.]]
+  top_left, [[The arrow of the bubble points to the top left corner.]]
+  top_right, [[The arrow of the bubble points to the top right corner.]]
+  bottom_left, [[The arrow of the bubble points to the bottom left corner.]]
+  bottom_right [[The arrow of the bubble points to the bottom right corner.]]
+}
+
 class Elm.Bubble (Elm.Layout, Evas.Clickable_Interface)
 {
    eo_prefix: elm_obj_bubble;
@@ -25,7 +41,7 @@ class Elm.Bubble (Elm.Layout, Evas.Clickable_Interface)
             @ingroup Bubble */
          }
          values {
-            pos: Elm_Bubble_Pos; /*@ The given corner for the bubble. */
+            pos: Elm.Bubble.Pos; /*@ The given corner for the bubble. */
          }
       }
    }
diff --git a/src/lib/elm_bubble.h b/src/lib/elm_bubble.h
index 853cf7b..f0ca62c 100644
--- a/src/lib/elm_bubble.h
+++ b/src/lib/elm_bubble.h
@@ -61,7 +61,6 @@
  * @{
  */
 
-#include "elm_bubble_common.h"
 #ifdef EFL_EO_API_SUPPORT
 #include "elm_bubble_eo.h"
 #endif
diff --git a/src/lib/elm_bubble_common.h b/src/lib/elm_bubble_common.h
deleted file mode 100644
index 0e3c94e..0000000
--- a/src/lib/elm_bubble_common.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * @addtogroup Bubble
- *
- * @{
- */
-
-/**
- * Defines the corner values for a bubble.
- *
- * The corner will be used to determine where the arrow of the
- * bubble points to.
- */
-typedef enum
-{
-  ELM_BUBBLE_POS_INVALID = -1, /**< invalid corner */
-  ELM_BUBBLE_POS_TOP_LEFT, /**< the arrow of the bubble points to the top left 
corner. */
-  ELM_BUBBLE_POS_TOP_RIGHT, /**< the arrow of the bubble points to the top 
right corner. */
-  ELM_BUBBLE_POS_BOTTOM_LEFT, /**< the arrow of the bubble points to the 
bottom left corner. */
-  ELM_BUBBLE_POS_BOTTOM_RIGHT, /**< the arrow of the bubble points to the 
bottom right corner. */
-} Elm_Bubble_Pos;
-
-/**
- * @}
- */

-- 


Reply via email to