Changes after TouchData renamed to TouchEvent
[platform/core/uifw/dali-toolkit.git] / automated-tests / src / dali-toolkit / dali-toolkit-test-utils / toolkit-accessibility-adaptor.cpp
index 8c37474..9089fc5 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.
@@ -20,7 +20,7 @@
 #include <dali/devel-api/adaptor-framework/accessibility-action-handler.h>
 #include <dali/devel-api/adaptor-framework/accessibility-gesture-handler.h>
 #include <dali/devel-api/adaptor-framework/accessibility-gesture-event.h>
-#include <dali/integration-api/events/touch-data-integ.h>
+#include <dali/integration-api/events/touch-integ.h>
 
 namespace Dali
 {
@@ -241,8 +241,8 @@ bool AccessibilityAdaptor::HandleActionScrollEvent(const TouchPoint& point, unsi
 {
   if( mActionHandler )
   {
-    Dali::TouchData touchData = Integration::NewTouchData(timeStamp, point);
-    return mActionHandler->AccessibilityActionScroll( touchData );
+    Dali::TouchEvent touch = Integration::NewTouchEvent(timeStamp, point);
+    return mActionHandler->AccessibilityActionScroll( touch );
   }
   return false;
 }
@@ -251,8 +251,8 @@ bool AccessibilityAdaptor::HandleActionTouchEvent(const TouchPoint& point, unsig
 {
   if( mActionHandler )
   {
-    Dali::TouchData touchData = Integration::NewTouchData(timeStamp, point);
-    return mActionHandler->AccessibilityActionTouch( touchData );
+    Dali::TouchEvent touch = Integration::NewTouchEvent(timeStamp, point);
+    return mActionHandler->AccessibilityActionTouch( touch );
   }
   return false;
 }