From: Adeel Kazmi Date: Tue, 16 Jun 2020 14:10:06 +0000 (+0100) Subject: Remove NativeImage & FrameBuffer Usage X-Git-Tag: dali_1.9.17~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a253a423f74f519ad009d4dc748e04a1431746ef;p=platform%2Fcore%2Fuifw%2Fdali-csharp-binder.git Remove NativeImage & FrameBuffer Usage Change-Id: Ifaa84763daa496362f3b668f3da3951ef30083c4 --- diff --git a/dali-csharp-binder/src/dali_wrap.cpp b/dali-csharp-binder/src/dali_wrap.cpp index 5f96feba..a8bff37c 100644 --- a/dali-csharp-binder/src/dali_wrap.cpp +++ b/dali-csharp-binder/src/dali_wrap.cpp @@ -28435,76 +28435,6 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_RenderTask_GetCameraActor(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_RenderTask_SetTargetFrameBuffer(void * jarg1, void * jarg2) { - Dali::RenderTask *arg1 = (Dali::RenderTask *) 0 ; - Dali::FrameBufferImage arg2 ; - Dali::FrameBufferImage *argp2 ; - - arg1 = (Dali::RenderTask *)jarg1; - argp2 = (Dali::FrameBufferImage *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::FrameBufferImage", 0); - return ; - } - arg2 = *argp2; - { - try { - (arg1)->SetTargetFrameBuffer(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_RenderTask_GetTargetFrameBuffer(void * jarg1) { - void * jresult ; - Dali::RenderTask *arg1 = (Dali::RenderTask *) 0 ; - Dali::FrameBufferImage result; - - arg1 = (Dali::RenderTask *)jarg1; - { - try { - result = ((Dali::RenderTask const *)arg1)->GetTargetFrameBuffer(); - } 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); - return jresult; -} - - SWIGEXPORT void SWIGSTDCALL CSharp_Dali_RenderTask_SetFrameBuffer(void * jarg1, void * jarg2) { Dali::RenderTask *arg1 = (Dali::RenderTask *) 0 ; Dali::FrameBuffer arg2 ; @@ -44861,13 +44791,15 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_DEFAULT_get() { } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_NativeImage__SWIG_0() { - void * jresult ; - Dali::NativeImage *result = 0 ; +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_NativeImageInterface_GlExtensionCreate(void * jarg1) { + unsigned int jresult ; + Dali::NativeImageInterface *arg1 = (Dali::NativeImageInterface *) 0 ; + bool result; + arg1 = (Dali::NativeImageInterface *)jarg1; { try { - result = (Dali::NativeImage *)new Dali::NativeImage(); + result = (bool)(arg1)->GlExtensionCreate(); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -44887,18 +44819,18 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_NativeImage__SWIG_0() { } } - jresult = (void *)result; + jresult = result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_NativeImage(void * jarg1) { - Dali::NativeImage *arg1 = (Dali::NativeImage *) 0 ; +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_NativeImageInterface_GlExtensionDestroy(void * jarg1) { + Dali::NativeImageInterface *arg1 = (Dali::NativeImageInterface *) 0 ; - arg1 = (Dali::NativeImage *)jarg1; + arg1 = (Dali::NativeImageInterface *)jarg1; { try { - delete arg1; + (arg1)->GlExtensionDestroy(); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; @@ -44921,58 +44853,15 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_NativeImage(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_NativeImage__SWIG_1(void * jarg1) { - void * jresult ; - Dali::NativeImage *arg1 = 0 ; - Dali::NativeImage *result = 0 ; - - arg1 = (Dali::NativeImage *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::NativeImage const & type is null", 0); - return 0; - } - { - try { - result = (Dali::NativeImage *)new Dali::NativeImage((Dali::NativeImage const &)*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 = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_NativeImage_Assign(void * jarg1, void * jarg2) { - void * jresult ; - Dali::NativeImage *arg1 = (Dali::NativeImage *) 0 ; - Dali::NativeImage *arg2 = 0 ; - Dali::NativeImage *result = 0 ; +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_NativeImageInterface_TargetTexture(void * jarg1) { + unsigned int jresult ; + Dali::NativeImageInterface *arg1 = (Dali::NativeImageInterface *) 0 ; + unsigned int result; - arg1 = (Dali::NativeImage *)jarg1; - arg2 = (Dali::NativeImage *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::NativeImage const & type is null", 0); - return 0; - } + arg1 = (Dali::NativeImageInterface *)jarg1; { try { - result = (Dali::NativeImage *) &(arg1)->operator =((Dali::NativeImage const &)*arg2); + result = (unsigned int)(arg1)->TargetTexture(); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -44992,18 +44881,18 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_NativeImage_Assign(void * jarg1, void } } - jresult = (void *)result; + jresult = result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_NativeImage_CreateGlTexture(void * jarg1) { - Dali::NativeImage *arg1 = (Dali::NativeImage *) 0 ; +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_NativeImageInterface_PrepareTexture(void * jarg1) { + Dali::NativeImageInterface *arg1 = (Dali::NativeImageInterface *) 0 ; - arg1 = (Dali::NativeImage *)jarg1; + arg1 = (Dali::NativeImageInterface *)jarg1; { try { - (arg1)->CreateGlTexture(); + (arg1)->PrepareTexture(); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; @@ -45026,19 +44915,15 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_NativeImage_CreateGlTexture(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_NativeImage_New(void * jarg1) { - void * jresult ; - NativeImageInterface *arg1 = 0 ; - Dali::NativeImage result; +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_NativeImageInterface_GetWidth(void * jarg1) { + unsigned int jresult ; + Dali::NativeImageInterface *arg1 = (Dali::NativeImageInterface *) 0 ; + unsigned int result; - arg1 = (NativeImageInterface *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "NativeImageInterface & type is null", 0); - return 0; - } + arg1 = (Dali::NativeImageInterface *)jarg1; { try { - result = Dali::NativeImage::New(*arg1); + result = (unsigned int)((Dali::NativeImageInterface const *)arg1)->GetWidth(); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -45058,26 +44943,20 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_NativeImage_New(void * jarg1) { } } - jresult = new Dali::NativeImage((const Dali::NativeImage &)result); + jresult = result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_NativeImage_DownCast(void * jarg1) { - void * jresult ; - Dali::BaseHandle arg1 ; - Dali::BaseHandle *argp1 ; - Dali::NativeImage result; +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_NativeImageInterface_GetHeight(void * jarg1) { + unsigned int jresult ; + Dali::NativeImageInterface *arg1 = (Dali::NativeImageInterface *) 0 ; + unsigned int result; - argp1 = (Dali::BaseHandle *)jarg1; - if (!argp1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::BaseHandle", 0); - return 0; - } - arg1 = *argp1; + arg1 = (Dali::NativeImageInterface *)jarg1; { try { - result = Dali::NativeImage::DownCast(arg1); + result = (unsigned int)((Dali::NativeImageInterface const *)arg1)->GetHeight(); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -45097,20 +44976,20 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_NativeImage_DownCast(void * jarg1) { } } - jresult = new Dali::NativeImage((const Dali::NativeImage &)result); + jresult = result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_NativeImage_GetCustomFragmentPreFix(void * jarg1) { - char * jresult ; - Dali::NativeImage *arg1 = (Dali::NativeImage *) 0 ; - char *result = 0 ; +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_NativeImageInterface_RequiresBlending(void * jarg1) { + unsigned int jresult ; + Dali::NativeImageInterface *arg1 = (Dali::NativeImageInterface *) 0 ; + bool result; - arg1 = (Dali::NativeImage *)jarg1; + arg1 = (Dali::NativeImageInterface *)jarg1; { try { - result = (char *)(arg1)->GetCustomFragmentPreFix(); + result = (bool)((Dali::NativeImageInterface const *)arg1)->RequiresBlending(); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -45130,20 +45009,25 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_NativeImage_GetCustomFragmentPreFix(vo } } - jresult = SWIG_csharp_string_callback((const char *)result); + jresult = result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_NativeImage_GetCustomSamplerTypename(void * jarg1) { - char * jresult ; - Dali::NativeImage *arg1 = (Dali::NativeImage *) 0 ; - char *result = 0 ; +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceImage_GetImageSize(char * jarg1) { + void * jresult ; + std::string *arg1 = 0 ; + Dali::ImageDimensions result; - arg1 = (Dali::NativeImage *)jarg1; + if (!jarg1) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); + return 0; + } + std::string arg1_str(jarg1); + arg1 = &arg1_str; { try { - result = (char *)(arg1)->GetCustomSamplerTypename(); + result = Dali::ResourceImage::GetImageSize((std::string const &)*arg1); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -45163,20 +45047,21 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_NativeImage_GetCustomSamplerTypename(v } } - jresult = SWIG_csharp_string_callback((const char *)result); + jresult = new Dali::ImageDimensions((const Dali::ImageDimensions &)result); + + //argout typemap for const std::string& + return jresult; } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_NativeImageInterface_GlExtensionCreate(void * jarg1) { - unsigned int jresult ; - Dali::NativeImageInterface *arg1 = (Dali::NativeImageInterface *) 0 ; - bool result; +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ResourceImage__SWIG_0() { + void * jresult ; + Dali::ResourceImage *result = 0 ; - arg1 = (Dali::NativeImageInterface *)jarg1; { try { - result = (bool)(arg1)->GlExtensionCreate(); + result = (Dali::ResourceImage *)new Dali::ResourceImage(); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -45196,18 +45081,18 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_NativeImageInterface_GlExtension } } - jresult = result; + jresult = (void *)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_NativeImageInterface_GlExtensionDestroy(void * jarg1) { - Dali::NativeImageInterface *arg1 = (Dali::NativeImageInterface *) 0 ; +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ResourceImage(void * jarg1) { + Dali::ResourceImage *arg1 = (Dali::ResourceImage *) 0 ; - arg1 = (Dali::NativeImageInterface *)jarg1; + arg1 = (Dali::ResourceImage *)jarg1; { try { - (arg1)->GlExtensionDestroy(); + delete arg1; } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; @@ -45230,15 +45115,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_NativeImageInterface_GlExtensionDestroy( } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_NativeImageInterface_TargetTexture(void * jarg1) { - unsigned int jresult ; - Dali::NativeImageInterface *arg1 = (Dali::NativeImageInterface *) 0 ; - unsigned int result; +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ResourceImage__SWIG_1(void * jarg1) { + void * jresult ; + Dali::ResourceImage *arg1 = 0 ; + Dali::ResourceImage *result = 0 ; - arg1 = (Dali::NativeImageInterface *)jarg1; + arg1 = (Dali::ResourceImage *)jarg1; + if (!arg1) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::ResourceImage const & type is null", 0); + return 0; + } { try { - result = (unsigned int)(arg1)->TargetTexture(); + result = (Dali::ResourceImage *)new Dali::ResourceImage((Dali::ResourceImage const &)*arg1); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -45258,751 +45147,66 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_NativeImageInterface_TargetTextu } } - jresult = result; + jresult = (void *)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_NativeImageInterface_PrepareTexture(void * jarg1) { - Dali::NativeImageInterface *arg1 = (Dali::NativeImageInterface *) 0 ; +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceImage_Assign(void * jarg1, void * jarg2) { + void * jresult ; + Dali::ResourceImage *arg1 = (Dali::ResourceImage *) 0 ; + Dali::ResourceImage *arg2 = 0 ; + Dali::ResourceImage *result = 0 ; - arg1 = (Dali::NativeImageInterface *)jarg1; + arg1 = (Dali::ResourceImage *)jarg1; + arg2 = (Dali::ResourceImage *)jarg2; + if (!arg2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::ResourceImage const & type is null", 0); + return 0; + } { try { - (arg1)->PrepareTexture(); + result = (Dali::ResourceImage *) &(arg1)->operator =((Dali::ResourceImage const &)*arg2); } catch (std::out_of_range& e) { { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; + SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 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 = (void *)result; + return jresult; } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_NativeImageInterface_GetWidth(void * jarg1) { - unsigned int jresult ; - Dali::NativeImageInterface *arg1 = (Dali::NativeImageInterface *) 0 ; - unsigned int result; +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceImage_New__SWIG_0(char * jarg1, unsigned int jarg2) { + void * jresult ; + std::string *arg1 = 0 ; + bool arg2 ; + Dali::ResourceImage result; - arg1 = (Dali::NativeImageInterface *)jarg1; - { - try { - result = (unsigned int)((Dali::NativeImageInterface const *)arg1)->GetWidth(); - } 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_NativeImageInterface_GetHeight(void * jarg1) { - unsigned int jresult ; - Dali::NativeImageInterface *arg1 = (Dali::NativeImageInterface *) 0 ; - unsigned int result; - - arg1 = (Dali::NativeImageInterface *)jarg1; - { - try { - result = (unsigned int)((Dali::NativeImageInterface const *)arg1)->GetHeight(); - } 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_NativeImageInterface_RequiresBlending(void * jarg1) { - unsigned int jresult ; - Dali::NativeImageInterface *arg1 = (Dali::NativeImageInterface *) 0 ; - bool result; - - arg1 = (Dali::NativeImageInterface *)jarg1; - { - try { - result = (bool)((Dali::NativeImageInterface const *)arg1)->RequiresBlending(); - } 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 void * SWIGSTDCALL CSharp_Dali_ResourceImage_GetImageSize(char * jarg1) { - void * jresult ; - std::string *arg1 = 0 ; - Dali::ImageDimensions result; - - if (!jarg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); - return 0; - } - std::string arg1_str(jarg1); - arg1 = &arg1_str; - { - try { - result = Dali::ResourceImage::GetImageSize((std::string const &)*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::ImageDimensions((const Dali::ImageDimensions &)result); - - //argout typemap for const std::string& - - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ResourceImage__SWIG_0() { - void * jresult ; - Dali::ResourceImage *result = 0 ; - - { - try { - result = (Dali::ResourceImage *)new Dali::ResourceImage(); - } 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_ResourceImage(void * jarg1) { - Dali::ResourceImage *arg1 = (Dali::ResourceImage *) 0 ; - - arg1 = (Dali::ResourceImage *)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_ResourceImage__SWIG_1(void * jarg1) { - void * jresult ; - Dali::ResourceImage *arg1 = 0 ; - Dali::ResourceImage *result = 0 ; - - arg1 = (Dali::ResourceImage *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::ResourceImage const & type is null", 0); - return 0; - } - { - try { - result = (Dali::ResourceImage *)new Dali::ResourceImage((Dali::ResourceImage const &)*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 = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceImage_Assign(void * jarg1, void * jarg2) { - void * jresult ; - Dali::ResourceImage *arg1 = (Dali::ResourceImage *) 0 ; - Dali::ResourceImage *arg2 = 0 ; - Dali::ResourceImage *result = 0 ; - - arg1 = (Dali::ResourceImage *)jarg1; - arg2 = (Dali::ResourceImage *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::ResourceImage const & type is null", 0); - return 0; - } - { - try { - result = (Dali::ResourceImage *) &(arg1)->operator =((Dali::ResourceImage 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 = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceImage_New__SWIG_0(char * jarg1, unsigned int jarg2) { - void * jresult ; - std::string *arg1 = 0 ; - bool arg2 ; - Dali::ResourceImage result; - - if (!jarg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); - return 0; - } - std::string arg1_str(jarg1); - arg1 = &arg1_str; - arg2 = jarg2 ? true : false; - { - try { - result = Dali::ResourceImage::New((std::string const &)*arg1,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::ResourceImage((const Dali::ResourceImage &)result); - - //argout typemap for const std::string& - - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceImage_New__SWIG_1(char * jarg1) { - void * jresult ; - std::string *arg1 = 0 ; - Dali::ResourceImage result; - - if (!jarg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); - return 0; - } - std::string arg1_str(jarg1); - arg1 = &arg1_str; - { - try { - result = Dali::ResourceImage::New((std::string const &)*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::ResourceImage((const Dali::ResourceImage &)result); - - //argout typemap for const std::string& - - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceImage_New__SWIG_2(char * jarg1, void * jarg2, int jarg3, int jarg4, unsigned int jarg5) { - void * jresult ; - std::string *arg1 = 0 ; - Dali::ImageDimensions arg2 ; - Dali::FittingMode::Type arg3 ; - Dali::SamplingMode::Type arg4 ; - bool arg5 ; - Dali::ImageDimensions *argp2 ; - Dali::ResourceImage result; - - if (!jarg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); - return 0; - } - std::string arg1_str(jarg1); - arg1 = &arg1_str; - argp2 = (Dali::ImageDimensions *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::ImageDimensions", 0); - return 0; - } - arg2 = *argp2; - arg3 = (Dali::FittingMode::Type)jarg3; - arg4 = (Dali::SamplingMode::Type)jarg4; - arg5 = jarg5 ? true : false; - { - try { - result = Dali::ResourceImage::New((std::string const &)*arg1,arg2,arg3,arg4,arg5); - } 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::ResourceImage((const Dali::ResourceImage &)result); - - //argout typemap for const std::string& - - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceImage_New__SWIG_3(char * jarg1, void * jarg2, int jarg3, int jarg4) { - void * jresult ; - std::string *arg1 = 0 ; - Dali::ImageDimensions arg2 ; - Dali::FittingMode::Type arg3 ; - Dali::SamplingMode::Type arg4 ; - Dali::ImageDimensions *argp2 ; - Dali::ResourceImage result; - - if (!jarg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); - return 0; - } - std::string arg1_str(jarg1); - arg1 = &arg1_str; - argp2 = (Dali::ImageDimensions *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::ImageDimensions", 0); - return 0; - } - arg2 = *argp2; - arg3 = (Dali::FittingMode::Type)jarg3; - arg4 = (Dali::SamplingMode::Type)jarg4; - { - try { - result = Dali::ResourceImage::New((std::string const &)*arg1,arg2,arg3,arg4); - } 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::ResourceImage((const Dali::ResourceImage &)result); - - //argout typemap for const std::string& - - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceImage_New__SWIG_4(char * jarg1, void * jarg2, int jarg3) { - void * jresult ; - std::string *arg1 = 0 ; - Dali::ImageDimensions arg2 ; - Dali::FittingMode::Type arg3 ; - Dali::ImageDimensions *argp2 ; - Dali::ResourceImage result; - - if (!jarg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); - return 0; - } - std::string arg1_str(jarg1); - arg1 = &arg1_str; - argp2 = (Dali::ImageDimensions *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::ImageDimensions", 0); - return 0; - } - arg2 = *argp2; - arg3 = (Dali::FittingMode::Type)jarg3; - { - try { - result = Dali::ResourceImage::New((std::string const &)*arg1,arg2,arg3); - } 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::ResourceImage((const Dali::ResourceImage &)result); - - //argout typemap for const std::string& - - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceImage_New__SWIG_5(char * jarg1, void * jarg2) { - void * jresult ; - std::string *arg1 = 0 ; - Dali::ImageDimensions arg2 ; - Dali::ImageDimensions *argp2 ; - Dali::ResourceImage result; - - if (!jarg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); - return 0; - } - std::string arg1_str(jarg1); - arg1 = &arg1_str; - argp2 = (Dali::ImageDimensions *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::ImageDimensions", 0); - return 0; - } - arg2 = *argp2; - { - try { - result = Dali::ResourceImage::New((std::string const &)*arg1,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::ResourceImage((const Dali::ResourceImage &)result); - - //argout typemap for const std::string& - - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceImage_DownCast(void * jarg1) { - void * jresult ; - Dali::BaseHandle arg1 ; - Dali::BaseHandle *argp1 ; - Dali::ResourceImage 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::ResourceImage::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::ResourceImage((const Dali::ResourceImage &)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_ResourceImage_GetLoadingState(void * jarg1) { - int jresult ; - Dali::ResourceImage *arg1 = (Dali::ResourceImage *) 0 ; - Dali::LoadingState result; - - arg1 = (Dali::ResourceImage *)jarg1; - { - try { - result = (Dali::LoadingState)((Dali::ResourceImage const *)arg1)->GetLoadingState(); - } 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 char * SWIGSTDCALL CSharp_Dali_ResourceImage_GetUrl(void * jarg1) { - char * jresult ; - Dali::ResourceImage *arg1 = (Dali::ResourceImage *) 0 ; - std::string result; - - arg1 = (Dali::ResourceImage *)jarg1; - { - try { - result = ((Dali::ResourceImage const *)arg1)->GetUrl(); - } 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_ResourceImage_Reload(void * jarg1) { - Dali::ResourceImage *arg1 = (Dali::ResourceImage *) 0 ; - - arg1 = (Dali::ResourceImage *)jarg1; - { - 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 ; - }; - } + if (!jarg1) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); + return 0; } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceImage_LoadingFinishedSignal(void * jarg1) { - void * jresult ; - Dali::ResourceImage *arg1 = (Dali::ResourceImage *) 0 ; - Dali::ResourceImage::ResourceImageSignal *result = 0 ; - - arg1 = (Dali::ResourceImage *)jarg1; + std::string arg1_str(jarg1); + arg1 = &arg1_str; + arg2 = jarg2 ? true : false; { try { - result = (Dali::ResourceImage::ResourceImageSignal *) &(arg1)->LoadingFinishedSignal(); + result = Dali::ResourceImage::New((std::string const &)*arg1,arg2); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -46022,18 +45226,28 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceImage_LoadingFinishedSignal(vo } } - jresult = (void *)result; + jresult = new Dali::ResourceImage((const Dali::ResourceImage &)result); + + //argout typemap for const std::string& + return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_FrameBufferImage__SWIG_0() { +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceImage_New__SWIG_1(char * jarg1) { void * jresult ; - Dali::FrameBufferImage *result = 0 ; + std::string *arg1 = 0 ; + Dali::ResourceImage result; + if (!jarg1) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); + return 0; + } + std::string arg1_str(jarg1); + arg1 = &arg1_str; { try { - result = (Dali::FrameBufferImage *)new Dali::FrameBufferImage(); + result = Dali::ResourceImage::New((std::string const &)*arg1); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -46053,26 +45267,42 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_FrameBufferImage__SWIG_0() { } } - jresult = (void *)result; + jresult = new Dali::ResourceImage((const Dali::ResourceImage &)result); + + //argout typemap for const std::string& + return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FrameBufferImage_New__SWIG_0(unsigned int jarg1, unsigned int jarg2, int jarg3, int jarg4) { +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceImage_New__SWIG_2(char * jarg1, void * jarg2, int jarg3, int jarg4, unsigned int jarg5) { void * jresult ; - unsigned int arg1 ; - unsigned int arg2 ; - Dali::Pixel::Format arg3 ; - Dali::RenderBuffer::Format arg4 ; - Dali::FrameBufferImage result; + std::string *arg1 = 0 ; + Dali::ImageDimensions arg2 ; + Dali::FittingMode::Type arg3 ; + Dali::SamplingMode::Type arg4 ; + bool arg5 ; + Dali::ImageDimensions *argp2 ; + Dali::ResourceImage result; - arg1 = (unsigned int)jarg1; - arg2 = (unsigned int)jarg2; - arg3 = (Dali::Pixel::Format)jarg3; - arg4 = (Dali::RenderBuffer::Format)jarg4; + if (!jarg1) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); + return 0; + } + std::string arg1_str(jarg1); + arg1 = &arg1_str; + argp2 = (Dali::ImageDimensions *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::ImageDimensions", 0); + return 0; + } + arg2 = *argp2; + arg3 = (Dali::FittingMode::Type)jarg3; + arg4 = (Dali::SamplingMode::Type)jarg4; + arg5 = jarg5 ? true : false; { try { - result = Dali::FrameBufferImage::New(arg1,arg2,arg3,arg4); + result = Dali::ResourceImage::New((std::string const &)*arg1,arg2,arg3,arg4,arg5); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -46092,24 +45322,40 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FrameBufferImage_New__SWIG_0(unsigned } } - jresult = new Dali::FrameBufferImage((const Dali::FrameBufferImage &)result); + jresult = new Dali::ResourceImage((const Dali::ResourceImage &)result); + + //argout typemap for const std::string& + return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FrameBufferImage_New__SWIG_1(unsigned int jarg1, unsigned int jarg2, int jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceImage_New__SWIG_3(char * jarg1, void * jarg2, int jarg3, int jarg4) { void * jresult ; - unsigned int arg1 ; - unsigned int arg2 ; - Dali::Pixel::Format arg3 ; - Dali::FrameBufferImage result; + std::string *arg1 = 0 ; + Dali::ImageDimensions arg2 ; + Dali::FittingMode::Type arg3 ; + Dali::SamplingMode::Type arg4 ; + Dali::ImageDimensions *argp2 ; + Dali::ResourceImage result; - arg1 = (unsigned int)jarg1; - arg2 = (unsigned int)jarg2; - arg3 = (Dali::Pixel::Format)jarg3; + if (!jarg1) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); + return 0; + } + std::string arg1_str(jarg1); + arg1 = &arg1_str; + argp2 = (Dali::ImageDimensions *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::ImageDimensions", 0); + return 0; + } + arg2 = *argp2; + arg3 = (Dali::FittingMode::Type)jarg3; + arg4 = (Dali::SamplingMode::Type)jarg4; { try { - result = Dali::FrameBufferImage::New(arg1,arg2,arg3); + result = Dali::ResourceImage::New((std::string const &)*arg1,arg2,arg3,arg4); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -46129,22 +45375,38 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FrameBufferImage_New__SWIG_1(unsigned } } - jresult = new Dali::FrameBufferImage((const Dali::FrameBufferImage &)result); + jresult = new Dali::ResourceImage((const Dali::ResourceImage &)result); + + //argout typemap for const std::string& + return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FrameBufferImage_New__SWIG_2(unsigned int jarg1, unsigned int jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceImage_New__SWIG_4(char * jarg1, void * jarg2, int jarg3) { void * jresult ; - unsigned int arg1 ; - unsigned int arg2 ; - Dali::FrameBufferImage result; + std::string *arg1 = 0 ; + Dali::ImageDimensions arg2 ; + Dali::FittingMode::Type arg3 ; + Dali::ImageDimensions *argp2 ; + Dali::ResourceImage result; - arg1 = (unsigned int)jarg1; - arg2 = (unsigned int)jarg2; + if (!jarg1) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); + return 0; + } + std::string arg1_str(jarg1); + arg1 = &arg1_str; + argp2 = (Dali::ImageDimensions *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::ImageDimensions", 0); + return 0; + } + arg2 = *argp2; + arg3 = (Dali::FittingMode::Type)jarg3; { try { - result = Dali::FrameBufferImage::New(arg1,arg2); + result = Dali::ResourceImage::New((std::string const &)*arg1,arg2,arg3); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -46164,20 +45426,36 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FrameBufferImage_New__SWIG_2(unsigned } } - jresult = new Dali::FrameBufferImage((const Dali::FrameBufferImage &)result); + jresult = new Dali::ResourceImage((const Dali::ResourceImage &)result); + + //argout typemap for const std::string& + return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FrameBufferImage_New__SWIG_3(unsigned int jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceImage_New__SWIG_5(char * jarg1, void * jarg2) { void * jresult ; - unsigned int arg1 ; - Dali::FrameBufferImage result; + std::string *arg1 = 0 ; + Dali::ImageDimensions arg2 ; + Dali::ImageDimensions *argp2 ; + Dali::ResourceImage result; - arg1 = (unsigned int)jarg1; + if (!jarg1) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); + return 0; + } + std::string arg1_str(jarg1); + arg1 = &arg1_str; + argp2 = (Dali::ImageDimensions *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::ImageDimensions", 0); + return 0; + } + arg2 = *argp2; { try { - result = Dali::FrameBufferImage::New(arg1); + result = Dali::ResourceImage::New((std::string const &)*arg1,arg2); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -46197,18 +45475,29 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FrameBufferImage_New__SWIG_3(unsigned } } - jresult = new Dali::FrameBufferImage((const Dali::FrameBufferImage &)result); + jresult = new Dali::ResourceImage((const Dali::ResourceImage &)result); + + //argout typemap for const std::string& + return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FrameBufferImage_New__SWIG_4() { +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceImage_DownCast(void * jarg1) { void * jresult ; - Dali::FrameBufferImage result; + Dali::BaseHandle arg1 ; + Dali::BaseHandle *argp1 ; + Dali::ResourceImage 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::FrameBufferImage::New(); + result = Dali::ResourceImage::DownCast(arg1); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -46228,24 +45517,20 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FrameBufferImage_New__SWIG_4() { } } - jresult = new Dali::FrameBufferImage((const Dali::FrameBufferImage &)result); + jresult = new Dali::ResourceImage((const Dali::ResourceImage &)result); return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FrameBufferImage_New__SWIG_5(void * jarg1) { - void * jresult ; - Dali::NativeImageInterface *arg1 = 0 ; - Dali::FrameBufferImage result; +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_ResourceImage_GetLoadingState(void * jarg1) { + int jresult ; + Dali::ResourceImage *arg1 = (Dali::ResourceImage *) 0 ; + Dali::LoadingState result; - arg1 = (Dali::NativeImageInterface *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::NativeImageInterface & type is null", 0); - return 0; - } + arg1 = (Dali::ResourceImage *)jarg1; { try { - result = Dali::FrameBufferImage::New(*arg1); + result = (Dali::LoadingState)((Dali::ResourceImage const *)arg1)->GetLoadingState(); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -46265,26 +45550,20 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FrameBufferImage_New__SWIG_5(void * ja } } - jresult = new Dali::FrameBufferImage((const Dali::FrameBufferImage &)result); + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FrameBufferImage_DownCast(void * jarg1) { - void * jresult ; - Dali::BaseHandle arg1 ; - Dali::BaseHandle *argp1 ; - Dali::FrameBufferImage result; +SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_ResourceImage_GetUrl(void * jarg1) { + char * jresult ; + Dali::ResourceImage *arg1 = (Dali::ResourceImage *) 0 ; + std::string result; - argp1 = (Dali::BaseHandle *)jarg1; - if (!argp1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::BaseHandle", 0); - return 0; - } - arg1 = *argp1; + arg1 = (Dali::ResourceImage *)jarg1; { try { - result = Dali::FrameBufferImage::DownCast(arg1); + result = ((Dali::ResourceImage const *)arg1)->GetUrl(); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -46304,18 +45583,18 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FrameBufferImage_DownCast(void * jarg1 } } - jresult = new Dali::FrameBufferImage((const Dali::FrameBufferImage &)result); + jresult = SWIG_csharp_string_callback((&result)->c_str()); return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_FrameBufferImage(void * jarg1) { - Dali::FrameBufferImage *arg1 = (Dali::FrameBufferImage *) 0 ; +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResourceImage_Reload(void * jarg1) { + Dali::ResourceImage *arg1 = (Dali::ResourceImage *) 0 ; - arg1 = (Dali::FrameBufferImage *)jarg1; + arg1 = (Dali::ResourceImage *)jarg1; { try { - delete arg1; + (arg1)->Reload(); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; @@ -46338,58 +45617,15 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_FrameBufferImage(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_FrameBufferImage__SWIG_1(void * jarg1) { - void * jresult ; - Dali::FrameBufferImage *arg1 = 0 ; - Dali::FrameBufferImage *result = 0 ; - - arg1 = (Dali::FrameBufferImage *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::FrameBufferImage const & type is null", 0); - return 0; - } - { - try { - result = (Dali::FrameBufferImage *)new Dali::FrameBufferImage((Dali::FrameBufferImage const &)*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 = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FrameBufferImage_Assign(void * jarg1, void * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceImage_LoadingFinishedSignal(void * jarg1) { void * jresult ; - Dali::FrameBufferImage *arg1 = (Dali::FrameBufferImage *) 0 ; - Dali::FrameBufferImage *arg2 = 0 ; - Dali::FrameBufferImage *result = 0 ; + Dali::ResourceImage *arg1 = (Dali::ResourceImage *) 0 ; + Dali::ResourceImage::ResourceImageSignal *result = 0 ; - arg1 = (Dali::FrameBufferImage *)jarg1; - arg2 = (Dali::FrameBufferImage *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::FrameBufferImage const & type is null", 0); - return 0; - } + arg1 = (Dali::ResourceImage *)jarg1; { try { - result = (Dali::FrameBufferImage *) &(arg1)->operator =((Dali::FrameBufferImage const &)*arg2); + result = (Dali::ResourceImage::ResourceImageSignal *) &(arg1)->LoadingFinishedSignal(); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0;