summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2015-07-07 11:00:07 +0300
committerYakov Goldberg <yakov.g@samsung.com>2015-07-08 10:23:38 +0300
commit62e0241e28458e2012582524a0be7c6ee906036d (patch)
tree68aadf8106ebe1be723b3ffb00534867a48cc740
parente91ab22df00b2355980d24d337bf9a7e97d89902 (diff)
downloadelementary-62e0241e28458e2012582524a0be7c6ee906036d.tar.gz
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.
-rw-r--r--src/lib/Makefile.am1
-rw-r--r--src/lib/elm_bubble.eo18
-rw-r--r--src/lib/elm_bubble.h1
-rw-r--r--src/lib/elm_bubble_common.h24
4 files changed, 17 insertions, 27 deletions
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 01452b664..c52c884d3 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 cf2c24fd0..3b5c492ce 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 853cf7b8b..f0ca62ccb 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 0e3c94e23..000000000
--- 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;
-
-/**
- * @}
- */