Revert "[Tizen] Add to get current window orientation."
authorSeungho, Baek <sbsh.baek@samsung.com>
Tue, 21 Jan 2020 08:36:31 +0000 (17:36 +0900)
committerSeungho, Baek <sbsh.baek@samsung.com>
Tue, 21 Jan 2020 08:36:31 +0000 (17:36 +0900)
This reverts commit cd30701d6de7aa193fd3ff6d43ebb6f23c550b01.

dali-csharp-binder/src/window.cpp

index 05929b18419d2861789d78c8c5795eaa85f5a3d8..985bada5fca5162af1615c6074c8f419a5953179 100755 (executable)
@@ -786,39 +786,6 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Window_GetPreferredOrientation(void * jar
   return jresult;
 }
 
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Window_GetCurrentOrientation(void * jarg1) {
-  int jresult ;
-  Dali::Window::WindowOrientation result;
-  Dali::Window* window = (Dali::Window*)jarg1;
-  if (!window) {
-    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
-    return 0;
-  }
-  {
-    try {
-      result = Dali::DevelWindow::GetCurrentOrientation(*window);
-    } catch (std::out_of_range& e) {
-      {
-        SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
-      };
-    } catch (std::exception& e) {
-      {
-        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
-      };
-    } catch (Dali::DaliException e) {
-      {
-        SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
-      };
-    } catch (...) {
-      {
-        SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
-      };
-    }
-  }
-
-  jresult = (int)result;
-  return jresult;
-}
 
 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetNativeHandle(void * jarg1) {
   void * jresult ;