Moved Gesture::State and -::Type to gesture-enumerations.h.
[platform/core/uifw/dali-core.git] / dali / internal / event / events / gesture-event.cpp
index 3466004..9591ac3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -28,13 +28,12 @@ GestureEvent::~GestureEvent()
 {
 }
 
-GestureEvent::GestureEvent(Gesture::Type gesture, Gesture::State gestureState)
-: gestureType(gesture),
-  state(gestureState),
-  time(0)
+GestureEvent::GestureEvent( GestureType::Value gesture, GestureState gestureState )
+: gestureType( gesture ),
+  state( gestureState ),
+  time( 0 )
 {
 }
-
 } // namespace Internal
 
 } // namespace Dali