From: pius.lee Date: Tue, 13 Jun 2017 02:10:59 +0000 (+0900) Subject: Change RealHandle, Handle, Parent Access modifier X-Git-Tag: submit/trunk/20170823.075128~110^2~58^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c4c2c0559011c47a75d169d2c6952a4d93ca673;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Change RealHandle, Handle, Parent Access modifier 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 --- diff --git a/src/ElmSharp/ElmSharp/EvasObject.cs b/src/ElmSharp/ElmSharp/EvasObject.cs index a927914..00a8471 100644 --- a/src/ElmSharp/ElmSharp/EvasObject.cs +++ b/src/ElmSharp/ElmSharp/EvasObject.cs @@ -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; }