From a1351b660cdc2a0831d2c5363a75096911966498 Mon Sep 17 00:00:00 2001 From: "xb.teng" Date: Tue, 17 Oct 2017 23:16:58 +0800 Subject: [PATCH] [4.0] Changed internal property to public-api and added public-api - TerminateWidget() - RETRY_TEXT, EFFECT Change-Id: Id2dbda98358f034b9eabb42ac67b2e9549f4ac9b --- dali-csharp-binder/src/widget_view.cpp | 341 ++++++++++++++----------- 1 file changed, 191 insertions(+), 150 deletions(-) diff --git a/dali-csharp-binder/src/widget_view.cpp b/dali-csharp-binder/src/widget_view.cpp index 81cdba55..4d862d4d 100755 --- a/dali-csharp-binder/src/widget_view.cpp +++ b/dali-csharp-binder/src/widget_view.cpp @@ -49,9 +49,9 @@ SWIGEXPORT Dali::Toolkit::Control * SWIGSTDCALL CSharp_Dali_WidgetView_SWIGUpcas SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_WIDGET_ID_get() { int jresult ; int result; - + result = (int)Dali::WidgetView::WidgetView::Property::WIDGET_ID; - jresult = (int)result; + jresult = (int)result; return jresult; } @@ -59,9 +59,9 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_WIDGET_ID_get() { SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_INSTANCE_ID_get() { int jresult ; int result; - + result = (int)Dali::WidgetView::WidgetView::Property::INSTANCE_ID; - jresult = (int)result; + jresult = (int)result; return jresult; } @@ -69,9 +69,9 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_INSTANCE_ID_get() { SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_CONTENT_INFO_get() { int jresult ; int result; - + result = (int)Dali::WidgetView::WidgetView::Property::CONTENT_INFO; - jresult = (int)result; + jresult = (int)result; return jresult; } @@ -79,9 +79,9 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_CONTENT_INFO_get() { SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_TITLE_get() { int jresult ; int result; - + result = (int)Dali::WidgetView::WidgetView::Property::TITLE; - jresult = (int)result; + jresult = (int)result; return jresult; } @@ -89,9 +89,9 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_TITLE_get() { SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_UPDATE_PERIOD_get() { int jresult ; int result; - + result = (int)Dali::WidgetView::WidgetView::Property::UPDATE_PERIOD; - jresult = (int)result; + jresult = (int)result; return jresult; } @@ -99,9 +99,9 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_UPDATE_PERIOD_get() { SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_PREVIEW_get() { int jresult ; int result; - + result = (int)Dali::WidgetView::WidgetView::Property::PREVIEW; - jresult = (int)result; + jresult = (int)result; return jresult; } @@ -109,9 +109,9 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_PREVIEW_get() { SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_LOADING_TEXT_get() { int jresult ; int result; - + result = (int)Dali::WidgetView::WidgetView::Property::LOADING_TEXT; - jresult = (int)result; + jresult = (int)result; return jresult; } @@ -119,9 +119,9 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_LOADING_TEXT_get() { SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_WIDGET_STATE_FAULTED_get() { int jresult ; int result; - + result = (int)Dali::WidgetView::WidgetView::Property::WIDGET_STATE_FAULTED; - jresult = (int)result; + jresult = (int)result; return jresult; } @@ -129,9 +129,27 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_WIDGET_STATE_FAULTED_ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_PERMANENT_DELETE_get() { int jresult ; int result; - + result = (int)Dali::WidgetView::WidgetView::Property::PERMANENT_DELETE; - jresult = (int)result; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_RETRY_TEXT_get() { + int jresult ; + int result; + + result = (int)Dali::WidgetView::WidgetView::Property::RETRY_TEXT; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_EFFECT_get() { + int jresult ; + int result; + + result = (int)Dali::WidgetView::WidgetView::Property::EFFECT; + jresult = (int)result; return jresult; } @@ -139,17 +157,17 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_PERMANENT_DELETE_get( SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WidgetView_Property() { void * jresult ; Dali::WidgetView::WidgetView::Property *result = 0 ; - + { try { result = (Dali::WidgetView::WidgetView::Property *)new Dali::WidgetView::WidgetView::Property(); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { @@ -162,25 +180,25 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WidgetView_Property() { } } - jresult = (void *)result; + jresult = (void *)result; return jresult; } SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WidgetView_Property(void * jarg1) { Dali::WidgetView::WidgetView::Property *arg1 = (Dali::WidgetView::WidgetView::Property *) 0 ; - - arg1 = (Dali::WidgetView::WidgetView::Property *)jarg1; + + arg1 = (Dali::WidgetView::WidgetView::Property *)jarg1; { try { delete arg1; } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; }; } catch (Dali::DaliException e) { { @@ -204,32 +222,32 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_New(char * jarg1, char * ja int arg4 ; float arg5 ; Dali::WidgetView::WidgetView result; - + if (!jarg1) { SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); return 0; } std::string arg1_str(jarg1); - arg1 = &arg1_str; + arg1 = &arg1_str; if (!jarg2) { SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); return 0; } std::string arg2_str(jarg2); - arg2 = &arg2_str; - arg3 = (int)jarg3; - arg4 = (int)jarg4; - arg5 = (float)jarg5; + arg2 = &arg2_str; + arg3 = (int)jarg3; + arg4 = (int)jarg4; + arg5 = (float)jarg5; { try { result = Dali::WidgetView::WidgetView::New((std::string const &)*arg1,(std::string const &)*arg2,arg3,arg4,arg5); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { @@ -242,13 +260,13 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_New(char * jarg1, char * ja } } - jresult = new Dali::WidgetView::WidgetView((const Dali::WidgetView::WidgetView &)result); - + jresult = new Dali::WidgetView::WidgetView((const Dali::WidgetView::WidgetView &)result); + //argout typemap for const std::string& - - + + //argout typemap for const std::string& - + return jresult; } @@ -258,23 +276,23 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_DownCast(void * jarg1) { Dali::BaseHandle arg1 ; Dali::BaseHandle *argp1 ; Dali::WidgetView::WidgetView result; - - argp1 = (Dali::BaseHandle *)jarg1; + + argp1 = (Dali::BaseHandle *)jarg1; if (!argp1) { SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::BaseHandle", 0); return 0; } - arg1 = *argp1; + arg1 = *argp1; { try { result = Dali::WidgetView::WidgetView::DownCast(arg1); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { @@ -287,7 +305,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_DownCast(void * jarg1) { } } - jresult = new Dali::WidgetView::WidgetView((const Dali::WidgetView::WidgetView &)result); + jresult = new Dali::WidgetView::WidgetView((const Dali::WidgetView::WidgetView &)result); return jresult; } @@ -295,17 +313,17 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_DownCast(void * jarg1) { SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WidgetView__SWIG_0() { void * jresult ; Dali::WidgetView::WidgetView *result = 0 ; - + { try { result = (Dali::WidgetView::WidgetView *)new Dali::WidgetView::WidgetView(); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { @@ -318,7 +336,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WidgetView__SWIG_0() { } } - jresult = (void *)result; + jresult = (void *)result; return jresult; } @@ -327,22 +345,22 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WidgetView__SWIG_1(void * jarg1) { void * jresult ; Dali::WidgetView::WidgetView *arg1 = 0 ; Dali::WidgetView::WidgetView *result = 0 ; - + arg1 = (Dali::WidgetView::WidgetView *)jarg1; if (!arg1) { SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::WidgetView::WidgetView const & type is null", 0); return 0; - } + } { try { result = (Dali::WidgetView::WidgetView *)new Dali::WidgetView::WidgetView((Dali::WidgetView::WidgetView const &)*arg1); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { @@ -355,7 +373,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WidgetView__SWIG_1(void * jarg1) { } } - jresult = (void *)result; + jresult = (void *)result; return jresult; } @@ -365,23 +383,23 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_Assign(void * jarg1, void * Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ; Dali::WidgetView::WidgetView *arg2 = 0 ; Dali::WidgetView::WidgetView *result = 0 ; - - arg1 = (Dali::WidgetView::WidgetView *)jarg1; + + arg1 = (Dali::WidgetView::WidgetView *)jarg1; arg2 = (Dali::WidgetView::WidgetView *)jarg2; if (!arg2) { SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::WidgetView::WidgetView const & type is null", 0); return 0; - } + } { try { result = (Dali::WidgetView::WidgetView *) &(arg1)->operator =((Dali::WidgetView::WidgetView const &)*arg2); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { @@ -394,25 +412,25 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_Assign(void * jarg1, void * } } - jresult = (void *)result; + jresult = (void *)result; return jresult; } SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WidgetView(void * jarg1) { Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ; - - arg1 = (Dali::WidgetView::WidgetView *)jarg1; + + arg1 = (Dali::WidgetView::WidgetView *)jarg1; { try { delete arg1; } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; }; } catch (Dali::DaliException e) { { @@ -432,18 +450,18 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WidgetView_PauseWidget(void * ja unsigned int jresult ; Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ; bool result; - - arg1 = (Dali::WidgetView::WidgetView *)jarg1; + + arg1 = (Dali::WidgetView::WidgetView *)jarg1; { try { result = (bool)(arg1)->PauseWidget(); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { @@ -456,7 +474,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WidgetView_PauseWidget(void * ja } } - jresult = result; + jresult = result; return jresult; } @@ -465,18 +483,18 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WidgetView_ResumeWidget(void * j unsigned int jresult ; Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ; bool result; - - arg1 = (Dali::WidgetView::WidgetView *)jarg1; + + arg1 = (Dali::WidgetView::WidgetView *)jarg1; { try { result = (bool)(arg1)->ResumeWidget(); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { @@ -489,7 +507,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WidgetView_ResumeWidget(void * j } } - jresult = result; + jresult = result; return jresult; } @@ -498,18 +516,18 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WidgetView_CancelTouchEvent(void unsigned int jresult ; Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ; bool result; - - arg1 = (Dali::WidgetView::WidgetView *)jarg1; + + arg1 = (Dali::WidgetView::WidgetView *)jarg1; { try { result = (bool)(arg1)->CancelTouchEvent(); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { @@ -522,37 +540,60 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WidgetView_CancelTouchEvent(void } } - jresult = result; + jresult = result; return jresult; } SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WidgetView_ActivateFaultedWidget(void * jarg1) { Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ; - - arg1 = (Dali::WidgetView::WidgetView *)jarg1; + + arg1 = (Dali::WidgetView::WidgetView *)jarg1; { try { (arg1)->ActivateFaultedWidget(); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; }; } catch (Dali::DaliException e) { - { SWIG_CSharpException(SWIG_UnknownError, e.condition); return ; - }; } catch (...) { - { SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ; + } + } +} + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WidgetView_TerminateWidget(void * jarg1) { + unsigned int jresult; + Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ; + bool result; + + arg1 = (Dali::WidgetView::WidgetView *)jarg1; + { + try { + result = (bool)(arg1)->TerminateWidget(); + } catch (std::out_of_range& e) { + { + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; + } catch (std::exception& e) { + { + SWIG_CSharpException(SWIG_RuntimeError, const_cast(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 = result; + return jresult; } @@ -560,18 +601,18 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_WidgetAddedSignal(void * ja void * jresult ; Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ; Dali::WidgetView::WidgetView::WidgetViewSignalType *result = 0 ; - - arg1 = (Dali::WidgetView::WidgetView *)jarg1; + + arg1 = (Dali::WidgetView::WidgetView *)jarg1; { try { result = (Dali::WidgetView::WidgetView::WidgetViewSignalType *) &(arg1)->WidgetAddedSignal(); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { @@ -584,7 +625,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_WidgetAddedSignal(void * ja } } - jresult = (void *)result; + jresult = (void *)result; return jresult; } @@ -593,18 +634,18 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_WidgetDeletedSignal(void * void * jresult ; Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ; Dali::WidgetView::WidgetView::WidgetViewSignalType *result = 0 ; - - arg1 = (Dali::WidgetView::WidgetView *)jarg1; + + arg1 = (Dali::WidgetView::WidgetView *)jarg1; { try { result = (Dali::WidgetView::WidgetView::WidgetViewSignalType *) &(arg1)->WidgetDeletedSignal(); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { @@ -617,7 +658,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_WidgetDeletedSignal(void * } } - jresult = (void *)result; + jresult = (void *)result; return jresult; } @@ -626,18 +667,18 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_WidgetCreationAbortedSignal void * jresult ; Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ; Dali::WidgetView::WidgetView::WidgetViewSignalType *result = 0 ; - - arg1 = (Dali::WidgetView::WidgetView *)jarg1; + + arg1 = (Dali::WidgetView::WidgetView *)jarg1; { try { result = (Dali::WidgetView::WidgetView::WidgetViewSignalType *) &(arg1)->WidgetCreationAbortedSignal(); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { @@ -650,7 +691,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_WidgetCreationAbortedSignal } } - jresult = (void *)result; + jresult = (void *)result; return jresult; } @@ -659,18 +700,18 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_WidgetContentUpdatedSignal( void * jresult ; Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ; Dali::WidgetView::WidgetView::WidgetViewSignalType *result = 0 ; - - arg1 = (Dali::WidgetView::WidgetView *)jarg1; + + arg1 = (Dali::WidgetView::WidgetView *)jarg1; { try { result = (Dali::WidgetView::WidgetView::WidgetViewSignalType *) &(arg1)->WidgetContentUpdatedSignal(); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { @@ -683,7 +724,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_WidgetContentUpdatedSignal( } } - jresult = (void *)result; + jresult = (void *)result; return jresult; } @@ -692,18 +733,18 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_WidgetUpdatePeriodChangedSi void * jresult ; Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ; Dali::WidgetView::WidgetView::WidgetViewSignalType *result = 0 ; - - arg1 = (Dali::WidgetView::WidgetView *)jarg1; + + arg1 = (Dali::WidgetView::WidgetView *)jarg1; { try { result = (Dali::WidgetView::WidgetView::WidgetViewSignalType *) &(arg1)->WidgetUpdatePeriodChangedSignal(); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { @@ -716,7 +757,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_WidgetUpdatePeriodChangedSi } } - jresult = (void *)result; + jresult = (void *)result; return jresult; } @@ -725,18 +766,18 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_WidgetFaultedSignal(void * void * jresult ; Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ; Dali::WidgetView::WidgetView::WidgetViewSignalType *result = 0 ; - - arg1 = (Dali::WidgetView::WidgetView *)jarg1; + + arg1 = (Dali::WidgetView::WidgetView *)jarg1; { try { result = (Dali::WidgetView::WidgetView::WidgetViewSignalType *) &(arg1)->WidgetFaultedSignal(); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { @@ -749,7 +790,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_WidgetFaultedSignal(void * } } - jresult = (void *)result; + jresult = (void *)result; return jresult; } @@ -760,18 +801,18 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WidgetViewSignal_Empty(void * ja unsigned int jresult ; Dali::Signal< void (Dali::WidgetView::WidgetView) > *arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *) 0 ; bool result; - - arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *)jarg1; + + arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *)jarg1; { try { result = (bool)Dali_Signal_Sl_void_Sp_Dali_WidgetView_WidgetView_SP__Sg__Empty((Dali::Signal< void (Dali::WidgetView::WidgetView) > const *)arg1); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { @@ -784,7 +825,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WidgetViewSignal_Empty(void * ja } } - jresult = result; + jresult = result; return jresult; } @@ -793,18 +834,18 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_WidgetViewSignal_GetConnectionC unsigned long jresult ; Dali::Signal< void (Dali::WidgetView::WidgetView) > *arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *) 0 ; std::size_t result; - - arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *)jarg1; + + arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *)jarg1; { try { result = Dali_Signal_Sl_void_Sp_Dali_WidgetView_WidgetView_SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::WidgetView::WidgetView) > const *)arg1); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { @@ -817,7 +858,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_WidgetViewSignal_GetConnectionC } } - jresult = (unsigned long)result; + jresult = (unsigned long)result; return jresult; } @@ -825,19 +866,19 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_WidgetViewSignal_GetConnectionC SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WidgetViewSignal_Connect(void * jarg1, void * jarg2) { Dali::Signal< void (Dali::WidgetView::WidgetView) > *arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *) 0 ; void (*arg2)(Dali::WidgetView::WidgetView) = (void (*)(Dali::WidgetView::WidgetView)) 0 ; - - arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *)jarg1; - arg2 = (void (*)(Dali::WidgetView::WidgetView))jarg2; + + arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *)jarg1; + arg2 = (void (*)(Dali::WidgetView::WidgetView))jarg2; { try { Dali_Signal_Sl_void_Sp_Dali_WidgetView_WidgetView_SP__Sg__Connect(arg1,arg2); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; }; } catch (Dali::DaliException e) { { @@ -856,19 +897,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WidgetViewSignal_Connect(void * jarg1, v SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WidgetViewSignal_Disconnect(void * jarg1, void * jarg2) { Dali::Signal< void (Dali::WidgetView::WidgetView) > *arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *) 0 ; void (*arg2)(Dali::WidgetView::WidgetView) = (void (*)(Dali::WidgetView::WidgetView)) 0 ; - - arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *)jarg1; - arg2 = (void (*)(Dali::WidgetView::WidgetView))jarg2; + + arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *)jarg1; + arg2 = (void (*)(Dali::WidgetView::WidgetView))jarg2; { try { Dali_Signal_Sl_void_Sp_Dali_WidgetView_WidgetView_SP__Sg__Disconnect(arg1,arg2); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; }; } catch (Dali::DaliException e) { { @@ -888,24 +929,24 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WidgetViewSignal_Emit(void * jarg1, void Dali::Signal< void (Dali::WidgetView::WidgetView) > *arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *) 0 ; Dali::WidgetView::WidgetView arg2 ; Dali::WidgetView::WidgetView *argp2 ; - - arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *)jarg1; - argp2 = (Dali::WidgetView::WidgetView *)jarg2; + + arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *)jarg1; + argp2 = (Dali::WidgetView::WidgetView *)jarg2; if (!argp2) { SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::WidgetView::WidgetView", 0); return ; } - arg2 = *argp2; + arg2 = *argp2; { try { Dali_Signal_Sl_void_Sp_Dali_WidgetView_WidgetView_SP__Sg__Emit(arg1,arg2); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; }; } catch (Dali::DaliException e) { { @@ -924,17 +965,17 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WidgetViewSignal_Emit(void * jarg1, void SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WidgetViewSignal() { void * jresult ; Dali::Signal< void (Dali::WidgetView::WidgetView) > *result = 0 ; - + { try { result = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *)new Dali::Signal< void (Dali::WidgetView::WidgetView) >(); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { @@ -947,25 +988,25 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WidgetViewSignal() { } } - jresult = (void *)result; + jresult = (void *)result; return jresult; } SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WidgetViewSignal(void * jarg1) { Dali::Signal< void (Dali::WidgetView::WidgetView) > *arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *) 0 ; - - arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *)jarg1; + + arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *)jarg1; { try { delete arg1; } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; }; } catch (Dali::DaliException e) { { -- 2.34.1