[NUI] Refactor Signal structure.
authorJiyun Yang <ji.yang@samsung.com>
Thu, 30 Mar 2023 04:26:07 +0000 (13:26 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Fri, 31 Mar 2023 03:57:58 +0000 (12:57 +0900)
commit9f92bac536355ae975778f80d68a83dbea34ea35
tree668c803990bfaa85f8eb39b433459a5925205765
parent496485ccc5e0ce87081513faaa9c3791dbdce734
[NUI] Refactor Signal structure.

Previously, When NUI wanted to connect or disconnect a handler to the Signal,
it had to create a Signal instance just for it and dispose the instance right after.
Repeating this over and over again isn't cheap.
And also NUI had to declare many Signal classes with almost idential structures.

This patch provides Signal connection/disconnection pinvoke functions
to make it possible to remove redundant signal classes and instance creations.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
31 files changed:
src/Tizen.NUI/src/internal/Common/ControlKeySignal.cs [deleted file]
src/Tizen.NUI/src/internal/Common/HoverSignal.cs [deleted file]
src/Tizen.NUI/src/internal/Common/InterceptTouchSignal.cs [deleted file]
src/Tizen.NUI/src/internal/Common/KeyInputFocusSignal.cs [deleted file]
src/Tizen.NUI/src/internal/Common/TouchDataSignal.cs [deleted file]
src/Tizen.NUI/src/internal/Common/TouchSignal.cs [deleted file]
src/Tizen.NUI/src/internal/Common/ViewImpl.cs
src/Tizen.NUI/src/internal/Common/ViewSignal.cs [deleted file]
src/Tizen.NUI/src/internal/Common/WheelSignal.cs [deleted file]
src/Tizen.NUI/src/internal/Interop/Interop.AccessibilityManager.cs
src/Tizen.NUI/src/internal/Interop/Interop.ActorHoverSignal.cs [deleted file]
src/Tizen.NUI/src/internal/Interop/Interop.ActorSignal.cs
src/Tizen.NUI/src/internal/Interop/Interop.ActorTouchDataSignal.cs [deleted file]
src/Tizen.NUI/src/internal/Interop/Interop.ActorWheelSignal.cs [deleted file]
src/Tizen.NUI/src/internal/Interop/Interop.ControlKeySignal.cs [deleted file]
src/Tizen.NUI/src/internal/Interop/Interop.FocusManager.cs
src/Tizen.NUI/src/internal/Interop/Interop.GLWindow.cs
src/Tizen.NUI/src/internal/Interop/Interop.KeyInputFocusManager.cs
src/Tizen.NUI/src/internal/Interop/Interop.NDalic.cs
src/Tizen.NUI/src/internal/Interop/Interop.TouchSignal.cs [deleted file]
src/Tizen.NUI/src/internal/Interop/Interop.ViewSignal.cs
src/Tizen.NUI/src/internal/Interop/NDalicPINVOKE.cs
src/Tizen.NUI/src/internal/Layouting/Interop/Interop.Layout.cs
src/Tizen.NUI/src/public/Accessibility/AccessibilityManager.cs
src/Tizen.NUI/src/public/Accessibility/AccessibilityManagerEvent.cs
src/Tizen.NUI/src/public/BaseComponents/ViewEvent.cs
src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs
src/Tizen.NUI/src/public/BaseComponents/ViewPublicMethods.cs
src/Tizen.NUI/src/public/Input/FocusManager.cs
src/Tizen.NUI/src/public/Window/GLWindowEvent.cs
src/Tizen.NUI/src/public/Window/WindowEvent.cs