Change RealHandle, Handle, Parent Access modifier
authorpius.lee <pius.lee@samsung.com>
Tue, 13 Jun 2017 02:10:59 +0000 (11:10 +0900)
committerpius.lee <pius.lee@samsung.com>
Wed, 14 Jun 2017 02:25:53 +0000 (11:25 +0900)
RealHandle and Handle have to be needed on inherit some widget.
So extended widget can't be made on another package until it is "internal".

Parent has to be needed for find current window.
elm sharp does not has method finding window except Parent tracing.

Change-Id: I975a3d1f6144029a21b885276d5ab3037f8b8f00
Signed-off-by: pius.lee <pius.lee@samsung.com>
src/ElmSharp/ElmSharp/EvasObject.cs

index a927914..00a8471 100644 (file)
@@ -31,15 +31,15 @@ namespace ElmSharp
         private Interop.Eext.EextEventCallback _backButtonHandler;
         private Interop.Eext.EextEventCallback _moreButtonHandler;
 
-        internal IntPtr Handle { get; set; }
-        internal EvasObject Parent { get; set; }
-        internal IntPtr RealHandle
+        public IntPtr Handle { get; protected set; }
+        public EvasObject Parent { get; private set; }
+        public IntPtr RealHandle
         {
             get
             {
                 return _realHandle == IntPtr.Zero ? Handle : _realHandle;
             }
-            set
+            protected set
             {
                 _realHandle = value;
             }