1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-30 11:42:04 +00:00
mpv/osdep/mac
der richter 2c7e4f5935 mac/app: use new open url App event to simplify open file event handling
this event has several advantages, it unifies the mpv:// url handling,
the dropping of files on the App icon and opening via finder into one
event, and it also lets us remove the file open workaround.

we had to keep track of opened files via the command line because the
event was also triggered by passed files on the command line, leading
to redundant load events.

the new event doesn't trigger from files passed via the command line
anymore.
2024-04-01 22:13:39 +02:00
..
app_bridge_objc.h mac/app: rewrite App c main function, startup and termination in swift 2024-04-01 22:13:39 +02:00
app_bridge.h mac/app: rewrite App c main function, startup and termination in swift 2024-04-01 22:13:39 +02:00
app_bridge.m mac/app: rewrite App c main function, startup and termination in swift 2024-04-01 22:13:39 +02:00
app_hub.swift mac/log: fallback to system logger if no mp_log is yet available 2024-04-01 22:13:39 +02:00
application.swift mac/app: use new open url App event to simplify open file event handling 2024-04-01 22:13:39 +02:00
event_helper.swift mac: cleanup swift bridge header imports and unify them 2024-03-29 14:20:40 +01:00
input_helper.swift mac: cleanup swift bridge header imports and unify them 2024-03-29 14:20:40 +01:00
libmpv_helper.swift mac/log: rename log functions and cleanup class 2024-03-29 14:20:40 +01:00
log_helper.swift mac/log: fallback to system logger if no mp_log is yet available 2024-04-01 22:13:39 +02:00
menu_bar.swift mac: cleanup swift bridge header imports and unify them 2024-03-29 14:20:40 +01:00
meson.build mac: cleanup swift bridge header imports and unify them 2024-03-29 14:20:40 +01:00
option_helper.swift mac: remove now unnecessary objective-c forwarding 2024-03-29 14:20:40 +01:00
precise_timer.swift mac/log: rename log functions and cleanup class 2024-03-29 14:20:40 +01:00
remote_command_center.swift mac: cleanup swift bridge header imports and unify them 2024-03-29 14:20:40 +01:00
swift_compat.swift
swift_extensions.swift mac/event: add helper to subscribe to mpv events and property changes 2024-03-24 23:03:48 +01:00
touch_bar.swift mac: cleanup swift bridge header imports and unify them 2024-03-29 14:20:40 +01:00
type_helper.swift