Skip to content

Commit

Permalink
[NUI] Remove unused C# bindings anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Woochan Lee authored and lwc0917 committed Jan 10, 2025
1 parent eed52d2 commit 56a8e6e
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 242 deletions.
67 changes: 0 additions & 67 deletions src/Tizen.NUI/src/internal/Interop/Interop.NDalicAnchorPoint.cs

This file was deleted.

67 changes: 0 additions & 67 deletions src/Tizen.NUI/src/internal/Interop/Interop.NDalicParentOrigin.cs

This file was deleted.

This file was deleted.

18 changes: 0 additions & 18 deletions src/Tizen.NUI/src/internal/Interop/Interop.Vector2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,6 @@ internal static partial class Vector2
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_Vector2__SWIG_4")]
public static extern global::System.IntPtr NewVector2WithVector4(global::System.Runtime.InteropServices.HandleRef jarg1);

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector2_ONE_get")]
public static extern global::System.IntPtr OneGet();

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector2_XAXIS_get")]
public static extern global::System.IntPtr XaxisGet();

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector2_YAXIS_get")]
public static extern global::System.IntPtr YaxisGet();

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector2_NEGATIVE_XAXIS_get")]
public static extern global::System.IntPtr NegativeXaxisGet();

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector2_NEGATIVE_YAXIS_get")]
public static extern global::System.IntPtr NegativeYaxisGet();

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector2_ZERO_get")]
public static extern global::System.IntPtr ZeroGet();

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector2_Add")]
public static extern global::System.IntPtr Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

Expand Down
24 changes: 0 additions & 24 deletions src/Tizen.NUI/src/internal/Interop/Interop.Vector3.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,30 +36,6 @@ internal static partial class Vector3
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_Vector3__SWIG_4")]
public static extern global::System.IntPtr NewVector3WithVector4(global::System.Runtime.InteropServices.HandleRef jarg1);

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector3_ONE_get")]
public static extern global::System.IntPtr OneGet();

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector3_XAXIS_get")]
public static extern global::System.IntPtr XaxisGet();

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector3_YAXIS_get")]
public static extern global::System.IntPtr YaxisGet();

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector3_ZAXIS_get")]
public static extern global::System.IntPtr ZaxisGet();

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector3_NEGATIVE_XAXIS_get")]
public static extern global::System.IntPtr NegativeXaxisGet();

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector3_NEGATIVE_YAXIS_get")]
public static extern global::System.IntPtr NegativeYaxisGet();

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector3_NEGATIVE_ZAXIS_get")]
public static extern global::System.IntPtr NegativeZaxisGet();

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector3_ZERO_get")]
public static extern global::System.IntPtr ZeroGet();

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector3_Add")]
public static extern global::System.IntPtr Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

Expand Down
15 changes: 0 additions & 15 deletions src/Tizen.NUI/src/internal/Interop/Interop.Vector4.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,6 @@ internal static partial class Vector4
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_Vector4__SWIG_4")]
public static extern global::System.IntPtr NewVector4WithVector3(global::System.Runtime.InteropServices.HandleRef jarg1);

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector4_ONE_get")]
public static extern global::System.IntPtr OneGet();

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector4_XAXIS_get")]
public static extern global::System.IntPtr XaxisGet();

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector4_YAXIS_get")]
public static extern global::System.IntPtr YaxisGet();

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector4_ZAXIS_get")]
public static extern global::System.IntPtr ZaxisGet();

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector4_ZERO_get")]
public static extern global::System.IntPtr ZeroGet();

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector4_Add")]
public static extern global::System.IntPtr Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

Expand Down
12 changes: 2 additions & 10 deletions src/Tizen.NUI/src/public/Common/Size.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ namespace Tizen.NUI
[Tizen.NUI.Binding.TypeConverter(typeof(SizeTypeConverter))]
public class Size : Disposable, ICloneable
{
private static readonly Vector3 zero = new Vector3(0.0f, 0.0f, 0.0f);

/// <summary>
/// The constructor.
Expand Down Expand Up @@ -80,16 +81,7 @@ public Size(Size2D size2d) : this(Interop.Vector3.NewVector3WithVector2(Size2D.g
/// The Zero constant, (0.0f, 0.0f, 0.0f).
/// </summary>
/// <since_tizen> 5 </since_tizen>
public static Size Zero
{
get
{
global::System.IntPtr cPtr = Interop.Vector3.ZeroGet();
Size ret = (cPtr == global::System.IntPtr.Zero) ? null : new Size(cPtr, false);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
}
public static Size Zero => zero;

/// <summary>
/// The Width property for the width component of size
Expand Down

0 comments on commit 56a8e6e

Please sign in to comment.