Revert "[Tizen] Add C# binding for GetLogicalKey API"
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 10 Jun 2019 05:44:22 +0000 (14:44 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 10 Jun 2019 05:44:26 +0000 (14:44 +0900)
This reverts commit 79ca1e0c78e7d613f8c55b119bf7a98b7334a73c.

dali-csharp-binder/src/dali_wrap.cpp

index d64274ca8b967d1d5570c22f4c512323ca6a1a28..9ed094d9cb2b6f07cc4642bfc41cf744625b2e79 100755 (executable)
@@ -425,7 +425,6 @@ void SWIG_CSharpException(int code, const char *msg) {
 
 #include <dali/devel-api/actors/actor-devel.h>
 #include <dali/devel-api/common/stage-devel.h>
-#include <dali/devel-api/events/key-event-devel.h>
 
 #include <dali/public-api/math/matrix.h>
 #include <dali/public-api/math/matrix3.h>
@@ -31504,43 +31503,6 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Key_state_get(void * jarg1) {
   return jresult;
 }
 
-SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_Key_logicalKey_get(void * jarg1) {
-  char * jresult ;
-  std::string result;
-  Dali::KeyEvent *arg1 = (Dali::KeyEvent *) 0;
-
-  arg1 = (Dali::KeyEvent *)jarg1;
-  if (!arg1) {
-    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::DevelKeyEvent const & type is null", 0);
-    return 0;
-  }
-  {
-    try {
-      result = Dali::DevelKeyEvent::GetLogicalKey(*arg1);
-    } 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 = SWIG_csharp_string_callback( (&result)->c_str() );
-  return jresult;
-}
-
 
 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_LongPressGestureDetector__SWIG_0() {
   void * jresult ;