Skip to content

Commit

Permalink
[NUI] Remove the legacy AccessibilityActivate code (#6223)
Browse files Browse the repository at this point in the history
- `CSharp_Dali_ViewImpl_AccessibilityActivate` was removed in 2018 lol
 However, at that time, NUI codes couldn't be removed together (Not sure)

- The reason `ViewImpl_AccessibilityActivate` was removed is
   `Remove functions which using internal apis

    Some binding functions use internal apis.
    It caused error when dlopen csharp binder.`

- User can use Activated event with `View.AccessibilityActivated`

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
  • Loading branch information
Seoyeon2Kim authored and JoogabYun committed Jul 23, 2024
1 parent a750315 commit f041fbf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
12 changes: 0 additions & 12 deletions src/Tizen.NUI/src/internal/Common/ViewImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,18 +178,6 @@ public bool IsFocusGroup()
return ret;
}

/// <summary>
/// [Obsolete("Do not use this, that will be deprecated.")]
/// </summary>
/// Do not use this, that will be deprecated.
[Obsolete("Do not use this, that will be deprecated.")]
[EditorBrowsable(EditorBrowsableState.Never)]
public void AccessibilityActivate()
{
Interop.ViewImpl.AccessibilityActivate(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}

/// <summary>
/// [Obsolete("Do not use this, that will be deprecated.")]
/// </summary>
Expand Down
3 changes: 0 additions & 3 deletions src/Tizen.NUI/src/internal/Interop/Interop.ViewImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,6 @@ internal static partial class ViewImpl
[return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)]
public static extern bool IsKeyboardFocusGroup(global::System.Runtime.InteropServices.HandleRef jarg1);

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ViewImpl_AccessibilityActivate")]
public static extern void AccessibilityActivate(global::System.Runtime.InteropServices.HandleRef jarg1);

[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ViewImpl_KeyboardEnter")]
public static extern void KeyboardEnter(global::System.Runtime.InteropServices.HandleRef jarg1);

Expand Down

0 comments on commit f041fbf

Please sign in to comment.