Separate C# classes into Internal and Public
[platform/core/uifw/dali-toolkit.git] / plugins / dali-sharp / sharp / public / ViewWrapper.cs
similarity index 81%
rename from plugins/dali-sharp/sharp/internal/ViewWrapper.cs
rename to plugins/dali-sharp/sharp/public/ViewWrapper.cs
index 80596a0..779a847 100755 (executable)
@@ -19,7 +19,7 @@ namespace Dali
     public class ViewWrapper : View
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-        protected ViewWrapperImpl viewWrapperImpl;
+        internal ViewWrapperImpl viewWrapperImpl;
 
         internal ViewWrapper(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicManualPINVOKE.ViewWrapper_SWIGUpcast(cPtr), cMemoryOwn)
         {
@@ -61,7 +61,7 @@ namespace Dali
         }
 
 
-        public ViewWrapper(string typeName, ViewWrapperImpl implementation) : this(NDalicManualPINVOKE.ViewWrapper_New(typeName, ViewWrapperImpl.getCPtr(implementation)), true)
+        internal ViewWrapper(string typeName, ViewWrapperImpl implementation) : this(NDalicManualPINVOKE.ViewWrapper_New(typeName, ViewWrapperImpl.getCPtr(implementation)), true)
         {
             viewWrapperImpl = implementation;
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
@@ -72,14 +72,7 @@ namespace Dali
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        public ViewWrapper Assign(ViewWrapper handle)
-        {
-            ViewWrapper ret = new ViewWrapper(NDalicManualPINVOKE.ViewWrapper_Assign(swigCPtr, ViewWrapper.getCPtr(handle)), false);
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-            return ret;
-        }
-
-        public new static ViewWrapper DownCast(BaseHandle handle)
+        internal new static ViewWrapper DownCast(BaseHandle handle)
         {
             ViewWrapper ret = new ViewWrapper(NDalicManualPINVOKE.ViewWrapper_DownCast(BaseHandle.getCPtr(handle)), true);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();