Add GetLastPanGestureState 46/315446/1
authorjoogab.yun <joogab.yun@samsung.com>
Thu, 1 Aug 2024 03:42:01 +0000 (12:42 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Thu, 1 Aug 2024 03:42:01 +0000 (12:42 +0900)
Change-Id: Ie31c0c6c8d785e870b1de252114e711bdf03ed7e

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

index c955839cdd36aeb95cc3392273cebf357f3bd5fd..1f6b0620587220c3c1c36db9e2f73fae3cb4cf93 100644 (file)
@@ -2748,6 +2748,24 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_InternalRetrievingLastHoverEvent(
   }
 }
 
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Window_InternalRetrievingLastPanGestureState(void* winHandle)
+{
+  Dali::Window* window = (Dali::Window*)winHandle;
+  Dali::GestureState result;
+
+  if (!window) {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
+    return 0;
+  }
+  {
+    try {
+      result = Dali::DevelWindow::GetLastPanGestureState(*window);
+    } CALL_CATCH_EXCEPTION(0);
+  }
+  return (int)result;
+}
+
+
 
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetNeedsRotationCompletedAcknowledgement(void* winHandle, bool needAcknowledgement)
 {