Changes after Animation & Device API move in Core 10/153810/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 29 Sep 2017 17:07:03 +0000 (18:07 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 29 Sep 2017 17:07:03 +0000 (18:07 +0100)
Change-Id: I278a3d9f33dbb8cd7b88ae0ef33b7f822414a2d7

dali-csharp-binder/src/animation.cpp
dali-csharp-binder/src/dali_wrap.cpp

index 231f6b5..7b816cc 100755 (executable)
@@ -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<char*>(e.what())); return ;
index 946ed1d..c926376 100755 (executable)
@@ -422,7 +422,6 @@ SWIGINTERN void SWIG_CSharpException(int code, const char *msg) {
 
 #include <dali/dali.h>
 #include <dali-toolkit/dali-toolkit.h>
-#include <dali/devel-api/events/key-event-devel.h>
 
 #include <dali/devel-api/actors/actor-devel.h>
 
@@ -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<char*>(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<char*>(e.what())); return 0;