/*
- * Copyright(c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright(c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* limitations under the License.
*
*/
+
+using System;
using System.ComponentModel;
namespace Tizen.NUI
/// Signal connection class for PropertyNotification
///</summary>
/// <since_tizen> 4 </since_tizen>
+ [Obsolete("Deprecated in API6, Will be removed in API9, " +
+ "Please use PropertyNotification.Notified event instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
public class PropertyNotifySignal : Disposable
{
/// <summary>
/// The constructor.
/// </summary>
/// <since_tizen> 4 </since_tizen>
+ [Obsolete("Deprecated in API6, Will be removed in API9, " +
+ "Please use PropertyNotification.Notified event instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
public PropertyNotifySignal() : this(Interop.PropertyNotifySignal.new_PropertyNotifySignal(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <returns>True if there are any slots connected to the signal.</returns>
/// <since_tizen> 4 </since_tizen>
+ [Obsolete("Deprecated in API6, Will be removed in API9, " +
+ "Please use PropertyNotification.Notified event instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
public bool Empty()
{
bool ret = Interop.PropertyNotifySignal.PropertyNotifySignal_Empty(swigCPtr);
/// </summary>
/// <returns>The number of slots connected to this signal</returns>
/// <since_tizen> 4 </since_tizen>
+ [Obsolete("Deprecated in API6, Will be removed in API9, " +
+ "Please use PropertyNotification.Notified event instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
public uint GetConnectionCount()
{
uint ret = Interop.PropertyNotifySignal.PropertyNotifySignal_GetConnectionCount(swigCPtr);
/// </summary>
/// <param name="func">The function to connect</param>
/// <since_tizen> 4 </since_tizen>
+ [Obsolete("Deprecated in API6, Will be removed in API9, " +
+ "Please use PropertyNotification.Notified event instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
public void Connect(System.Delegate func)
{
System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate<System.Delegate>(func);
/// </summary>
/// <param name="func">The function to disconnect.</param>
/// <since_tizen> 4 </since_tizen>
+ [Obsolete("Deprecated in API6, Will be removed in API9, " +
+ "Please use PropertyNotification.Notified event instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
public void Disconnect(System.Delegate func)
{
System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate<System.Delegate>(func);
/// </summary>
/// <param name="arg">The first value to pass to callbacks.</param>
/// <since_tizen> 4 </since_tizen>
+ [Obsolete("Deprecated in API6, Will be removed in API9, " +
+ "Please use PropertyNotification.Notified event instead!")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
public void Emit(PropertyNotification arg)
{
Interop.PropertyNotifySignal.PropertyNotifySignal_Emit(swigCPtr, PropertyNotification.getCPtr(arg));
/// </summary>
/// <param name="type">The dispose type.</param>
/// <since_tizen> 4 </since_tizen>
+ [EditorBrowsable(EditorBrowsableState.Never)]
protected override void Dispose(DisposeTypes type)
{
if (disposed)
base.Dispose(type);
}
}
-}
\ No newline at end of file
+}