[Tizen] Add to get the status whether window is rotating or not accepted/tizen/unified/20220429.003448 submit/tizen/20220426.044425 submit/tizen/20220426.051358 submit/tizen/20220427.060039
authorDaekwang Ryu <dkdk.ryu@samsung.com>
Tue, 26 Apr 2022 01:54:15 +0000 (10:54 +0900)
committerDaekwang Ryu <dkdk.ryu@samsung.com>
Tue, 26 Apr 2022 01:54:26 +0000 (10:54 +0900)
This reverts commit 789eab32058e3a506e919f34255bbe65e4c9f6f7.

Change-Id: I0a6d38d142f3b32183efaf6888affe99831cd7d6

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

index 665edb8..ae91ba0 100644 (file)
@@ -2546,6 +2546,23 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Accessibility_Highlight_Signal_de
   return;
 }
 
+SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Window_IsWindowRotating(void* winHandle)
+{
+  Dali::Window* window = (Dali::Window*)winHandle;
+  bool result = false;
+  if (!window) {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
+    return result;
+  }
+  {
+    try {
+      result = Dali::DevelWindow::IsWindowRotating(*window);
+    } CALL_CATCH_EXCEPTION(false);
+  }
+
+  return result;
+}
+
 #ifdef __cplusplus
 }
 #endif