Make changes in adaptor API for multiple windows. 27/201127/1
authorAnton Obzhirov <a.obzhirov@samsung.com>
Fri, 8 Mar 2019 15:44:12 +0000 (15:44 +0000)
committerAnton Obzhirov <a.obzhirov@samsung.com>
Fri, 8 Mar 2019 17:14:13 +0000 (17:14 +0000)
Change-Id: I3f698e697b45ef09c2eb673174c0c803172333dd

dali-csharp-binder/src/adaptor.cpp

index 89e23ca..7fbed24 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 ;