Handle becomes Animatable
[platform/core/uifw/dali-toolkit.git] / plugins / dali-sharp / sharp / internal / Animatable.cs
 * limitations under the License.
 *
 */
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
-//------------------------------------------------------------------------------
-// <auto-generated />
-//
-// This file was automatically generated by SWIG (http://www.swig.org).
-// Version 3.0.10
-//
-// Do not make changes to this file unless you know what you are doing--modify
-// the SWIG interface file instead.
-//------------------------------------------------------------------------------
 
 namespace Dali {
 
-public class Handle : BaseHandle {
+public class Animatable : BaseHandle {
   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
 
-  internal Handle(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Handle_SWIGUpcast(cPtr), cMemoryOwn) {
+  internal Animatable(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Handle_SWIGUpcast(cPtr), cMemoryOwn) {
     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
   }
 
-  internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Handle obj) {
+  internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Animatable obj) {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
   }
 
-  ~Handle() {
+  ~Animatable() {
     DisposeQueue.Instance.Add(this);
   }
 
@@ -61,27 +51,15 @@ public class Handle : BaseHandle {
   }
 
 
-  public Handle () : this (NDalicPINVOKE.Handle_New(), true) {
+  public Animatable () : this (NDalicPINVOKE.Handle_New(), true) {
       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
 
   }
-  public Handle(Handle handle) : this(NDalicPINVOKE.new_Handle__SWIG_1(Handle.getCPtr(handle)), true) {
+  public Animatable(Animatable handle) : this(NDalicPINVOKE.new_Handle__SWIG_1(Animatable.getCPtr(handle)), true) {
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public Handle Assign(Handle rhs) {
-    Handle ret = new Handle(NDalicPINVOKE.Handle_Assign(swigCPtr, Handle.getCPtr(rhs)), false);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public static Handle DownCast(BaseHandle handle) {
-    Handle ret = new Handle(NDalicPINVOKE.Handle_DownCast(BaseHandle.getCPtr(handle)), true);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public bool Supports(Handle.Capability capability) {
+  public bool Supports(Animatable.Capability capability) {
     bool ret = NDalicPINVOKE.Handle_Supports(swigCPtr, (int)capability);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
@@ -129,9 +107,9 @@ public class Handle : BaseHandle {
     return ret;
   }
 
-  public void SetProperty(int index, Property.Value propertyValue) {
-    NDalicPINVOKE.Handle_SetProperty(swigCPtr, index, Property.Value.getCPtr(propertyValue));
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  public void SetProperty(int index, Property.Value propertyValue)
+  {
+    Dali.Object.SetProperty( swigCPtr, index, propertyValue );
   }
 
   public int RegisterProperty(string name, Property.Value propertyValue) {
@@ -146,9 +124,9 @@ public class Handle : BaseHandle {
     return ret;
   }
 
-  public Property.Value GetProperty(int index) {
-    Property.Value ret = new Property.Value(NDalicPINVOKE.Handle_GetProperty(swigCPtr, index), true);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  public Property.Value GetProperty(int index)
+  {
+    Property.Value ret = Dali.Object.GetProperty( swigCPtr, index );
     return ret;
   }