2 * Copyright(c) 2021 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 using System.Diagnostics;
25 using global::System.ComponentModel;
26 using global::System.Runtime.InteropServices;
27 using Tizen.NUI.BaseComponents;
29 [EditorBrowsable(EditorBrowsableState.Never)]
30 public class StringToVoidSignal : Disposable
32 [EditorBrowsable(EditorBrowsableState.Never)]
33 internal StringToVoidSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn)
37 [EditorBrowsable(EditorBrowsableState.Never)]
38 static internal string ConvertParam1(global::System.IntPtr data) {
39 string result = Interop.StringToVoidSignal.ConvertParam1(data);
40 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
44 [EditorBrowsable(EditorBrowsableState.Never)]
45 protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
47 Interop.StringToVoidSignal.Delete(swigCPtr);
50 [EditorBrowsable(EditorBrowsableState.Never)]
51 public StringToVoidSignal() : this(Interop.StringToVoidSignal.New(), true)
53 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
56 [EditorBrowsable(EditorBrowsableState.Never)]
59 bool ret = Interop.StringToVoidSignal.Empty(SwigCPtr);
60 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
64 [EditorBrowsable(EditorBrowsableState.Never)]
65 public uint GetConnectionCount()
67 uint ret = Interop.StringToVoidSignal.GetConnectionCount(SwigCPtr);
68 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
72 [EditorBrowsable(EditorBrowsableState.Never)]
73 public void Connect(System.Delegate func)
75 System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate<System.Delegate>(func);
77 Interop.StringToVoidSignal.Connect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
78 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
82 [EditorBrowsable(EditorBrowsableState.Never)]
83 public void Disconnect(System.Delegate func)
85 System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate<System.Delegate>(func);
87 Interop.StringToVoidSignal.Disconnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
88 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
92 [EditorBrowsable(EditorBrowsableState.Never)]
95 Interop.StringToVoidSignal.Emit(SwigCPtr);
96 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();