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.
This commit is contained in:
Yakov Goldberg 2015-07-07 11:00:07 +03:00
parent 768cfe41cb
commit ce57367a39
4 changed files with 17 additions and 27 deletions

View File

@ -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 \

View File

@ -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. */
}
}
}

View File

@ -61,7 +61,6 @@
* @{
*/
#include "elm_bubble_common.h"
#ifdef EFL_EO_API_SUPPORT
#include "elm_bubble_eo.h"
#endif

View File

@ -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;
/**
* @}
*/