Move TouchPoint to Devel API
[platform/core/uifw/dali-core.git] / dali / devel-api / events / touch-point.cpp
similarity index 73%
rename from dali/public-api/events/touch-point.cpp
rename to dali/devel-api/events/touch-point.cpp
index 41a3785..bcfbea2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018 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.
  */
 
 // CLASS HEADER
-#include <dali/public-api/events/touch-point.h>
+#include <dali/devel-api/events/touch-point.h>
 
 namespace Dali
 {
 
-TouchPoint::TouchPoint(int32_t id, State state, float screenX, float screenY)
+TouchPoint::TouchPoint(int32_t id, PointState::Type state, float screenX, float screenY)
 : deviceId(id),
   state(state),
   local(screenX, screenY),
@@ -29,7 +29,7 @@ TouchPoint::TouchPoint(int32_t id, State state, float screenX, float screenY)
 {
 }
 
-TouchPoint::TouchPoint(int32_t id, State state, float screenX, float screenY, float localX, float localY)
+TouchPoint::TouchPoint(int32_t id, PointState::Type state, float screenX, float screenY, float localX, float localY)
 : deviceId(id),
   state(state),
   local(localX, localY),