Gesture event refactor
[platform/core/uifw/dali-csharp-binder.git] / dali-csharp-binder / src / adaptor.cpp
index 89e23ca..88c75bd 100755 (executable)
@@ -87,8 +87,8 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Adaptor_New__SWIG_0(void * jarg1) {
 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Adaptor_New__SWIG_1(void * jarg1, void * jarg2) {
   void * jresult ;
   Dali::Window arg1 ;
-  Dali::Configuration::ContextLoss arg2 ;
   Dali::Window *argp1 ;
+  Dali::Configuration::ContextLoss arg2 ;
   Dali::Configuration::ContextLoss *argp2 ;
   Dali::Adaptor *result = 0 ;
 
@@ -133,14 +133,14 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Adaptor_New__SWIG_1(void * jarg1, void
 
 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Adaptor_New__SWIG_2(void * jarg1, void * jarg2) {
   void * jresult ;
-  Dali::Any arg1 ;
+  Dali::Window arg1 ;
+  Dali::Window *argp1 ;
   Dali::RenderSurfaceInterface *arg2 = 0 ;
-  Dali::Any *argp1 ;
   Dali::Adaptor *result = 0 ;
 
-  argp1 = (Dali::Any *)jarg1;
+  argp1 = (Dali::Window *)jarg1;
   if (!argp1) {
-    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Any", 0);
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
     return 0;
   }
   arg1 = *argp1;
@@ -178,16 +178,16 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Adaptor_New__SWIG_2(void * jarg1, void
 
 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Adaptor_New__SWIG_3(void * jarg1, void * jarg2, void * jarg3) {
   void * jresult ;
-  Dali::Any arg1 ;
+  Dali::Window arg1 ;
+  Dali::Window *argp1 ;
   Dali::RenderSurfaceInterface *arg2 = 0 ;
   Dali::Configuration::ContextLoss arg3 ;
-  Dali::Any *argp1 ;
   Dali::Configuration::ContextLoss *argp3 ;
   Dali::Adaptor *result = 0 ;
 
-  argp1 = (Dali::Any *)jarg1;
+  argp1 = (Dali::Window *)jarg1;
   if (!argp1) {
-    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Any", 0);
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
     return 0;
   }
   arg1 = *argp1;
@@ -442,14 +442,14 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_RemoveIdle(void * jarg1, void *
 
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_ReplaceSurface(void * jarg1, void * jarg2, void * jarg3) {
   Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
-  Dali::Any arg2 ;
+  Dali::Window arg2 ;
+  Dali::Window *argp2 ;
   Dali::RenderSurfaceInterface *arg3 = 0 ;
-  Dali::Any *argp2 ;
 
   arg1 = (Dali::Adaptor *)jarg1;
-  argp2 = (Dali::Any *)jarg2;
+  argp2 = (Dali::Window *)jarg2;
   if (!argp2) {
-    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Any", 0);
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
     return ;
   }
   arg2 = *argp2;
@@ -460,7 +460,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_ReplaceSurface(void * jarg1, voi
   }
   {
     try {
-      (arg1)->ReplaceSurface(arg2,*arg3);
+      (arg1)->ReplaceSurface(arg2, *arg3);
     } catch (std::out_of_range& e) {
       {
         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
@@ -760,37 +760,6 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_NotifyLanguageChanged(void * jar
 }
 
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_SetMinimumPinchDistance(void * jarg1, float jarg2) {
-  Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
-  float arg2 ;
-
-  arg1 = (Dali::Adaptor *)jarg1;
-  arg2 = (float)jarg2;
-  {
-    try {
-      (arg1)->SetMinimumPinchDistance(arg2);
-    } catch (std::out_of_range& e) {
-      {
-        SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
-      };
-    } catch (std::exception& e) {
-      {
-        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
-      };
-    } catch (Dali::DaliException e) {
-      {
-        SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
-      };
-    } catch (...) {
-      {
-        SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
-      };
-    }
-  }
-
-}
-
-
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_FeedTouchPoint(void * jarg1, void * jarg2, int jarg3) {
   Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
   Dali::TouchPoint *arg2 = 0 ;