internal void DetachEvent(VLCLibrary.VlcEventType type, VLCLibrary.EventCallbackDelegate callback, IntPtr userdata) { VLCLibrary.Instance.event_detach(VlcEventManager.Handle, (uint)type, callback, userdata, string.Empty); _AttachedEvents.Remove(type); }
internal void AttachEvent(VLCLibrary.VlcEventType type, VLCLibrary.EventCallbackDelegate callback, IntPtr userdata) { VLCLibrary.Instance.event_attach(VlcEventManager.Handle, (uint)type, callback, userdata, null); _AttachedEvents.Add(type); }