Add FeedTouchPoint and FeedWheelEvent api binding 99/270899/1
authorjoogab.yun <joogab.yun@samsung.com>
Fri, 11 Feb 2022 02:14:55 +0000 (11:14 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Fri, 11 Feb 2022 02:14:55 +0000 (11:14 +0900)
Change-Id: I82b947086e17fec100cb84f2b54d662044dd8c7b

dali-csharp-binder/src/window-wrap.cpp

index a77a70e..79fadec 100644 (file)
@@ -1493,6 +1493,36 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_FeedKeyEvent(void * jarg1) {
   }
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_FeedTouchPoint(void * touchPoint, int timeStamp) {
+  Dali::TouchPoint *arg1 = 0 ;
+
+  arg1 = (Dali::TouchPoint *)touchPoint;
+  if (!arg1) {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TouchPoint & type is null", 0);
+    return ;
+  }
+  {
+    try {
+      Dali::Adaptor::Get().FeedTouchPoint(*arg1, timeStamp);
+    } CALL_CATCH_EXCEPTION();
+  }
+}
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_FeedWheelEvent(void * wheelEvent) {
+  Dali::WheelEvent *arg1 = 0 ;
+
+  arg1 = (Dali::WheelEvent *)wheelEvent;
+  if (!arg1) {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::WheelEvent & type is null", 0);
+    return ;
+  }
+  {
+    try {
+      Dali::Adaptor::Get().FeedWheelEvent(*arg1);
+    } CALL_CATCH_EXCEPTION();
+  }
+}
+
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_RenderOnce(void * /* jarg1 */) {
   try {
     Dali::Adaptor::Get().RenderOnce();