e_zone: added new event type for rotation effect 19/94319/3
authorMinJeong Kim <minjjj.kim@samsung.com>
Thu, 20 Oct 2016 07:32:22 +0000 (16:32 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Wed, 2 Nov 2016 02:14:43 +0000 (19:14 -0700)
- E_EVENT_ZONE_ROTATION_EFFECT_READY : rotation effect is ready
- E_EVENT_ZONE_ROTATION_EFFECT_CANCEL : rotation effect is cancelled
- E_EVENT_ZONE_ROTATION_EFFECT_DONE  : rotation effect is done

Change-Id: I585dc2e2cf56f26bfdf316e37a48cb0725e2e519
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
src/bin/e_zone.c
src/bin/e_zone.h

index 18ba390..5ffefb4 100644 (file)
@@ -32,6 +32,9 @@ E_API int E_EVENT_ZONE_UNSTOW = 0;
 E_API int E_EVENT_ZONE_ROTATION_CHANGE_BEGIN = 0;
 E_API int E_EVENT_ZONE_ROTATION_CHANGE_CANCEL = 0;
 E_API int E_EVENT_ZONE_ROTATION_CHANGE_END = 0;
+E_API int E_EVENT_ZONE_ROTATION_EFFECT_READY = 0;
+E_API int E_EVENT_ZONE_ROTATION_EFFECT_CANCEL = 0;
+E_API int E_EVENT_ZONE_ROTATION_EFFECT_DONE = 0;
 #endif
 E_API int E_EVENT_ZONE_DISPLAY_STATE_CHANGE = 0;
 
@@ -59,6 +62,9 @@ e_zone_init(void)
    E_EVENT_ZONE_ROTATION_CHANGE_BEGIN = ecore_event_type_new();
    E_EVENT_ZONE_ROTATION_CHANGE_CANCEL = ecore_event_type_new();
    E_EVENT_ZONE_ROTATION_CHANGE_END = ecore_event_type_new();
+   E_EVENT_ZONE_ROTATION_EFFECT_READY = ecore_event_type_new();
+   E_EVENT_ZONE_ROTATION_EFFECT_CANCEL = ecore_event_type_new();
+   E_EVENT_ZONE_ROTATION_EFFECT_DONE = ecore_event_type_new();
 #endif
    E_EVENT_ZONE_DISPLAY_STATE_CHANGE = ecore_event_type_new();
 
index dceefbc..c3a6f38 100644 (file)
@@ -34,6 +34,9 @@ typedef struct _E_Event_Zone_Generic        E_Event_Zone_Unstow;
 typedef struct _E_Event_Zone_Rotation_Change_Begin  E_Event_Zone_Rotation_Change_Begin;
 typedef struct _E_Event_Zone_Rotation_Change_Cancel E_Event_Zone_Rotation_Change_Cancel;
 typedef struct _E_Event_Zone_Rotation_Change_End    E_Event_Zone_Rotation_Change_End;
+typedef struct _E_Event_Zone_Generic                E_Event_Zone_Rotation_Effect_Ready;
+typedef struct _E_Event_Zone_Generic                E_Event_Zone_Rotation_Effect_Cancel;
+typedef struct _E_Event_Zone_Generic                E_Event_Zone_Rotation_Effect_Done;
 #endif
 typedef struct _E_Event_Zone_Display_State_Change   E_Event_Zone_Display_State_Change;
 
@@ -227,6 +230,9 @@ extern E_API int E_EVENT_ZONE_UNSTOW;
 extern E_API int E_EVENT_ZONE_ROTATION_CHANGE_BEGIN;
 extern E_API int E_EVENT_ZONE_ROTATION_CHANGE_CANCEL;
 extern E_API int E_EVENT_ZONE_ROTATION_CHANGE_END;
+extern E_API int E_EVENT_ZONE_ROTATION_EFFECT_READY;
+extern E_API int E_EVENT_ZONE_ROTATION_EFFECT_CANCEL;
+extern E_API int E_EVENT_ZONE_ROTATION_EFFECT_DONE;
 #endif
 
 extern E_API int E_EVENT_ZONE_DISPLAY_STATE_CHANGE;