From: Adeel Kazmi Date: Fri, 29 Sep 2017 17:07:03 +0000 (+0100) Subject: Changes after Animation & Device API move in Core X-Git-Tag: dali_1.3.19~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F10%2F153810%2F1;p=platform%2Fcore%2Fuifw%2Fdali-csharp-binder.git Changes after Animation & Device API move in Core Change-Id: I278a3d9f33dbb8cd7b88ae0ef33b7f822414a2d7 --- diff --git a/dali-csharp-binder/src/animation.cpp b/dali-csharp-binder/src/animation.cpp index 231f6b5..7b816cc 100755 --- a/dali-csharp-binder/src/animation.cpp +++ b/dali-csharp-binder/src/animation.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -1020,7 +1020,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Animation_PlayAfter(void * jarg1, float arg2 = (float)jarg2; { try { - Dali::DevelAnimation::PlayAfter(arg1,arg2); + arg1.PlayAfter(arg2); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; diff --git a/dali-csharp-binder/src/dali_wrap.cpp b/dali-csharp-binder/src/dali_wrap.cpp index 946ed1d..c926376 100755 --- a/dali-csharp-binder/src/dali_wrap.cpp +++ b/dali-csharp-binder/src/dali_wrap.cpp @@ -422,7 +422,6 @@ SWIGINTERN void SWIG_CSharpException(int code, const char *msg) { #include #include -#include #include @@ -28401,7 +28400,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_GetDeviceName(void * jarg1) { } { try { - result = Dali::DevelKeyEvent::GetDeviceName((Dali::KeyEvent const &)*arg1); + result = arg1->GetDeviceName(); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; @@ -28423,7 +28422,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_GetDeviceName(void * jarg1) { SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetDeviceClass(void * jarg1) { int jresult ; Dali::KeyEvent *arg1 = 0 ; - Dali::DevelDevice::Class::Type result; + Dali::Device::Class::Type result; arg1 = (Dali::KeyEvent *)jarg1; if (!arg1) { @@ -28432,7 +28431,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetDeviceClass(void * jarg1) { } { try { - result = (Dali::DevelDevice::Class::Type)Dali::DevelKeyEvent::GetDeviceClass((Dali::KeyEvent const &)*arg1); + result = (Dali::Device::Class::Type)arg1->GetDeviceClass(); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0;