From: Joogab Yun Date: Tue, 1 Sep 2020 08:28:49 +0000 (+0900) Subject: Revert "Provide binding after HoverEvent class pimpling" X-Git-Tag: accepted/tizen/unified/20200903.151835~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9193cd935749f2aadbdd4ee4ff44efa4963e474e;p=platform%2Fcore%2Fuifw%2Fdali-csharp-binder.git Revert "Provide binding after HoverEvent class pimpling" This reverts commit f94d339acca32c71a024342c12699e56bddf5606. --- diff --git a/dali-csharp-binder/src/dali_wrap.cpp b/dali-csharp-binder/src/dali_wrap.cpp index 980f907..ab4ff13 100644 --- a/dali-csharp-binder/src/dali_wrap.cpp +++ b/dali-csharp-binder/src/dali_wrap.cpp @@ -30519,19 +30519,15 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Hover__SWIG_0() { } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Hover__SWIG_1(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Hover__SWIG_1(unsigned long jarg1) { void * jresult ; - Dali::HoverEvent *arg1 = 0 ; + unsigned long arg1 ; Dali::HoverEvent *result = 0 ; - arg1 = (Dali::HoverEvent *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::HoverEvent const & type is null", 0); - return 0; - } + arg1 = (unsigned long)jarg1; { try { - result = (Dali::HoverEvent *)new Dali::HoverEvent((Dali::HoverEvent const &)*arg1); + result = (Dali::HoverEvent *)new Dali::HoverEvent(arg1); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -30585,227 +30581,59 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Hover(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Hover_Assign(void * jarg1, void * jarg2) { - void * jresult ; +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Hover_points_set(void * jarg1, void * jarg2) { Dali::HoverEvent *arg1 = (Dali::HoverEvent *) 0 ; - Dali::HoverEvent *arg2 = 0 ; - Dali::HoverEvent *result = 0 ; + Dali::TouchPointContainer *arg2 = (Dali::TouchPointContainer *) 0 ; arg1 = (Dali::HoverEvent *)jarg1; - arg2 = (Dali::HoverEvent *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::HoverEvent const & type is null", 0); - return 0; - } - { - try { - result = (Dali::HoverEvent *) &(arg1)->operator =((Dali::HoverEvent 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; + arg2 = (Dali::TouchPointContainer *)jarg2; + if (arg1) (arg1)->points = *arg2; } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_Hover_GetTime(void * jarg1) { - unsigned long jresult ; - Dali::HoverEvent *arg1 = (Dali::HoverEvent *) 0 ; - unsigned long result; - - arg1 = (Dali::HoverEvent *)jarg1; - { - try { - result = (unsigned long)((Dali::HoverEvent const *)arg1)->GetTime(); - } 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 = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_Hover_GetPointCount(void * jarg1) { - unsigned long jresult ; - Dali::HoverEvent *arg1 = (Dali::HoverEvent *) 0 ; - std::size_t result; - - arg1 = (Dali::HoverEvent *)jarg1; - { - try { - result = ((Dali::HoverEvent const *)arg1)->GetPointCount(); - } 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 = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Hover_GetDeviceId(void * jarg1, unsigned long jarg2) { - int jresult ; +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Hover_points_get(void * jarg1) { + void * jresult ; Dali::HoverEvent *arg1 = (Dali::HoverEvent *) 0 ; - std::size_t arg2 ; - int32_t result; + Dali::TouchPointContainer *result = 0 ; arg1 = (Dali::HoverEvent *)jarg1; - arg2 = (std::size_t)jarg2; - { - try { - result = ((Dali::HoverEvent const *)arg1)->GetDeviceId(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 = result; + result = (Dali::TouchPointContainer *)& ((arg1)->points); + jresult = (void *)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Hover_GetState(void * jarg1, unsigned long jarg2) { - int jresult ; +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Hover_time_set(void * jarg1, unsigned long jarg2) { Dali::HoverEvent *arg1 = (Dali::HoverEvent *) 0 ; - std::size_t arg2 ; - Dali::PointState::Type result; + unsigned long arg2 ; arg1 = (Dali::HoverEvent *)jarg1; - arg2 = (std::size_t)jarg2; - { - try { - result = (Dali::PointState::Type)((Dali::HoverEvent const *)arg1)->GetState(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 = (int)result; - return jresult; + arg2 = (unsigned long)jarg2; + if (arg1) (arg1)->time = arg2; } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Hover_GetHitActor(void * jarg1, unsigned long jarg2) { - void * jresult ; +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_Hover_time_get(void * jarg1) { + unsigned long jresult ; Dali::HoverEvent *arg1 = (Dali::HoverEvent *) 0 ; - std::size_t arg2 ; - Dali::Actor result; + unsigned long result; arg1 = (Dali::HoverEvent *)jarg1; - arg2 = (std::size_t)jarg2; - { - try { - result = ((Dali::HoverEvent const *)arg1)->GetHitActor(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::Actor((const Dali::Actor &)result); + result = (unsigned long) ((arg1)->time); + jresult = (unsigned long)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Hover_GetLocalPosition(void * jarg1, unsigned long jarg2) { - void * jresult ; +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Hover_GetPointCount(void * jarg1) { + unsigned int jresult ; Dali::HoverEvent *arg1 = (Dali::HoverEvent *) 0 ; - std::size_t arg2 ; - Dali::Vector2 *result = 0 ; + unsigned int result; arg1 = (Dali::HoverEvent *)jarg1; - arg2 = (std::size_t)jarg2; { try { - result = (Dali::Vector2 *) &((Dali::HoverEvent const *)arg1)->GetLocalPosition(arg2); + result = (unsigned int)((Dali::HoverEvent const *)arg1)->GetPointCount(); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -30825,22 +30653,22 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Hover_GetLocalPosition(void * jarg1, u } } - jresult = (void *)result; + jresult = result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Hover_GetScreenPosition(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Hover_GetPoint(void * jarg1, unsigned int jarg2) { void * jresult ; Dali::HoverEvent *arg1 = (Dali::HoverEvent *) 0 ; - std::size_t arg2 ; - Dali::Vector2 *result = 0 ; + unsigned int arg2 ; + Dali::TouchPoint *result = 0 ; arg1 = (Dali::HoverEvent *)jarg1; - arg2 = (std::size_t)jarg2; + arg2 = (unsigned int)jarg2; { try { - result = (Dali::Vector2 *) &((Dali::HoverEvent const *)arg1)->GetScreenPosition(arg2); + result = (Dali::TouchPoint *) &((Dali::HoverEvent const *)arg1)->GetPoint(arg2); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -95385,10 +95213,6 @@ SWIGEXPORT Dali::BaseHandle * SWIGSTDCALL CSharp_Dali_Touch_SWIGUpcast(Dali::Tou return (Dali::BaseHandle *)jarg1; } -SWIGEXPORT Dali::BaseHandle * SWIGSTDCALL CSharp_Dali_Hover_SWIGUpcast(Dali::HoverEvent *jarg1) { - return (Dali::BaseHandle *)jarg1; -} - SWIGEXPORT Dali::Handle * SWIGSTDCALL CSharp_Dali_GestureDetector_SWIGUpcast(Dali::GestureDetector *jarg1) { return (Dali::Handle *)jarg1; }