elm Elementary.h.in: Use 'typedef' with enum definition.

SVN revision: 61585
This commit is contained in:
Daniel Juyung Seo 2011-07-22 10:50:38 +00:00
parent 10741f63e5
commit ce4c97cbc0
1 changed files with 4 additions and 17 deletions

View File

@ -7288,7 +7288,7 @@ extern "C" {
* Enum of supported gesture types.
* @ingroup Elm_Gesture_Layer
*/
enum _Elm_Gesture_Types
typedef enum _Elm_Gesture_Types
{
ELM_GESTURE_FIRST = 0,
@ -7305,34 +7305,21 @@ extern "C" {
ELM_GESTURE_ROTATE, /**< Rotate */
ELM_GESTURE_LAST
};
/**
* @typedef Elm_Gesture_Types
* Type for Enum of supported gesture types.
* @ingroup Elm_Gesture_Layer
*/
typedef enum _Elm_Gesture_Types Elm_Gesture_Types;
} Elm_Gesture_Types;
/**
* @enum _Elm_Gesture_State
* Enum of gesture states.
* @ingroup Elm_Gesture_Layer
*/
enum _Elm_Gesture_State
typedef enum _Elm_Gesture_State
{
ELM_GESTURE_STATE_UNDEFINED = -1, /**< Gesture not STARTed */
ELM_GESTURE_STATE_START, /**< Gesture STARTed */
ELM_GESTURE_STATE_MOVE, /**< Gesture is ongoing */
ELM_GESTURE_STATE_END, /**< Gesture completed */
ELM_GESTURE_STATE_ABORT /**< Onging gesture was ABORTed */
};
/**
* @typedef Elm_Gesture_State
* gesture states.
* @ingroup Elm_Gesture_Layer
*/
typedef enum _Elm_Gesture_State Elm_Gesture_State;
} Elm_Gesture_State;
/**
* @struct _Elm_Gesture_Taps_Info