X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-csharp-binder%2Fsrc%2Fdali_wrap.cpp;h=1349d7b3925c4fa111b71c5ac3dbb404fc88eec8;hb=5235f6fd0ae2c6be8adebb23044a572e97e03cb4;hp=22a82ba775fbca47c4d42f34610acf6252f2b371;hpb=b1587c3624574bbc08999db1743fb0f0feaf0b0d;p=platform%2Fcore%2Fuifw%2Fdali-csharp-binder.git diff --git a/dali-csharp-binder/src/dali_wrap.cpp b/dali-csharp-binder/src/dali_wrap.cpp index 22a82ba..1349d7b 100755 --- a/dali-csharp-binder/src/dali_wrap.cpp +++ b/dali-csharp-binder/src/dali_wrap.cpp @@ -425,6 +425,7 @@ void SWIG_CSharpException(int code, const char *msg) { #include #include +#include #include #include @@ -435,7 +436,6 @@ void SWIG_CSharpException(int code, const char *msg) { #include #include -#include #include #include @@ -464,6 +464,7 @@ void SWIG_CSharpException(int code, const char *msg) { #include #include +#include #include @@ -473,7 +474,9 @@ void SWIG_CSharpException(int code, const char *msg) { #include #include +#include "web-view-signal-converter.h" +#include // add here SWIG version check @@ -2565,7 +2568,7 @@ Dali::Actor SwigDirector_CustomAlgorithmInterface::GetNextFocusableActor(Dali::A jdirection = (int)direction; jresult = (void *) swig_callbackGetNextFocusableActor(jcurrent, jproposed, jdirection); if (!jresult) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Unexpected null return for type Dali::Actor", 0); + DALI_LOG_ERROR("[ERROR][%s line:%d] Unexpected null return for type Dali::Actor! Next focus will be NULL, please be cautious to handle the keyboard foucs! ", __FILE__, __LINE__); return c_result; } c_result = *(Dali::Actor *)jresult; @@ -23975,7 +23978,9 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_PixelData_New(unsigned char* jarg1, un arg6 = (Dali::PixelData::ReleaseFunction)jarg6; { try { - result = Dali::PixelData::New(arg1,arg2,arg3,arg4,arg5,arg6); + auto pixelBuffer = new unsigned char[jarg2]; + memcpy( pixelBuffer, arg1, arg2); + result = Dali::PixelData::New(pixelBuffer,arg2,arg3,arg4,arg5,arg6); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -26526,6 +26531,56 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Shader_Assign(void * jarg1, void * jar } +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Renderer_Range_BACKGROUND_EFFECT_get() { + int jresult ; + int result; + + result = (int)Dali::Toolkit::DepthIndex::Ranges::BACKGROUND_EFFECT; + jresult = (int)result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Renderer_Range_BACKGROUND_get() { + int jresult ; + int result; + + result = (int)Dali::Toolkit::DepthIndex::Ranges::BACKGROUND; + jresult = (int)result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Renderer_Range_CONTENT_get() { + int jresult ; + int result; + + result = (int)Dali::Toolkit::DepthIndex::Ranges::CONTENT; + jresult = (int)result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Renderer_Range_DECORATION_get() { + int jresult ; + int result; + + result = (int)Dali::Toolkit::DepthIndex::Ranges::DECORATION; + jresult = (int)result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Renderer_Range_FOREGROUND_EFFECT_get() { + int jresult ; + int result; + + result = (int)Dali::Toolkit::DepthIndex::FOREGROUND_EFFECT; + jresult = (int)result; + return jresult; +} + + SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Renderer_Property_DEPTH_INDEX_get() { int jresult ; int result; @@ -31450,6 +31505,43 @@ 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(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 = SWIG_csharp_string_callback( (&result)->c_str() ); + return jresult; +} + SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_LongPressGestureDetector__SWIG_0() { void * jresult ; @@ -33710,6 +33802,12 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Actor_GetId(void * jarg1) { unsigned int result; arg1 = (Dali::Actor *)jarg1; + + if(!arg1) { + DALI_LOG_ERROR("[ERROR] actor is null! return -1"); + return -1; + } + { try { result = (unsigned int)((Dali::Actor const *)arg1)->GetId(); @@ -58740,108 +58838,15 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Timer_TickSignal(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_DragAndDropDetector() { - void * jresult ; - Dali::DragAndDropDetector *result = 0 ; - - { - try { - result = (Dali::DragAndDropDetector *)new Dali::DragAndDropDetector(); - } 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 = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_DragAndDropDetector(void * jarg1) { - Dali::DragAndDropDetector *arg1 = (Dali::DragAndDropDetector *) 0 ; - - arg1 = (Dali::DragAndDropDetector *)jarg1; - { - try { - delete arg1; - } catch (std::out_of_range& e) { - { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; - }; - } catch (std::exception& e) { - { - 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 char * SWIGSTDCALL CSharp_Dali_DragAndDropDetector_GetContent(void * jarg1) { - char * jresult ; - Dali::DragAndDropDetector *arg1 = (Dali::DragAndDropDetector *) 0 ; - std::string *result = 0 ; - - arg1 = (Dali::DragAndDropDetector *)jarg1; - { - try { - result = (std::string *) &((Dali::DragAndDropDetector const *)arg1)->GetContent(); - } 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 = SWIG_csharp_string_callback(result->c_str()); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_DragAndDropDetector_GetCurrentScreenPosition(void * jarg1) { - void * jresult ; - Dali::DragAndDropDetector *arg1 = (Dali::DragAndDropDetector *) 0 ; - Dali::Vector2 result; +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_TimerSignalType_Empty(void * jarg1) { + unsigned int jresult ; + Dali::Signal< bool () > *arg1 = (Dali::Signal< bool () > *) 0 ; + bool result; - arg1 = (Dali::DragAndDropDetector *)jarg1; + arg1 = (Dali::Signal< bool () > *)jarg1; { try { - result = ((Dali::DragAndDropDetector const *)arg1)->GetCurrentScreenPosition(); + result = (bool)Dali_Signal_Sl_bool_Sp__SP__Sg__Empty((Dali::Signal< bool () > const *)arg1); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -58861,20 +58866,20 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_DragAndDropDetector_GetCurrentScreenPo } } - jresult = new Dali::Vector2((const Dali::Vector2 &)result); + jresult = result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_DragAndDropDetector_EnteredSignal(void * jarg1) { - void * jresult ; - Dali::DragAndDropDetector *arg1 = (Dali::DragAndDropDetector *) 0 ; - Dali::DragAndDropDetector::DragAndDropSignal *result = 0 ; +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_TimerSignalType_GetConnectionCount(void * jarg1) { + unsigned long jresult ; + Dali::Signal< bool () > *arg1 = (Dali::Signal< bool () > *) 0 ; + std::size_t result; - arg1 = (Dali::DragAndDropDetector *)jarg1; + arg1 = (Dali::Signal< bool () > *)jarg1; { try { - result = (Dali::DragAndDropDetector::DragAndDropSignal *) &(arg1)->EnteredSignal(); + result = Dali_Signal_Sl_bool_Sp__SP__Sg__GetConnectionCount((Dali::Signal< bool () > const *)arg1); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -58894,110 +58899,74 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_DragAndDropDetector_EnteredSignal(void } } - jresult = (void *)result; + jresult = (unsigned long)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_DragAndDropDetector_ExitedSignal(void * jarg1) { - void * jresult ; - Dali::DragAndDropDetector *arg1 = (Dali::DragAndDropDetector *) 0 ; - Dali::DragAndDropDetector::DragAndDropSignal *result = 0 ; +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_TimerSignalType_Connect(void * jarg1, void * jarg2) { + Dali::Signal< bool () > *arg1 = (Dali::Signal< bool () > *) 0 ; + bool (*arg2)() = (bool (*)()) 0 ; - arg1 = (Dali::DragAndDropDetector *)jarg1; + arg1 = (Dali::Signal< bool () > *)jarg1; + arg2 = (bool (*)())jarg2; { try { - result = (Dali::DragAndDropDetector::DragAndDropSignal *) &(arg1)->ExitedSignal(); + Dali_Signal_Sl_bool_Sp__SP__Sg__Connect(arg1,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 ; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; }; } catch (Dali::DaliException e) { { - SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0; + SWIG_CSharpException(SWIG_UnknownError, e.condition); return ; }; } catch (...) { { - SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0; + SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ; }; } } - jresult = (void *)result; - return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_DragAndDropDetector_MovedSignal(void * jarg1) { - void * jresult ; - Dali::DragAndDropDetector *arg1 = (Dali::DragAndDropDetector *) 0 ; - Dali::DragAndDropDetector::DragAndDropSignal *result = 0 ; +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_TimerSignalType_Disconnect(void * jarg1, void * jarg2) { + Dali::Signal< bool () > *arg1 = (Dali::Signal< bool () > *) 0 ; + bool (*arg2)() = (bool (*)()) 0 ; - arg1 = (Dali::DragAndDropDetector *)jarg1; + arg1 = (Dali::Signal< bool () > *)jarg1; + arg2 = (bool (*)())jarg2; { try { - result = (Dali::DragAndDropDetector::DragAndDropSignal *) &(arg1)->MovedSignal(); + Dali_Signal_Sl_bool_Sp__SP__Sg__Disconnect(arg1,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 ; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; }; } catch (Dali::DaliException e) { { - SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0; + SWIG_CSharpException(SWIG_UnknownError, e.condition); return ; }; } catch (...) { { - SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0; + SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ; }; } } - jresult = (void *)result; - return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_DragAndDropDetector_DroppedSignal(void * jarg1) { - void * jresult ; - Dali::DragAndDropDetector *arg1 = (Dali::DragAndDropDetector *) 0 ; - Dali::DragAndDropDetector::DragAndDropSignal *result = 0 ; - - arg1 = (Dali::DragAndDropDetector *)jarg1; - { - try { - result = (Dali::DragAndDropDetector::DragAndDropSignal *) &(arg1)->DroppedSignal(); - } 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 = (void *)result; - return jresult; -} - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_TimerSignalType_Empty(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_TimerSignalType_Emit(void * jarg1) { unsigned int jresult ; Dali::Signal< bool () > *arg1 = (Dali::Signal< bool () > *) 0 ; bool result; @@ -59005,7 +58974,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_TimerSignalType_Empty(void * jar arg1 = (Dali::Signal< bool () > *)jarg1; { try { - result = (bool)Dali_Signal_Sl_bool_Sp__SP__Sg__Empty((Dali::Signal< bool () > const *)arg1); + result = (bool)Dali_Signal_Sl_bool_Sp__SP__Sg__Emit(arg1); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59030,15 +58999,13 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_TimerSignalType_Empty(void * jar } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_TimerSignalType_GetConnectionCount(void * jarg1) { - unsigned long jresult ; - Dali::Signal< bool () > *arg1 = (Dali::Signal< bool () > *) 0 ; - std::size_t result; +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TimerSignalType() { + void * jresult ; + Dali::Signal< bool () > *result = 0 ; - arg1 = (Dali::Signal< bool () > *)jarg1; { try { - result = Dali_Signal_Sl_bool_Sp__SP__Sg__GetConnectionCount((Dali::Signal< bool () > const *)arg1); + result = (Dali::Signal< bool () > *)new Dali::Signal< bool () >(); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59058,20 +59025,18 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_TimerSignalType_GetConnectionCo } } - jresult = (unsigned long)result; + jresult = (void *)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_TimerSignalType_Connect(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_TimerSignalType(void * jarg1) { Dali::Signal< bool () > *arg1 = (Dali::Signal< bool () > *) 0 ; - bool (*arg2)() = (bool (*)()) 0 ; arg1 = (Dali::Signal< bool () > *)jarg1; - arg2 = (bool (*)())jarg2; { try { - Dali_Signal_Sl_bool_Sp__SP__Sg__Connect(arg1,arg2); + delete arg1; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; @@ -59094,46 +59059,44 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_TimerSignalType_Connect(void * jarg1, vo } -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_TimerSignalType_Disconnect(void * jarg1, void * jarg2) { - Dali::Signal< bool () > *arg1 = (Dali::Signal< bool () > *) 0 ; - bool (*arg2)() = (bool (*)()) 0 ; +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_PROPERTY_TYPE_get() { + int jresult ; + int result; - arg1 = (Dali::Signal< bool () > *)jarg1; - arg2 = (bool (*)())jarg2; { try { - Dali_Signal_Sl_bool_Sp__SP__Sg__Disconnect(arg1,arg2); + result = (int)Dali::Toolkit::Visual::Property::TYPE; } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { - SWIG_CSharpException(SWIG_UnknownError, e.condition); return ; + SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0; }; } catch (...) { { - SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ; + SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0; }; } } + jresult = (int)result; + return jresult; } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_TimerSignalType_Emit(void * jarg1) { - unsigned int jresult ; - Dali::Signal< bool () > *arg1 = (Dali::Signal< bool () > *) 0 ; - bool result; +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_PROPERTY_SHADER_get() { + int jresult ; + int result; - arg1 = (Dali::Signal< bool () > *)jarg1; { try { - result = (bool)Dali_Signal_Sl_bool_Sp__SP__Sg__Emit(arg1); + result = (int)Dali::Toolkit::Visual::Property::SHADER; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59153,18 +59116,18 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_TimerSignalType_Emit(void * jarg } } - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TimerSignalType() { - void * jresult ; - Dali::Signal< bool () > *result = 0 ; +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_SHADER_VERTEX_get() { + int jresult ; + int result; { try { - result = (Dali::Signal< bool () > *)new Dali::Signal< bool () >(); + result = (int)Dali::Toolkit::Visual::Shader::Property::VERTEX_SHADER; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59184,47 +59147,49 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TimerSignalType() { } } - jresult = (void *)result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_TimerSignalType(void * jarg1) { - Dali::Signal< bool () > *arg1 = (Dali::Signal< bool () > *) 0 ; +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_SHADER_FRAGMENT_get() { + int jresult ; + int result; - arg1 = (Dali::Signal< bool () > *)jarg1; { try { - delete arg1; + result = (int)Dali::Toolkit::Visual::Shader::Property::FRAGMENT_SHADER; } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { - SWIG_CSharpException(SWIG_UnknownError, e.condition); return ; + SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0; }; } catch (...) { { - SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ; + SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0; }; } } + jresult = (int)result; + return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_PROPERTY_TYPE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_SHADER_SUBDIVIDE_GRID_X_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::Visual::Property::TYPE; + result = (int)Dali::Toolkit::Visual::Shader::Property::SUBDIVIDE_GRID_X; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59249,13 +59214,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_PROPERTY_TYPE_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_PROPERTY_SHADER_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_SHADER_SUBDIVIDE_GRID_Y_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::Visual::Property::SHADER; + result = (int)Dali::Toolkit::Visual::Shader::Property::SUBDIVIDE_GRID_Y; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59280,13 +59245,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_PROPERTY_SHADER_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_SHADER_VERTEX_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_SHADER_HINTS_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::Visual::Shader::Property::VERTEX_SHADER; + result = (int)Dali::Toolkit::Visual::Shader::Property::HINTS; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59311,13 +59276,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_SHADER_VERTEX_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_SHADER_FRAGMENT_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_BORDER_VISUAL_COLOR_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::Visual::Shader::Property::FRAGMENT_SHADER; + result = (int)Dali::Toolkit::BorderVisual::Property::COLOR; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59342,13 +59307,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_SHADER_FRAGMENT_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_SHADER_SUBDIVIDE_GRID_X_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_BORDER_VISUAL_SIZE_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::Visual::Shader::Property::SUBDIVIDE_GRID_X; + result = (int)Dali::Toolkit::BorderVisual::Property::SIZE; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59373,13 +59338,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_SHADER_SUBDIVIDE_GRID_X_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_SHADER_SUBDIVIDE_GRID_Y_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_BORDER_VISUAL_ANTI_ALIASING_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::Visual::Shader::Property::SUBDIVIDE_GRID_Y; + result = (int)Dali::Toolkit::BorderVisual::Property::ANTI_ALIASING; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59404,13 +59369,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_SHADER_SUBDIVIDE_GRID_Y_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_SHADER_HINTS_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_COLOR_VISUAL_MIX_COLOR_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::Visual::Shader::Property::HINTS; + result = (int)Dali::Toolkit::ColorVisual::Property::MIX_COLOR; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59435,13 +59400,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_VISUAL_SHADER_HINTS_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_BORDER_VISUAL_COLOR_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_START_POSITION_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::BorderVisual::Property::COLOR; + result = (int)Dali::Toolkit::GradientVisual::Property::START_POSITION; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59466,13 +59431,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_BORDER_VISUAL_COLOR_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_BORDER_VISUAL_SIZE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_END_POSITION_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::BorderVisual::Property::SIZE; + result = (int)Dali::Toolkit::GradientVisual::Property::END_POSITION; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59497,13 +59462,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_BORDER_VISUAL_SIZE_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_BORDER_VISUAL_ANTI_ALIASING_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_CENTER_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::BorderVisual::Property::ANTI_ALIASING; + result = (int)Dali::Toolkit::GradientVisual::Property::CENTER; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59528,13 +59493,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_BORDER_VISUAL_ANTI_ALIASING_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_COLOR_VISUAL_MIX_COLOR_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_RADIUS_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::ColorVisual::Property::MIX_COLOR; + result = (int)Dali::Toolkit::GradientVisual::Property::RADIUS; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59559,13 +59524,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_COLOR_VISUAL_MIX_COLOR_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_START_POSITION_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_STOP_OFFSET_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::GradientVisual::Property::START_POSITION; + result = (int)Dali::Toolkit::GradientVisual::Property::STOP_OFFSET; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59590,13 +59555,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_START_POSITION_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_END_POSITION_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_STOP_COLOR_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::GradientVisual::Property::END_POSITION; + result = (int)Dali::Toolkit::GradientVisual::Property::STOP_COLOR; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59621,13 +59586,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_END_POSITION_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_CENTER_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_UNITS_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::GradientVisual::Property::CENTER; + result = (int)Dali::Toolkit::GradientVisual::Property::UNITS; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59652,13 +59617,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_CENTER_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_RADIUS_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_SPREAD_METHOD_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::GradientVisual::Property::RADIUS; + result = (int)Dali::Toolkit::GradientVisual::Property::SPREAD_METHOD; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59683,13 +59648,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_RADIUS_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_STOP_OFFSET_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_URL_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::GradientVisual::Property::STOP_OFFSET; + result = (int)Dali::Toolkit::ImageVisual::Property::URL; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59713,14 +59678,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_STOP_OFFSET_get() { return jresult; } - -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_STOP_COLOR_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_ALPHA_MASK_URL_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::GradientVisual::Property::STOP_COLOR; + result = (int)Dali::Toolkit::ImageVisual::Property::ALPHA_MASK_URL; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59745,13 +59709,43 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_STOP_COLOR_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_UNITS_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_BATCH_SIZE_get() { int jresult ; int result; + { + try + { + result = (int)Dali::Toolkit::ImageVisual::Property::BATCH_SIZE; + } 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 = (int)result; + return jresult; +} +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_CACHE_SIZE_get() { + int jresult ; + int result; { - try { - result = (int)Dali::Toolkit::GradientVisual::Property::UNITS; + try + { + result = (int)Dali::Toolkit::ImageVisual::Property::CACHE_SIZE; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59775,14 +59769,107 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_UNITS_get() { return jresult; } +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_FRAME_DELAY_get() { + int jresult ; + int result; + { + try + { + result = (int)Dali::Toolkit::ImageVisual::Property::FRAME_DELAY; + } 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; + }; + } + } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_SPREAD_METHOD_get() { + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_LOOP_COUNT_get() { + return (int)Dali::Toolkit::DevelImageVisual::Property::LOOP_COUNT; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_MASK_CONTENT_SCALE_get() { + int jresult ; + int result; + { + try + { + result = (int)Dali::Toolkit::ImageVisual::Property::MASK_CONTENT_SCALE; + } 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 = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_CROP_TO_MASK_get() { + int jresult ; + int result; + { + try + { + result = (int)Dali::Toolkit::ImageVisual::Property::CROP_TO_MASK; + } 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 = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_FITTING_MODE_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::GradientVisual::Property::SPREAD_METHOD; + result = (int)Dali::Toolkit::ImageVisual::Property::FITTING_MODE; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59807,13 +59894,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GRADIENT_VISUAL_SPREAD_METHOD_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_URL_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_SAMPLING_MODE_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::ImageVisual::Property::URL; + result = (int)Dali::Toolkit::ImageVisual::Property::SAMPLING_MODE; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59837,13 +59924,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_URL_get() { return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_ALPHA_MASK_URL_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_RELEASE_POLICY_get() { int jresult ; int result; - { - try { - result = (int)Dali::Toolkit::ImageVisual::Property::ALPHA_MASK_URL; + try + { + result = (int)Dali::Toolkit::ImageVisual::Property::RELEASE_POLICY; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59852,29 +59939,23 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_ALPHA_MASK_URL_get() { { 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 = (int)result; return jresult; } - -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_BATCH_SIZE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_LOAD_POLICY_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::ImageVisual::Property::BATCH_SIZE; + result = (int)Dali::Toolkit::ImageVisual::Property::LOAD_POLICY; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59883,28 +59964,23 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_BATCH_SIZE_get() { { 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 = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_CACHE_SIZE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_ORIENTATION_CORRECTION_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::ImageVisual::Property::CACHE_SIZE; + result = (int)Dali::Toolkit::ImageVisual::Property::ORIENTATION_CORRECTION; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59913,28 +59989,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_CACHE_SIZE_get() { { 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 = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_FRAME_DELAY_get() { + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_AUXILIARY_IMAGE_URL_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::ImageVisual::Property::FRAME_DELAY; + result = (int)Dali::Toolkit::DevelImageVisual::Property::AUXILIARY_IMAGE; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59943,9 +60015,30 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_FRAME_DELAY_get() { { SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; - } catch (Dali::DaliException e) { + } catch (...) { { - SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0; + SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0; + }; + } + } + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_AUXILIARY_IMAGE_ALPHA_get() { + int jresult ; + int result; + { + try + { + result = (int)Dali::Toolkit::DevelImageVisual::Property::AUXILIARY_IMAGE_ALPHA; + } 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 (...) { { @@ -59953,22 +60046,19 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_FRAME_DELAY_get() { }; } } - jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_LOOP_COUNT_get() { - return (int)Dali::Toolkit::DevelImageVisual::Property::LOOP_COUNT; -} -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_MASK_CONTENT_SCALE_get() { + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_DESIRED_WIDTH_get() { int jresult ; int result; + { - try - { - result = (int)Dali::Toolkit::ImageVisual::Property::MASK_CONTENT_SCALE; + try { + result = (int)Dali::Toolkit::ImageVisual::Property::DESIRED_WIDTH; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -59992,13 +60082,14 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_MASK_CONTENT_SCALE_get() { return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_CROP_TO_MASK_get() { + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_DESIRED_HEIGHT_get() { int jresult ; int result; + { - try - { - result = (int)Dali::Toolkit::ImageVisual::Property::CROP_TO_MASK; + try { + result = (int)Dali::Toolkit::ImageVisual::Property::DESIRED_HEIGHT; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60022,13 +60113,14 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_CROP_TO_MASK_get() { return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_FITTING_MODE_get() { + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_SYNCHRONOUS_LOADING_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::ImageVisual::Property::FITTING_MODE; + result = (int)Dali::Toolkit::ImageVisual::Property::SYNCHRONOUS_LOADING; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60053,13 +60145,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_FITTING_MODE_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_SAMPLING_MODE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_BORDER_ONLY_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::ImageVisual::Property::SAMPLING_MODE; + result = (int)Dali::Toolkit::ImageVisual::Property::BORDER_ONLY; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60083,13 +60175,14 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_SAMPLING_MODE_get() { return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_RELEASE_POLICY_get() { + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_PIXEL_AREA_get() { int jresult ; int result; + { - try - { - result = (int)Dali::Toolkit::ImageVisual::Property::RELEASE_POLICY; + try { + result = (int)Dali::Toolkit::ImageVisual::Property::PIXEL_AREA; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60098,23 +60191,29 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_RELEASE_POLICY_get() { { 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 = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_LOAD_POLICY_get() { + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_WRAP_MODE_U_get() { int jresult ; int result; + { - try - { - result = (int)Dali::Toolkit::ImageVisual::Property::LOAD_POLICY; + try { + result = (int)Dali::Toolkit::ImageVisual::Property::WRAP_MODE_U; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60123,23 +60222,29 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_LOAD_POLICY_get() { { 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 = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_ORIENTATION_CORRECTION_get() { + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_WRAP_MODE_V_get() { int jresult ; int result; + { - try - { - result = (int)Dali::Toolkit::ImageVisual::Property::ORIENTATION_CORRECTION; + try { + result = (int)Dali::Toolkit::ImageVisual::Property::WRAP_MODE_V; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60148,24 +60253,28 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_ORIENTATION_CORRECTION_get() { 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 = (int)result; return jresult; } - -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_AUXILIARY_IMAGE_URL_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Image_Visual_BORDER_get() { int jresult ; int result; + { - try - { - result = (int)Dali::Toolkit::DevelImageVisual::Property::AUXILIARY_IMAGE; + try { + result = (int)Dali::Toolkit::ImageVisual::Property::BORDER; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60184,13 +60293,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_AUXILIARY_IMAGE_URL_get() { return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_AUXILIARY_IMAGE_ALPHA_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_OBJECT_URL_get() { int jresult ; int result; + { - try - { - result = (int)Dali::Toolkit::DevelImageVisual::Property::AUXILIARY_IMAGE_ALPHA; + try { + result = (int)Dali::Toolkit::MeshVisual::Property::OBJECT_URL; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60199,25 +60308,29 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_AUXILIARY_IMAGE_ALPHA_get() { 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 = (int)result; return jresult; } - -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_DESIRED_WIDTH_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_MATERIAL_URL_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::ImageVisual::Property::DESIRED_WIDTH; + result = (int)Dali::Toolkit::MeshVisual::Property::MATERIAL_URL; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60242,13 +60355,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_DESIRED_WIDTH_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_DESIRED_HEIGHT_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_TEXTURES_PATH_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::ImageVisual::Property::DESIRED_HEIGHT; + result = (int)Dali::Toolkit::MeshVisual::Property::TEXTURES_PATH; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60273,13 +60386,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_DESIRED_HEIGHT_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_SYNCHRONOUS_LOADING_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_SHADING_MODE_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::ImageVisual::Property::SYNCHRONOUS_LOADING; + result = (int)Dali::Toolkit::MeshVisual::Property::SHADING_MODE; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60304,13 +60417,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_SYNCHRONOUS_LOADING_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_BORDER_ONLY_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_USE_MIPMAPPING_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::ImageVisual::Property::BORDER_ONLY; + result = (int)Dali::Toolkit::MeshVisual::Property::USE_MIPMAPPING; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60335,13 +60448,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_BORDER_ONLY_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_PIXEL_AREA_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_USE_SOFT_NORMALS_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::ImageVisual::Property::PIXEL_AREA; + result = (int)Dali::Toolkit::MeshVisual::Property::USE_SOFT_NORMALS; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60366,13 +60479,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_PIXEL_AREA_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_WRAP_MODE_U_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_LIGHT_POSITION_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::ImageVisual::Property::WRAP_MODE_U; + result = (int)Dali::Toolkit::MeshVisual::Property::LIGHT_POSITION; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60397,13 +60510,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_WRAP_MODE_U_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_WRAP_MODE_V_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_SHAPE_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::ImageVisual::Property::WRAP_MODE_V; + result = (int)Dali::Toolkit::PrimitiveVisual::Property::SHAPE; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60427,13 +60540,14 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_IMAGE_VISUAL_WRAP_MODE_V_get() { return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_Image_Visual_BORDER_get() { + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_MIX_COLOR_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::ImageVisual::Property::BORDER; + result = (int)Dali::Toolkit::PrimitiveVisual::Property::MIX_COLOR; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60442,23 +60556,29 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Image_Visual_BORDER_get() { { 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 = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_OBJECT_URL_get() { + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_SLICES_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::MeshVisual::Property::OBJECT_URL; + result = (int)Dali::Toolkit::PrimitiveVisual::Property::SLICES; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60483,13 +60603,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_OBJECT_URL_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_MATERIAL_URL_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_STACKS_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::MeshVisual::Property::MATERIAL_URL; + result = (int)Dali::Toolkit::PrimitiveVisual::Property::STACKS; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60514,13 +60634,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_MATERIAL_URL_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_TEXTURES_PATH_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_SCALE_TOP_RADIUS_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::MeshVisual::Property::TEXTURES_PATH; + result = (int)Dali::Toolkit::PrimitiveVisual::Property::SCALE_TOP_RADIUS; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60545,13 +60665,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_TEXTURES_PATH_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_SHADING_MODE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::MeshVisual::Property::SHADING_MODE; + result = (int)Dali::Toolkit::PrimitiveVisual::Property::SCALE_BOTTOM_RADIUS; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60576,13 +60696,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_SHADING_MODE_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_USE_MIPMAPPING_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_SCALE_HEIGHT_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::MeshVisual::Property::USE_MIPMAPPING; + result = (int)Dali::Toolkit::PrimitiveVisual::Property::SCALE_HEIGHT; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60607,13 +60727,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_USE_MIPMAPPING_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_USE_SOFT_NORMALS_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_SCALE_RADIUS_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::MeshVisual::Property::USE_SOFT_NORMALS; + result = (int)Dali::Toolkit::PrimitiveVisual::Property::SCALE_RADIUS; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60638,13 +60758,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_USE_SOFT_NORMALS_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_LIGHT_POSITION_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_SCALE_DIMENSIONS_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::MeshVisual::Property::LIGHT_POSITION; + result = (int)Dali::Toolkit::PrimitiveVisual::Property::SCALE_DIMENSIONS; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60669,13 +60789,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MESH_VISUAL_LIGHT_POSITION_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_SHAPE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_BEVEL_PERCENTAGE_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::PrimitiveVisual::Property::SHAPE; + result = (int)Dali::Toolkit::PrimitiveVisual::Property::BEVEL_PERCENTAGE; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60700,13 +60820,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_SHAPE_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_MIX_COLOR_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::PrimitiveVisual::Property::MIX_COLOR; + result = (int)Dali::Toolkit::PrimitiveVisual::Property::BEVEL_SMOOTHNESS; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60731,13 +60851,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_MIX_COLOR_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_SLICES_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_LIGHT_POSITION_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::PrimitiveVisual::Property::SLICES; + result = (int)Dali::Toolkit::PrimitiveVisual::Property::LIGHT_POSITION; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60762,13 +60882,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_SLICES_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_STACKS_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TEXT_VISUAL_TEXT_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::PrimitiveVisual::Property::STACKS; + result = (int)Dali::Toolkit::TextVisual::Property::TEXT; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60793,13 +60913,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_STACKS_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_SCALE_TOP_RADIUS_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TEXT_VISUAL_FONT_FAMILY_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::PrimitiveVisual::Property::SCALE_TOP_RADIUS; + result = (int)Dali::Toolkit::TextVisual::Property::FONT_FAMILY; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60824,13 +60944,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_SCALE_TOP_RADIUS_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TEXT_VISUAL_FONT_STYLE_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::PrimitiveVisual::Property::SCALE_BOTTOM_RADIUS; + result = (int)Dali::Toolkit::TextVisual::Property::FONT_STYLE; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -60855,292 +60975,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS_get( } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_SCALE_HEIGHT_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TEXT_VISUAL_POINT_SIZE_get() { int jresult ; int result; { try { - result = (int)Dali::Toolkit::PrimitiveVisual::Property::SCALE_HEIGHT; - } 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 = (int)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_SCALE_RADIUS_get() { - int jresult ; - int result; - - { - try { - result = (int)Dali::Toolkit::PrimitiveVisual::Property::SCALE_RADIUS; - } 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 = (int)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_SCALE_DIMENSIONS_get() { - int jresult ; - int result; - - { - try { - result = (int)Dali::Toolkit::PrimitiveVisual::Property::SCALE_DIMENSIONS; - } 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 = (int)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_BEVEL_PERCENTAGE_get() { - int jresult ; - int result; - - { - try { - result = (int)Dali::Toolkit::PrimitiveVisual::Property::BEVEL_PERCENTAGE; - } 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 = (int)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS_get() { - int jresult ; - int result; - - { - try { - result = (int)Dali::Toolkit::PrimitiveVisual::Property::BEVEL_SMOOTHNESS; - } 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 = (int)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PRIMITIVE_VISUAL_LIGHT_POSITION_get() { - int jresult ; - int result; - - { - try { - result = (int)Dali::Toolkit::PrimitiveVisual::Property::LIGHT_POSITION; - } 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 = (int)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TEXT_VISUAL_TEXT_get() { - int jresult ; - int result; - - { - try { - result = (int)Dali::Toolkit::TextVisual::Property::TEXT; - } 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 = (int)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TEXT_VISUAL_FONT_FAMILY_get() { - int jresult ; - int result; - - { - try { - result = (int)Dali::Toolkit::TextVisual::Property::FONT_FAMILY; - } 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 = (int)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TEXT_VISUAL_FONT_STYLE_get() { - int jresult ; - int result; - - { - try { - result = (int)Dali::Toolkit::TextVisual::Property::FONT_STYLE; - } 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 = (int)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TEXT_VISUAL_POINT_SIZE_get() { - int jresult ; - int result; - - { - try { - result = (int)Dali::Toolkit::TextVisual::Property::POINT_SIZE; + result = (int)Dali::Toolkit::TextVisual::Property::POINT_SIZE; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -62203,49 +62044,6 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Builder_CreateRenderTask(void * jarg1, c } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Builder_GetFrameBufferImage(void * jarg1, char * jarg2) { - void * jresult ; - Dali::Toolkit::Builder *arg1 = (Dali::Toolkit::Builder *) 0 ; - std::string *arg2 = 0 ; - Dali::FrameBufferImage result; - - arg1 = (Dali::Toolkit::Builder *)jarg1; - if (!jarg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); - return 0; - } - std::string arg2_str(jarg2); - arg2 = &arg2_str; - { - try { - result = (arg1)->GetFrameBufferImage((std::string const &)*arg2); - } 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 = new Dali::FrameBufferImage((const Dali::FrameBufferImage &)result); - - //argout typemap for const std::string& - - return jresult; -} - - SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Builder_GetPath(void * jarg1, char * jarg2) { void * jresult ; Dali::Toolkit::Builder *arg1 = (Dali::Toolkit::Builder *) 0 ; @@ -63298,13 +63096,20 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ViewImpl_SetBackgroundColor(void * jarg1 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ViewImpl_GetBackgroundColor(void * jarg1) { void * jresult ; - Dali::Toolkit::Internal::Control *arg1 = (Dali::Toolkit::Internal::Control *) 0 ; + Dali::Handle *arg1 = (Dali::Handle *) 0 ; Dali::Vector4 result; - arg1 = (Dali::Toolkit::Internal::Control *)jarg1; + arg1 = (Dali::Handle *)jarg1; { try { - result = ((Dali::Toolkit::Internal::Control const *)arg1)->GetBackgroundColor(); + Property::Map* resultMap = ((arg1)->GetProperty( Control::Property::BACKGROUND )).GetMap(); + if (resultMap) + { + if(resultMap->Find( Toolkit::Visual::Property::TYPE )->Get() == Visual::COLOR ) + { + result = resultMap->Find( ColorVisual::Property::MIX_COLOR )->Get(); + } + } } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -63329,43 +63134,6 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ViewImpl_GetBackgroundColor(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ViewImpl_SetBackgroundImage(void * jarg1, void * jarg2) { - Dali::Toolkit::Internal::Control *arg1 = (Dali::Toolkit::Internal::Control *) 0 ; - Dali::Image arg2 ; - Dali::Image *argp2 ; - - arg1 = (Dali::Toolkit::Internal::Control *)jarg1; - argp2 = (Dali::Image *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Image", 0); - return ; - } - arg2 = *argp2; - { - try { - (arg1)->SetBackgroundImage(arg2); - } catch (std::out_of_range& e) { - { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; - }; - } catch (std::exception& e) { - { - 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 void SWIGSTDCALL CSharp_Dali_ViewImpl_SetBackground(void * jarg1, void * jarg2) { Dali::Toolkit::Internal::Control *arg1 = (Dali::Toolkit::Internal::Control *) 0 ; Dali::Property::Map *arg2 = 0 ; @@ -67163,27 +66931,6 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_View_Property_STYLE_NAME_get() { return jresult; } - -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_View_Property_BACKGROUND_COLOR_get() { - int jresult ; - int result; - - result = (int)Dali::Toolkit::Control::Property::BACKGROUND_COLOR; - jresult = (int)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_View_Property_BACKGROUND_IMAGE_get() { - int jresult ; - int result; - - result = (int)Dali::Toolkit::Control::Property::BACKGROUND_IMAGE; - jresult = (int)result; - return jresult; -} - - SWIGEXPORT int SWIGSTDCALL CSharp_Dali_View_Property_KEY_INPUT_FOCUS_get() { int jresult ; int result; @@ -67877,77 +67624,6 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_View_SetBackgroundColor(void * jarg1, vo } - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_View_GetBackgroundColor(void * jarg1) { - void * jresult ; - Dali::Toolkit::Control *arg1 = (Dali::Toolkit::Control *) 0 ; - Dali::Vector4 result; - - arg1 = (Dali::Toolkit::Control *)jarg1; - { - try { - result = ((Dali::Toolkit::Control const *)arg1)->GetBackgroundColor(); - } 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 = new Dali::Vector4((const Dali::Vector4 &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_View_SetBackgroundImage(void * jarg1, void * jarg2) { - Dali::Toolkit::Control *arg1 = (Dali::Toolkit::Control *) 0 ; - Dali::Image arg2 ; - Dali::Image *argp2 ; - - arg1 = (Dali::Toolkit::Control *)jarg1; - argp2 = (Dali::Image *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Image", 0); - return ; - } - arg2 = *argp2; - { - try { - (arg1)->SetBackgroundImage(arg2); - } catch (std::out_of_range& e) { - { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; - }; - } catch (std::exception& e) { - { - 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 void SWIGSTDCALL CSharp_Dali_View_ClearBackground(void * jarg1) { Dali::Toolkit::Control *arg1 = (Dali::Toolkit::Control *) 0 ; @@ -68206,12 +67882,11 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_View_DoAction(void * jarg1, int jarg2, i Dali::Property::Index arg3 = 0 ; arg3 = (Dali::Property::Index)jarg3; - Dali::Property::Value arg4; - arg4 = (Dali::Property::Value *)jarg4; + Dali::Property::Value *arg4 = (Dali::Property::Value *)jarg4; { try { - DevelControl::DoAction(arg1, arg2, arg3, arg4); + DevelControl::DoAction(arg1, arg2, arg3, *arg4); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; @@ -69251,151 +68926,119 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Button_Property_SELECTED_get() { return jresult; } - -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Button_Property_UNSELECTED_COLOR_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Button_Property_LABEL_get() { int jresult ; int result; - result = (int)Dali::Toolkit::Button::Property::UNSELECTED_COLOR; + result = (int)Dali::Toolkit::Button::Property::LABEL; jresult = (int)result; return jresult; } +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Button_Property() { + void * jresult ; + Dali::Toolkit::Button::Property *result = 0 ; -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Button_Property_SELECTED_COLOR_get() { - int jresult ; - int result; + { + try { + result = (Dali::Toolkit::Button::Property *)new Dali::Toolkit::Button::Property(); + } 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; + }; + } + } - result = (int)Dali::Toolkit::Button::Property::SELECTED_COLOR; - jresult = (int)result; + jresult = (void *)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Button_Property_LABEL_get() { - int jresult ; - int result; +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Button_Property(void * jarg1) { + Dali::Toolkit::Button::Property *arg1 = (Dali::Toolkit::Button::Property *) 0 ; + + arg1 = (Dali::Toolkit::Button::Property *)jarg1; + { + try { + delete arg1; + } catch (std::out_of_range& e) { + { + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; + }; + } catch (std::exception& e) { + { + 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 ; + }; + } + } - result = (int)Dali::Toolkit::Button::Property::LABEL; - jresult = (int)result; - return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Button_Property_LABEL_TEXT_get() { - int jresult ; - int result; +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Button__SWIG_0() { + void * jresult ; + Dali::Toolkit::Button *result = 0 ; - result = (int)Dali::Toolkit::Button::Property::LABEL_TEXT; - jresult = (int)result; + { + try { + result = (Dali::Toolkit::Button *)new Dali::Toolkit::Button(); + } 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 = (void *)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Button_Property() { +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Button__SWIG_1(void * jarg1) { void * jresult ; - Dali::Toolkit::Button::Property *result = 0 ; + Dali::Toolkit::Button *arg1 = 0 ; + Dali::Toolkit::Button *result = 0 ; + arg1 = (Dali::Toolkit::Button *)jarg1; + if (!arg1) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Button const & type is null", 0); + return 0; + } { try { - result = (Dali::Toolkit::Button::Property *)new Dali::Toolkit::Button::Property(); - } 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 = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Button_Property(void * jarg1) { - Dali::Toolkit::Button::Property *arg1 = (Dali::Toolkit::Button::Property *) 0 ; - - arg1 = (Dali::Toolkit::Button::Property *)jarg1; - { - try { - delete arg1; - } catch (std::out_of_range& e) { - { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; - }; - } catch (std::exception& e) { - { - 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 void * SWIGSTDCALL CSharp_Dali_new_Button__SWIG_0() { - void * jresult ; - Dali::Toolkit::Button *result = 0 ; - - { - try { - result = (Dali::Toolkit::Button *)new Dali::Toolkit::Button(); - } 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 = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Button__SWIG_1(void * jarg1) { - void * jresult ; - Dali::Toolkit::Button *arg1 = 0 ; - Dali::Toolkit::Button *result = 0 ; - - arg1 = (Dali::Toolkit::Button *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Button const & type is null", 0); - return 0; - } - { - try { - result = (Dali::Toolkit::Button *)new Dali::Toolkit::Button((Dali::Toolkit::Button const &)*arg1); + result = (Dali::Toolkit::Button *)new Dali::Toolkit::Button((Dali::Toolkit::Button const &)*arg1); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -69526,448 +69169,6 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Button(void * jarg1) { } - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Button_IsDisabled(void * jarg1) { - unsigned int jresult ; - Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ; - bool result; - - arg1 = (Dali::Toolkit::Button *)jarg1; - { - try { - result = (bool)((Dali::Toolkit::Button const *)arg1)->IsDisabled(); - } 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; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Button_IsAutoRepeating(void * jarg1) { - unsigned int jresult ; - Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ; - bool result; - - arg1 = (Dali::Toolkit::Button *)jarg1; - { - try { - result = (bool)((Dali::Toolkit::Button const *)arg1)->IsAutoRepeating(); - } 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; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_Dali_Button_GetInitialAutoRepeatingDelay(void * jarg1) { - float jresult ; - Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ; - float result; - - arg1 = (Dali::Toolkit::Button *)jarg1; - { - try { - result = (float)((Dali::Toolkit::Button const *)arg1)->GetInitialAutoRepeatingDelay(); - } 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; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_Dali_Button_GetNextAutoRepeatingDelay(void * jarg1) { - float jresult ; - Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ; - float result; - - arg1 = (Dali::Toolkit::Button *)jarg1; - { - try { - result = (float)((Dali::Toolkit::Button const *)arg1)->GetNextAutoRepeatingDelay(); - } 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; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Button_IsTogglableButton(void * jarg1) { - unsigned int jresult ; - Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ; - bool result; - - arg1 = (Dali::Toolkit::Button *)jarg1; - { - try { - result = (bool)((Dali::Toolkit::Button const *)arg1)->IsTogglableButton(); - } 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; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Button_IsSelected(void * jarg1) { - unsigned int jresult ; - Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ; - bool result; - - arg1 = (Dali::Toolkit::Button *)jarg1; - { - try { - result = (bool)((Dali::Toolkit::Button const *)arg1)->IsSelected(); - } 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; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_Dali_Button_GetAnimationTime(void * jarg1) { - float jresult ; - Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ; - float result; - - arg1 = (Dali::Toolkit::Button *)jarg1; - { - try { - result = (float)((Dali::Toolkit::Button const *)arg1)->GetAnimationTime(); - } 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; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_Button_GetLabelText(void * jarg1) { - char * jresult ; - Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ; - std::string result; - - arg1 = (Dali::Toolkit::Button *)jarg1; - { - try { - result = ((Dali::Toolkit::Button const *)arg1)->GetLabelText(); - } 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 = SWIG_csharp_string_callback((&result)->c_str()); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Button_SetLabel(void * jarg1, void * jarg2) { - Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ; - Dali::Actor arg2 ; - Dali::Actor *argp2 ; - - arg1 = (Dali::Toolkit::Button *)jarg1; - argp2 = (Dali::Actor *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0); - return ; - } - arg2 = *argp2; - { - try { - (arg1)->SetLabel(arg2); - } catch (std::out_of_range& e) { - { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; - }; - } catch (std::exception& e) { - { - 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 void SWIGSTDCALL CSharp_Dali_Button_SetButtonImage(void * jarg1, void * jarg2) { - Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ; - Dali::Image arg2 ; - Dali::Image *argp2 ; - - arg1 = (Dali::Toolkit::Button *)jarg1; - argp2 = (Dali::Image *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Image", 0); - return ; - } - arg2 = *argp2; - { - try { - (arg1)->SetButtonImage(arg2); - } catch (std::out_of_range& e) { - { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; - }; - } catch (std::exception& e) { - { - 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 void SWIGSTDCALL CSharp_Dali_Button_SetSelectedImage(void * jarg1, void * jarg2) { - Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ; - Dali::Image arg2 ; - Dali::Image *argp2 ; - - arg1 = (Dali::Toolkit::Button *)jarg1; - argp2 = (Dali::Image *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Image", 0); - return ; - } - arg2 = *argp2; - { - try { - (arg1)->SetSelectedImage(arg2); - } catch (std::out_of_range& e) { - { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; - }; - } catch (std::exception& e) { - { - 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 void * SWIGSTDCALL CSharp_Dali_Button_GetButtonImage(void * jarg1) { - void * jresult ; - Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ; - Dali::Actor result; - - arg1 = (Dali::Toolkit::Button *)jarg1; - { - try { - result = ((Dali::Toolkit::Button const *)arg1)->GetButtonImage(); - } 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 = new Dali::Actor((const Dali::Actor &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Button_GetSelectedImage(void * jarg1) { - void * jresult ; - Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ; - Dali::Actor result; - - arg1 = (Dali::Toolkit::Button *)jarg1; - { - try { - result = ((Dali::Toolkit::Button const *)arg1)->GetSelectedImage(); - } 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 = new Dali::Actor((const Dali::Actor &)result); - return jresult; -} - - SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Button_PressedSignal(void * jarg1) { void * jresult ; Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ; @@ -70000,7 +69201,6 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Button_PressedSignal(void * jarg1) { return jresult; } - SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Button_ReleasedSignal(void * jarg1) { void * jresult ; Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ; @@ -70552,409 +69752,75 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_PushButton(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_PushButton_New() { - void * jresult ; - Dali::Toolkit::PushButton result; - - { - try { - result = Dali::Toolkit::PushButton::New(); - } 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 = new Dali::Toolkit::PushButton((const Dali::Toolkit::PushButton &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_PushButton_DownCast(void * jarg1) { - void * jresult ; - Dali::BaseHandle arg1 ; - Dali::BaseHandle *argp1 ; - Dali::Toolkit::PushButton result; - - argp1 = (Dali::BaseHandle *)jarg1; - if (!argp1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::BaseHandle", 0); - return 0; - } - arg1 = *argp1; - { - try { - result = Dali::Toolkit::PushButton::DownCast(arg1); - } 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 = new Dali::Toolkit::PushButton((const Dali::Toolkit::PushButton &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PushButton_SetButtonImage__SWIG_0_0(void * jarg1, void * jarg2) { - Dali::Toolkit::PushButton *arg1 = (Dali::Toolkit::PushButton *) 0 ; - Dali::Image arg2 ; - Dali::Image *argp2 ; - - arg1 = (Dali::Toolkit::PushButton *)jarg1; - argp2 = (Dali::Image *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Image", 0); - return ; - } - arg2 = *argp2; - { - try { - (arg1)->SetButtonImage(arg2); - } catch (std::out_of_range& e) { - { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; - }; - } catch (std::exception& e) { - { - 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 void SWIGSTDCALL CSharp_Dali_PushButton_SetButtonImage__SWIG_1(void * jarg1, void * jarg2) { - Dali::Toolkit::PushButton *arg1 = (Dali::Toolkit::PushButton *) 0 ; - Dali::Actor arg2 ; - Dali::Actor *argp2 ; - - arg1 = (Dali::Toolkit::PushButton *)jarg1; - argp2 = (Dali::Actor *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0); - return ; - } - arg2 = *argp2; - { - try { - (arg1)->SetButtonImage(arg2); - } catch (std::out_of_range& e) { - { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; - }; - } catch (std::exception& e) { - { - 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 void SWIGSTDCALL CSharp_Dali_PushButton_SetBackgroundImage(void * jarg1, void * jarg2) { - Dali::Toolkit::PushButton *arg1 = (Dali::Toolkit::PushButton *) 0 ; - Dali::Actor arg2 ; - Dali::Actor *argp2 ; - - arg1 = (Dali::Toolkit::PushButton *)jarg1; - argp2 = (Dali::Actor *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0); - return ; - } - arg2 = *argp2; - { - try { - (arg1)->SetBackgroundImage(arg2); - } catch (std::out_of_range& e) { - { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; - }; - } catch (std::exception& e) { - { - 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 void SWIGSTDCALL CSharp_Dali_PushButton_SetSelectedImage__SWIG_0_0(void * jarg1, void * jarg2) { - Dali::Toolkit::PushButton *arg1 = (Dali::Toolkit::PushButton *) 0 ; - Dali::Image arg2 ; - Dali::Image *argp2 ; - - arg1 = (Dali::Toolkit::PushButton *)jarg1; - argp2 = (Dali::Image *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Image", 0); - return ; - } - arg2 = *argp2; - { - try { - (arg1)->SetSelectedImage(arg2); - } catch (std::out_of_range& e) { - { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; - }; - } catch (std::exception& e) { - { - 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 void SWIGSTDCALL CSharp_Dali_PushButton_SetSelectedImage__SWIG_1(void * jarg1, void * jarg2) { - Dali::Toolkit::PushButton *arg1 = (Dali::Toolkit::PushButton *) 0 ; - Dali::Actor arg2 ; - Dali::Actor *argp2 ; - - arg1 = (Dali::Toolkit::PushButton *)jarg1; - argp2 = (Dali::Actor *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0); - return ; - } - arg2 = *argp2; - { - try { - (arg1)->SetSelectedImage(arg2); - } catch (std::out_of_range& e) { - { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; - }; - } catch (std::exception& e) { - { - 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 void SWIGSTDCALL CSharp_Dali_PushButton_SetSelectedBackgroundImage(void * jarg1, void * jarg2) { - Dali::Toolkit::PushButton *arg1 = (Dali::Toolkit::PushButton *) 0 ; - Dali::Actor arg2 ; - Dali::Actor *argp2 ; - - arg1 = (Dali::Toolkit::PushButton *)jarg1; - argp2 = (Dali::Actor *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0); - return ; - } - arg2 = *argp2; - { - try { - (arg1)->SetSelectedBackgroundImage(arg2); - } catch (std::out_of_range& e) { - { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; - }; - } catch (std::exception& e) { - { - 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 void SWIGSTDCALL CSharp_Dali_PushButton_SetDisabledBackgroundImage(void * jarg1, void * jarg2) { - Dali::Toolkit::PushButton *arg1 = (Dali::Toolkit::PushButton *) 0 ; - Dali::Actor arg2 ; - Dali::Actor *argp2 ; - - arg1 = (Dali::Toolkit::PushButton *)jarg1; - argp2 = (Dali::Actor *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0); - return ; - } - arg2 = *argp2; - { - try { - (arg1)->SetDisabledBackgroundImage(arg2); - } catch (std::out_of_range& e) { - { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; - }; - } catch (std::exception& e) { - { - 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 void SWIGSTDCALL CSharp_Dali_PushButton_SetDisabledImage(void * jarg1, void * jarg2) { - Dali::Toolkit::PushButton *arg1 = (Dali::Toolkit::PushButton *) 0 ; - Dali::Actor arg2 ; - Dali::Actor *argp2 ; +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_PushButton_New() { + void * jresult ; + Dali::Toolkit::PushButton result; - arg1 = (Dali::Toolkit::PushButton *)jarg1; - argp2 = (Dali::Actor *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0); - return ; - } - arg2 = *argp2; { try { - (arg1)->SetDisabledImage(arg2); + result = Dali::Toolkit::PushButton::New(); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { - SWIG_CSharpException(SWIG_UnknownError, e.condition); return ; + SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0; }; } catch (...) { { - SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ; + SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0; }; } } + jresult = new Dali::Toolkit::PushButton((const Dali::Toolkit::PushButton &)result); + return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PushButton_SetDisabledSelectedImage(void * jarg1, void * jarg2) { - Dali::Toolkit::PushButton *arg1 = (Dali::Toolkit::PushButton *) 0 ; - Dali::Actor arg2 ; - Dali::Actor *argp2 ; +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_PushButton_DownCast(void * jarg1) { + void * jresult ; + Dali::BaseHandle arg1 ; + Dali::BaseHandle *argp1 ; + Dali::Toolkit::PushButton result; - arg1 = (Dali::Toolkit::PushButton *)jarg1; - argp2 = (Dali::Actor *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0); - return ; + argp1 = (Dali::BaseHandle *)jarg1; + if (!argp1) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::BaseHandle", 0); + return 0; } - arg2 = *argp2; + arg1 = *argp1; { try { - (arg1)->SetDisabledSelectedImage(arg2); + result = Dali::Toolkit::PushButton::DownCast(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 0; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; }; } catch (Dali::DaliException e) { { - SWIG_CSharpException(SWIG_UnknownError, e.condition); return ; + SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0; }; } catch (...) { { - SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ; + SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0; }; } } + jresult = new Dali::Toolkit::PushButton((const Dali::Toolkit::PushButton &)result); + return jresult; } - SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_RadioButton__SWIG_0() { void * jresult ; Dali::Toolkit::RadioButton *result = 0 ; @@ -71617,17 +70483,6 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FlexContainer_DownCast(void * jarg1) { return jresult; } - -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_ImageView_Property_RESOURCE_URL_get() { - int jresult ; - int result; - - result = (int)Dali::Toolkit::ImageView::Property::RESOURCE_URL; - jresult = (int)result; - return jresult; -} - - SWIGEXPORT int SWIGSTDCALL CSharp_Dali_ImageView_Property_IMAGE_get() { int jresult ; int result; @@ -89406,21 +88261,21 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_GaussianBlurView_Deactivate(void * jarg1 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_GaussianBlurView_SetUserImageAndOutputRenderTarget(void * jarg1, void * jarg2, void * jarg3) { Dali::Toolkit::GaussianBlurView *arg1 = (Dali::Toolkit::GaussianBlurView *) 0 ; - Dali::Image arg2 ; - Dali::FrameBufferImage arg3 ; - Dali::Image *argp2 ; - Dali::FrameBufferImage *argp3 ; + Dali::Texture arg2 ; + Dali::FrameBuffer arg3 ; + Dali::Texture *argp2 ; + Dali::FrameBuffer *argp3 ; arg1 = (Dali::Toolkit::GaussianBlurView *)jarg1; - argp2 = (Dali::Image *)jarg2; + argp2 = (Dali::Texture *)jarg2; if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Image", 0); + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Texture", 0); return ; } arg2 = *argp2; - argp3 = (Dali::FrameBufferImage *)jarg3; + argp3 = (Dali::FrameBuffer *)jarg3; if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::FrameBufferImage", 0); + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::FrameBuffer", 0); return ; } arg3 = *argp3; @@ -89485,7 +88340,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GaussianBlurView_GetBlurStrengthPropertyI SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_GaussianBlurView_GetBlurredRenderTarget(void * jarg1) { void * jresult ; Dali::Toolkit::GaussianBlurView *arg1 = (Dali::Toolkit::GaussianBlurView *) 0 ; - Dali::FrameBufferImage result; + Dali::FrameBuffer result; arg1 = (Dali::Toolkit::GaussianBlurView *)jarg1; { @@ -89510,7 +88365,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_GaussianBlurView_GetBlurredRenderTarge } } - jresult = new Dali::FrameBufferImage((const Dali::FrameBufferImage &)result); + jresult = new Dali::FrameBuffer((const Dali::FrameBuffer &)result); return jresult; } @@ -89713,11 +88568,11 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_PageFactory_NewPage(void * jarg1, unsi } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PageTurnView_Property_PAGE_SIZE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PageTurnView_Property_VIEW_PAGE_SIZE_get() { int jresult ; int result; - result = (int)Dali::Toolkit::PageTurnView::Property::PAGE_SIZE; + result = (int)Dali::Toolkit::PageTurnView::Property::VIEW_PAGE_SIZE; jresult = (int)result; return jresult; } @@ -92324,10 +91179,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetCustomAlgorithm(void * jarg1, void * } arg1 = *argp1; arg2 = (Dali::Toolkit::DevelKeyboardFocusManager::CustomAlgorithmInterface *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::DevelKeyboardFocusManager::CustomAlgorithmInterface & type is null", 0); - return ; - } + //Null checking of arg2 is removed. arg2's null set means resetting so it can be a null value. { try { Dali::Toolkit::DevelKeyboardFocusManager::SetCustomAlgorithm(arg1,*arg2); @@ -100747,11 +99599,6 @@ SWIGEXPORT Dali::BaseHandle * SWIGSTDCALL CSharp_Dali_Timer_SWIGUpcast(Dali::Tim return (Dali::BaseHandle *)jarg1; } -SWIGEXPORT Dali::BaseHandle * SWIGSTDCALL CSharp_Dali_DragAndDropDetector_SWIGUpcast(Dali::DragAndDropDetector *jarg1) { - return (Dali::BaseHandle *)jarg1; -} - - SWIGEXPORT Dali::BaseHandle * SWIGSTDCALL CSharp_Dali_Builder_SWIGUpcast(Dali::Toolkit::Builder *jarg1) { return (Dali::BaseHandle *)jarg1; } @@ -103312,6 +102159,38 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WebView_DownCast(void * jarg1) { return jresult; } +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WebView_Property_URL_get() { + return (int) Dali::Toolkit::WebView::Property::URL; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WebView_Property_CACHE_MODEL_get() { + return (int) Dali::Toolkit::WebView::Property::CACHE_MODEL; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WebView_Property_COOKIE_ACCEPT_POLICY_get() { + return (int) Dali::Toolkit::WebView::Property::COOKIE_ACCEPT_POLICY; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WebView_Property_USER_AGENT_get() { + return (int) Dali::Toolkit::WebView::Property::USER_AGENT; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WebView_Property_ENABLE_JAVASCRIPT_get() { + return (int) Dali::Toolkit::WebView::Property::ENABLE_JAVASCRIPT; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WebView_Property_LOAD_IMAGES_AUTOMATICALLY_get() { + return (int) Dali::Toolkit::WebView::Property::LOAD_IMAGES_AUTOMATICALLY; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WebView_Property_DEFAULT_TEXT_ENCODING_NAME_get() { + return (int) Dali::Toolkit::WebView::Property::DEFAULT_TEXT_ENCODING_NAME; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WebView_Property_DEFAULT_FONT_SIZE_get() { + return (int) Dali::Toolkit::WebView::Property::DEFAULT_FONT_SIZE; +} + SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebView_LoadUrl(void * jarg1, char * jarg2) { Dali::Toolkit::WebView *arg1 = (Dali::Toolkit::WebView *) 0 ; std::string *arg2; @@ -103348,53 +102227,74 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebView_LoadUrl(void * jarg1, char * jar } } -SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_WebView_GetUrl(void * jarg1) { - char * jresult ; - std::string result; - +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebView_LoadHTMLString(void * jarg1, char * jarg2) { Dali::Toolkit::WebView *arg1 = (Dali::Toolkit::WebView *) 0 ; + std::string *arg2; arg1 = (Dali::Toolkit::WebView *)jarg1; + if (!jarg2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); + return; + } + std::string jarg2str = std::string(jarg2); + arg2 = &jarg2str; { try { - result = arg1->GetUrl(); + (arg1)->LoadHTMLString((std::string 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 ; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; }; } catch (Dali::DaliException e) { { - SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0; + SWIG_CSharpException(SWIG_UnknownError, e.condition); return ; }; } catch (...) { { - SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0; + SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ; }; } } - - jresult = SWIG_csharp_string_callback((&result)->c_str()); - return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebView_LoadHTMLString(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebView_Reload(void * jarg1) { Dali::Toolkit::WebView *arg1 = (Dali::Toolkit::WebView *) 0 ; - std::string *arg2; arg1 = (Dali::Toolkit::WebView *)jarg1; - if (!jarg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); - return; + { + try { + (arg1)->Reload(); + } catch (std::out_of_range& e) { + { + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; + }; + } catch (std::exception& e) { + { + 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 ; + }; + } } - std::string jarg2str = std::string(jarg2); - arg2 = &jarg2str; +} + +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebView_StopLoading(void * jarg1) { + Dali::Toolkit::WebView *arg1 = (Dali::Toolkit::WebView *) 0 ; + + arg1 = (Dali::Toolkit::WebView *)jarg1; { try { - (arg1)->LoadHTMLString((std::string const &)*arg2); + (arg1)->StopLoading(); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; @@ -103415,13 +102315,13 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebView_LoadHTMLString(void * jarg1, cha } } -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebView_Reload(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebView_Suspend(void * jarg1) { Dali::Toolkit::WebView *arg1 = (Dali::Toolkit::WebView *) 0 ; arg1 = (Dali::Toolkit::WebView *)jarg1; { try { - (arg1)->Reload(); + (arg1)->Suspend(); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; @@ -103442,13 +102342,13 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebView_Reload(void * jarg1) { } } -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebView_StopLoading(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebView_Resume(void * jarg1) { Dali::Toolkit::WebView *arg1 = (Dali::Toolkit::WebView *) 0 ; arg1 = (Dali::Toolkit::WebView *)jarg1; { try { - (arg1)->StopLoading(); + (arg1)->Resume(); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; @@ -103581,7 +102481,7 @@ SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_WebView_CanGoForward(void * jarg1) { return ret; } -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebView_EvaluateJavaScript(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebView_EvaluateJavaScript(void * jarg1, char * jarg2, void* jarg3) { Dali::Toolkit::WebView *arg1 = (Dali::Toolkit::WebView *) 0 ; std::string *arg2; @@ -103592,9 +102492,17 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebView_EvaluateJavaScript(void * jarg1, } std::string jarg2_str = std::string(jarg2); arg2 = &jarg2_str; + { try { - (arg1)->EvaluateJavaScript((std::string const &)*arg2); + if (jarg3) { + void (*handler)(char*) = (void (*)(char*)) jarg3; + (arg1)->EvaluateJavaScript((std::string const &)*arg2, [handler](const std::string& result) { + handler(SWIG_csharp_string_callback(result.c_str())); + }); + } else { + (arg1)->EvaluateJavaScript((std::string const &)*arg2); + } } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; @@ -103705,79 +102613,43 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebView_ClearCache(void * jarg1) { } } -SWIGEXPORT Dali::Toolkit::Control * SWIGSTDCALL CSharp_Dali_WebView_SWIGUpcast(Dali::Toolkit::WebView *jarg1) { - return (Dali::Toolkit::Control *)jarg1; -} - - -// Proxy class of WebViewSignal. -// WebViewSignal has an argument of std::string type which is not supported at C# side. -// The purpose of this class is to convert signal argument of string type safely. -class WebViewSignalProxy : public ConnectionTracker -{ -public: - typedef Dali::Signal< void(Dali::Toolkit::WebView, const std::string&) > OriginalSignalType; - typedef Dali::Signal< void(Dali::Toolkit::WebView, char*) > ProxySignalType; - typedef void (*CallbackType)(Dali::Toolkit::WebView, char *); - - WebViewSignalProxy(OriginalSignalType* signal) - : mSignalPtr(signal) - { - } - - void Connect(CallbackType csharpCallback) - { - if (mSignalPtr->Empty()) - { - mSignalPtr->Connect(this, &WebViewSignalProxy::OnEmit); - } - mProxySignal.Connect(csharpCallback); - } - - void Disconnect(CallbackType csharpCallback) - { - mProxySignal.Disconnect(csharpCallback); - if (mProxySignal.Empty()) - { - mSignalPtr->Disconnect(this, &WebViewSignalProxy::OnEmit); - } - } - - bool Empty() - { - return mProxySignal.Empty(); - } - - std::size_t GetConnectionCount() - { - return mProxySignal.GetConnectionCount(); - } +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebView_ClearCookies(void * jarg1) { + Dali::Toolkit::WebView *arg1 = (Dali::Toolkit::WebView *) 0 ; - void Emit(Dali::Toolkit::WebView& webview, char* url) + arg1 = (Dali::Toolkit::WebView *)jarg1; { - if (!mProxySignal.Empty()) - { - mProxySignal.Emit(webview, url); + try { + (arg1)->ClearCookies(); + } catch (std::out_of_range& e) { + { + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; + }; + } catch (std::exception& e) { + { + 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 ; + }; } } +} - void OnEmit(Dali::Toolkit::WebView webview, const std::string& url) - { - // Safe string conversion - mProxySignal.Emit(webview, SWIG_csharp_string_callback(url.c_str())); - } - -private: - OriginalSignalType* mSignalPtr; - ProxySignalType mProxySignal; -}; +SWIGEXPORT Dali::Toolkit::Control * SWIGSTDCALL CSharp_Dali_WebView_SWIGUpcast(Dali::Toolkit::WebView *jarg1) { + return (Dali::Toolkit::Control *)jarg1; +} -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WebViewSignalProxy_PageLoadStarted(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WebViewPageLoadSignal_PageLoadStarted(void * jarg1) { Dali::Toolkit::WebView* webview = (Dali::Toolkit::WebView *) jarg1; - WebViewSignalProxy* result = NULL; + SignalConverter::WebViewPageLoadSignal* result = NULL; { try { - result = new WebViewSignalProxy(&webview->PageLoadStartedSignal()); + result = new SignalConverter::WebViewPageLoadSignal(&webview->PageLoadStartedSignal()); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -103799,12 +102671,12 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WebViewSignalProxy_PageLoadStarted return (void*) result; } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WebViewSignalProxy_PageLoadFinished(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WebViewPageLoadSignal_PageLoadFinished(void * jarg1) { Dali::Toolkit::WebView* webview = (Dali::Toolkit::WebView *) jarg1; - WebViewSignalProxy* result = NULL; + SignalConverter::WebViewPageLoadSignal* result = NULL; { try { - result = new WebViewSignalProxy(&webview->PageLoadFinishedSignal()); + result = new SignalConverter::WebViewPageLoadSignal(&webview->PageLoadFinishedSignal()); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -103826,9 +102698,9 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WebViewSignalProxy_PageLoadFinishe return (void*) result; } -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WebViewSignalProxy(void * jarg1) +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WebViewPageLoadSignal(void * jarg1) { - WebViewSignalProxy* object = (WebViewSignalProxy*) jarg1; + SignalConverter::WebViewPageLoadSignal* object = (SignalConverter::WebViewPageLoadSignal*) jarg1; { try { delete object; @@ -103852,42 +102724,66 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WebViewSignalProxy(void * jarg1) } } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WebViewSignalProxy_Empty(void * jarg1) +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebViewPageLoadSignal_Connect(void * jarg1, void * jarg2) { - bool result; - WebViewSignalProxy* proxy = (WebViewSignalProxy*) jarg1; + SignalConverter::WebViewPageLoadSignal* proxy = (SignalConverter::WebViewPageLoadSignal*) jarg1; + SignalConverter::WebViewPageLoadSignal::CallbackType callback = (SignalConverter::WebViewPageLoadSignal::CallbackType) jarg2; { try { - result = (bool)proxy->Empty(); + proxy->Connect(callback); } 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 ; }; } catch (std::exception& e) { { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; }; } catch (Dali::DaliException e) { { - SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0; + SWIG_CSharpException(SWIG_UnknownError, e.condition); return ; }; } catch (...) { { - SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0; + SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ; }; } } - return (unsigned int) result; } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_WebViewSignalProxy_GetConnectionCount(void * jarg1) -{ - std::size_t result; - WebViewSignalProxy* arg1 = (WebViewSignalProxy*) jarg1; +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebViewPageLoadSignal_Disconnect(void * jarg1, void * jarg2) { + SignalConverter::WebViewPageLoadSignal* proxy = (SignalConverter::WebViewPageLoadSignal*) jarg1; + SignalConverter::WebViewPageLoadSignal::CallbackType callback = (SignalConverter::WebViewPageLoadSignal::CallbackType) jarg2; { try { - result = arg1->GetConnectionCount(); + proxy->Disconnect(callback); + } catch (std::out_of_range& e) { + { + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; + }; + } catch (std::exception& e) { + { + 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 void * SWIGSTDCALL CSharp_Dali_new_WebViewPageLoadErrorSignal_PageLoadError(void * jarg1) { + Dali::Toolkit::WebView* webview = (Dali::Toolkit::WebView *) jarg1; + SignalConverter::WebViewPageLoadErrorSignal* result = NULL; + { + try { + result = new SignalConverter::WebViewPageLoadErrorSignal(&webview->PageLoadErrorSignal()); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -103906,16 +102802,15 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_WebViewSignalProxy_GetConnectio }; } } - return (unsigned long) result; + return (void*) result; } -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebViewSignalProxy_Connect(void * jarg1, void * jarg2) +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WebViewPageLoadErrorSignal(void * jarg1) { - WebViewSignalProxy* proxy = (WebViewSignalProxy*) jarg1; - WebViewSignalProxy::CallbackType callback = (WebViewSignalProxy::CallbackType) jarg2; + SignalConverter::WebViewPageLoadErrorSignal* object = (SignalConverter::WebViewPageLoadErrorSignal*) jarg1; { try { - proxy->Connect(callback); + delete object; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; @@ -103936,13 +102831,13 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebViewSignalProxy_Connect(void * jarg1, } } - -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebViewSignalProxy_Disconnect(void * jarg1, void * jarg2) { - WebViewSignalProxy* proxy = (WebViewSignalProxy*) jarg1; - WebViewSignalProxy::CallbackType callback = (WebViewSignalProxy::CallbackType) jarg2; +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebViewPageLoadErrorSignal_Connect(void * jarg1, void * jarg2) +{ + SignalConverter::WebViewPageLoadErrorSignal* proxy = (SignalConverter::WebViewPageLoadErrorSignal*) jarg1; + SignalConverter::WebViewPageLoadErrorSignal::CallbackType callback = (SignalConverter::WebViewPageLoadErrorSignal::CallbackType) jarg2; { try { - proxy->Disconnect(callback); + proxy->Connect(callback); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; @@ -103964,21 +102859,12 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebViewSignalProxy_Disconnect(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebViewSignalProxy_Emit(void * jarg1, void * jarg2, char * jarg3) { - if (!jarg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::WebView & type is null", 0); - return ; - } - if (!jarg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "jarg3 is null string", 0); - return ; - } - - WebViewSignalProxy* proxy = (WebViewSignalProxy*) jarg1; - Dali::Toolkit::WebView* webview = (Dali::Toolkit::WebView*) jarg2; +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebViewPageLoadErrorSignal_Disconnect(void * jarg1, void * jarg2) { + SignalConverter::WebViewPageLoadErrorSignal* proxy = (SignalConverter::WebViewPageLoadErrorSignal*) jarg1; + SignalConverter::WebViewPageLoadErrorSignal::CallbackType callback = (SignalConverter::WebViewPageLoadErrorSignal::CallbackType) jarg2; { try { - proxy->Emit(*webview, jarg3); + proxy->Disconnect(callback); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ;