Changed internal property to public-api and added public-api 94/156194/1
authorxb.teng <xb.teng@samsung.com>
Tue, 17 Oct 2017 11:30:13 +0000 (19:30 +0800)
committerxb.teng <xb.teng@samsung.com>
Tue, 17 Oct 2017 11:30:16 +0000 (19:30 +0800)
- TerminateWidget()
- RETRY_TEXT, EFFECT

Change-Id: I84792afb38f2f87057c2a29ec77cb7644a931b40

Tizen.NUI/src/internal/ManualPINVOKE.cs
Tizen.NUI/src/public/WidgetView.cs

index 28d7154..3338a21 100755 (executable)
@@ -836,6 +836,12 @@ namespace Tizen.NUI
         [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_WidgetView_Property_PERMANENT_DELETE_get")]
         public static extern int WidgetView_Property_PERMANENT_DELETE_get();
 
+        [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_WidgetView_Property_RETRY_TEXT_get")]
+        public static extern int WidgetView_Property_RETRY_TEXT_get();
+
+        [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_WidgetView_Property_EFFECT_get")]
+        public static extern int WidgetView_Property_EFFECT_get();
+
         [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_new_WidgetView_Property")]
         public static extern global::System.IntPtr new_WidgetView_Property();
 
@@ -872,6 +878,9 @@ namespace Tizen.NUI
         [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_WidgetView_ActivateFaultedWidget")]
         public static extern void WidgetView_ActivateFaultedWidget(global::System.Runtime.InteropServices.HandleRef jarg1);
 
+        [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_WidgetView_TerminateWidget")]
+        public static extern bool WidgetView_TerminateWidget(global::System.Runtime.InteropServices.HandleRef jarg1);
+
         [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_WidgetView_WidgetAddedSignal")]
         public static extern global::System.IntPtr WidgetView_WidgetAddedSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
 
index 26c716f..73e22e6 100755 (executable)
@@ -92,6 +92,8 @@ namespace Tizen.NUI
             internal static readonly int LOADING_TEXT = NDalicManualPINVOKE.WidgetView_Property_LOADING_TEXT_get();
             internal static readonly int WIDGET_STATE_FAULTED = NDalicManualPINVOKE.WidgetView_Property_WIDGET_STATE_FAULTED_get();
             internal static readonly int PERMANENT_DELETE = NDalicManualPINVOKE.WidgetView_Property_PERMANENT_DELETE_get();
+            internal static readonly int RETRY_TEXT = NDalicManualPINVOKE.WidgetView_Property_RETRY_TEXT_get();
+            internal static readonly int EFFECT = NDalicManualPINVOKE.WidgetView_Property_EFFECT_get();
         }
 
         /// <summary>
@@ -491,6 +493,17 @@ namespace Tizen.NUI
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
+        /// <summary>
+        /// Terminate a widget instance.
+        /// </summary>
+        /// <returns>True on success, false otherwise</returns>
+        public bool TerminateWidget()
+        {
+            bool ret = NDalicManualPINVOKE.WidgetView_TerminateWidget(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
         internal WidgetViewSignal WidgetAddedSignal()
         {
             WidgetViewSignal ret = new WidgetViewSignal(NDalicManualPINVOKE.WidgetView_WidgetAddedSignal(swigCPtr), false);
@@ -666,6 +679,40 @@ namespace Tizen.NUI
             }
         }
 
+        /// <summary>
+        /// Gets or sets retry text.
+        /// </summary>
+        public PropertyMap RetryText
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(WidgetView.Property.RETRY_TEXT).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(WidgetView.Property.RETRY_TEXT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets or sets effect.
+        /// </summary>
+        public PropertyMap Effect
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(WidgetView.Property.EFFECT).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(WidgetView.Property.EFFECT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
     }
 
 }