* Add SetResult function.
* Rename function ConvertParam1 to GetResult.
* Remove Emit function. This should be used only by bridge.
}
[EditorBrowsable(EditorBrowsableState.Never)]
- static internal string ConvertParam1(global::System.IntPtr data)
+ static internal string GetResult(global::System.IntPtr data)
{
- string result = Interop.StringToVoidSignal.ConvertParam1(data);
+ string result = Interop.StringToVoidSignal.GetResult(data);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return result;
}
[EditorBrowsable(EditorBrowsableState.Never)]
+ static internal void SetResult(global::System.IntPtr data, string res)
+ {
+ Interop.StringToVoidSignal.SetResult(data, res);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
{
Interop.StringToVoidSignal.Delete(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
-
- [EditorBrowsable(EditorBrowsableState.Never)]
- public void Emit()
- {
- Interop.StringToVoidSignal.Emit(SwigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
}
}
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Signal_StringToVoid_Disconnect")]
public static extern void Disconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Signal_StringToVoid_Emit")]
- public static extern void Emit(global::System.Runtime.InteropServices.HandleRef jarg1);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Signal_StringToVoid_GetResult")]
+ public static extern string GetResult(global::System.IntPtr jarg1);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Signal_StringToVoid_Convert_Param1")]
- public static extern string ConvertParam1(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Signal_StringToVoid_SetResult")]
+ public static extern void SetResult(global::System.IntPtr jarg1, string jarg2);
}
}
}
[EditorBrowsable(EditorBrowsableState.Never)]
public class GetDescriptionEventArgs : EventArgs
{
- public string Description { get; internal set; }
+ public string Description { get; set; }
}
[EditorBrowsable(EditorBrowsableState.Never)]
public class GetNameEventArgs : EventArgs
{
- public string Description { get; internal set; }
+ public string Name { get; set; }
}
/// <summary>
return;
var arg = new GetDescriptionEventArgs();
- arg.Description = StringToVoidSignal.ConvertParam1(data);
+ arg.Description = StringToVoidSignal.GetResult(data);
getDescriptionHandler?.Invoke(this, arg);
+
+ StringToVoidSignal.SetResult(data, arg.Description);
}
// This uses GetDescription signal from C++ API.
return;
var arg = new GetNameEventArgs();
- arg.Description = StringToVoidSignal.ConvertParam1(data);
+ arg.Name = StringToVoidSignal.GetResult(data);
getNameHandler?.Invoke(this, arg);
+
+ StringToVoidSignal.SetResult(data, arg.Name);
}
// This uses GetName signal from C++ API.