From: joogab.yun Date: Mon, 1 Apr 2024 08:03:37 +0000 (+0900) Subject: Binding SetTime in TouchEvent X-Git-Tag: accepted/tizen/unified/20240404.164430~3^2^2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0c6da1c2e75110be60374df4800950d63b48cee;p=platform%2Fcore%2Fuifw%2Fdali-csharp-binder.git Binding SetTime in TouchEvent Change-Id: I7e0567863eb00d065633f01c593239773f57ea41 --- diff --git a/dali-csharp-binder/common/dali-wrap.cpp b/dali-csharp-binder/common/dali-wrap.cpp index 4ef75ac5..7d9d4bda 100644 --- a/dali-csharp-binder/common/dali-wrap.cpp +++ b/dali-csharp-binder/common/dali-wrap.cpp @@ -169,6 +169,7 @@ #include #include #include +#include #include #include #include @@ -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 ;