From: Jiyun Yang Date: Wed, 18 Dec 2019 07:52:05 +0000 (+0900) Subject: Add binding code for SHADOW enum in ControlDevel and PropertyMap operator[] X-Git-Tag: dali_1.4.52~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F44%2F220444%2F3;p=platform%2Fcore%2Fuifw%2Fdali-csharp-binder.git Add binding code for SHADOW enum in ControlDevel and PropertyMap operator[] Change-Id: Idb9ea3ea795ad774cad1c4154a3fa8be514efada Signed-off-by: Jiyun Yang --- diff --git a/dali-csharp-binder/src/dali_wrap.cpp b/dali-csharp-binder/src/dali_wrap.cpp index ac9d91d..ffca782 100755 --- a/dali-csharp-binder/src/dali_wrap.cpp +++ b/dali-csharp-binder/src/dali_wrap.cpp @@ -16644,6 +16644,75 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Property_Map_Assign(void * jarg1, void } +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_StringKey(void* jarg1, char* jarg2, void* jarg3) { + Dali::Property::Value *result = 0 ; + + Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1; + + if (!jarg2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); + return; + } + std::string arg2_str(jarg2); + std::string* arg2 = &arg2_str; + + Dali::Property::Value* arg3 = (Dali::Property::Value*)jarg3; + + { + try { + arg1->operator[]((std::string const &)*arg2) = *arg3; + } 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_Property_Map_SetValue_IntKey(void* jarg1, int jarg2, void* jarg3) { + Dali::Property::Value *result = 0 ; + + Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1; + Dali::Property::Index arg2 = (Dali::Property::Index)jarg2; + Dali::Property::Value* arg3 = (Dali::Property::Value*)jarg3; + + { + try { + arg1->operator[](arg2) = *arg3; + } 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_Property_Value__SWIG_0() { void * jresult ; Dali::Property::Value *result = 0 ; @@ -66974,6 +67043,15 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_View_Property_PADDING_get() { return jresult; } +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_View_Property_SHADOW_get() { + int jresult ; + int result; + + result = (int)Dali::Toolkit::DevelControl::Property::SHADOW; + jresult = (int)result; + return jresult; +} + SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_View_Property() { void * jresult ; Dali::Toolkit::Control::Property *result = 0 ;