Separate C# classes into Internal and Public
[platform/core/uifw/dali-toolkit.git] / plugins / dali-sharp / sharp / public / ProgressBar.cs
@@ -169,40 +169,8 @@ public class ValueChangedEventArgs : EventArgs
   }
 
 
-  public class Property : global::System.IDisposable {
-    private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-    protected bool swigCMemOwn;
-  
-    internal Property(global::System.IntPtr cPtr, bool cMemoryOwn) {
-      swigCMemOwn = cMemoryOwn;
-      swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-    }
-  
-    internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj) {
-      return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
-    }
-  
-    ~Property() {
-      Dispose();
-    }
-  
-    public virtual void Dispose() {
-      lock(this) {
-        if (swigCPtr.Handle != global::System.IntPtr.Zero) {
-          if (swigCMemOwn) {
-            swigCMemOwn = false;
-            NDalicPINVOKE.delete_ProgressBar_Property(swigCPtr);
-          }
-          swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
-        }
-        global::System.GC.SuppressFinalize(this);
-      }
-    }
-  
-    public Property() : this(NDalicPINVOKE.new_ProgressBar_Property(), true) {
-      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    }
-  
+  public class Property
+  {
     public static readonly int PROGRESS_VALUE = NDalicPINVOKE.ProgressBar_Property_PROGRESS_VALUE_get();
     public static readonly int SECONDARY_PROGRESS_VALUE = NDalicPINVOKE.ProgressBar_Property_SECONDARY_PROGRESS_VALUE_get();
     public static readonly int INDETERMINATE = NDalicPINVOKE.ProgressBar_Property_INDETERMINATE_get();
@@ -212,7 +180,6 @@ public class ValueChangedEventArgs : EventArgs
     public static readonly int INDETERMINATE_VISUAL = NDalicPINVOKE.ProgressBar_Property_INDETERMINATE_VISUAL_get();
     public static readonly int INDETERMINATE_VISUAL_ANIMATION = NDalicPINVOKE.ProgressBar_Property_INDETERMINATE_VISUAL_ANIMATION_get();
     public static readonly int LABEL_VISUAL = NDalicPINVOKE.ProgressBar_Property_LABEL_VISUAL_get();
-  
   }
 
   public ProgressBar () : this (NDalicPINVOKE.ProgressBar_New(), true) {
@@ -235,23 +202,18 @@ public class ValueChangedEventArgs : EventArgs
     return ret;
   }
 
-  public ProgressBarValueChangedSignal ValueChangedSignal() {
+  internal ProgressBarValueChangedSignal ValueChangedSignal() {
     ProgressBarValueChangedSignal ret = new ProgressBarValueChangedSignal(NDalicPINVOKE.ProgressBar_ValueChangedSignal(swigCPtr), false);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public enum PropertyRange {
-    PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
-    PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX+1000
-  }
-
   public float ProgressValue
   {
     get
     {
       float temp = 0.0f;
-      GetProperty( ProgressBar.Property.PROGRESS_VALUE).Get( ref temp );
+      GetProperty( ProgressBar.Property.PROGRESS_VALUE).Get( out temp );
       return temp;
     }
     set
@@ -264,7 +226,7 @@ public class ValueChangedEventArgs : EventArgs
     get
     {
       float temp = 0.0f;
-      GetProperty( ProgressBar.Property.SECONDARY_PROGRESS_VALUE).Get( ref temp );
+      GetProperty( ProgressBar.Property.SECONDARY_PROGRESS_VALUE).Get( out temp );
       return temp;
     }
     set
@@ -277,7 +239,7 @@ public class ValueChangedEventArgs : EventArgs
     get
     {
       bool temp = false;
-      GetProperty( ProgressBar.Property.INDETERMINATE).Get( ref temp );
+      GetProperty( ProgressBar.Property.INDETERMINATE).Get( out temp );
       return temp;
     }
     set