Binding SetTime in TouchEvent 98/308798/1
authorjoogab.yun <joogab.yun@samsung.com>
Mon, 1 Apr 2024 08:03:37 +0000 (17:03 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Mon, 1 Apr 2024 08:03:37 +0000 (17:03 +0900)
Change-Id: I7e0567863eb00d065633f01c593239773f57ea41

dali-csharp-binder/common/dali-wrap.cpp

index 4ef75ac..7d9d4bd 100644 (file)
 #include <dali/devel-api/animation/path-constrainer.h>
 #include <dali/devel-api/common/stage-devel.h>
 #include <dali/devel-api/events/key-event-devel.h>
+#include <dali/devel-api/events/touch-event-devel.h>
 #include <dali/devel-api/events/wheel-event-devel.h>
 #include <dali/devel-api/events/hover-event-devel.h>
 #include <dali/devel-api/events/touch-point.h>
@@ -11696,6 +11697,23 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_Touch_GetTime(void * jarg1) {
   return jresult;
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Touch_SetTime(void * touchEvent, unsigned long time) {
+  Dali::TouchEvent *arg1 = (Dali::TouchEvent *) 0 ;
+  unsigned long arg2 = time;
+
+  arg1 = (Dali::TouchEvent *)touchEvent;
+  if (!arg1) {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "TouchEvent is null", 0);
+    return ;
+  }
+
+  {
+    try {
+      Dali::DevelTouchEvent::SetTime(*arg1, arg2);
+    } CALL_CATCH_EXCEPTION();
+  }
+}
+
 
 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_Touch_GetPointCount(void * jarg1) {
   unsigned long jresult ;