summaryrefslogtreecommitdiffstats
path: root/osdep/mac/application.m
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2024-03-26 21:30:46 +0100
committerder richter <der.richter@gmx.de>2024-03-29 14:20:40 +0100
commit6debb22a0cde5231ebed6df5013d426991f87a27 (patch)
treea89e6bae73b6d8048daffddb0c51b43745c8400e /osdep/mac/application.m
parent1bc680d32a1ac1de6b1a47361f18a3733b9ffbda (diff)
downloadmpv-6debb22a0cde5231ebed6df5013d426991f87a27.tar.bz2
mpv-6debb22a0cde5231ebed6df5013d426991f87a27.tar.xz
mac/apphub: move cocoa-cb into AppHub
Diffstat (limited to 'osdep/mac/application.m')
-rw-r--r--osdep/mac/application.m11
1 files changed, 0 insertions, 11 deletions
diff --git a/osdep/mac/application.m b/osdep/mac/application.m
index 0f506b91ce..753b9bcfa4 100644
--- a/osdep/mac/application.m
+++ b/osdep/mac/application.m
@@ -59,7 +59,6 @@ static void terminate_cocoa_application(void)
@implementation Application
@synthesize openCount = _open_count;
-@synthesize cocoaCB = _cocoa_cb;
- (void)sendEvent:(NSEvent *)event
{
@@ -100,16 +99,6 @@ static void terminate_cocoa_application(void)
}
#endif
-- (void)initCocoaCb:(struct mpv_handle *)ctx
-{
-#if HAVE_MACOS_COCOA_CB
- if (!_cocoa_cb) {
- mpv_handle *mpv = mpv_create_client(ctx, "cocoacb");
- [NSApp setCocoaCB:[[CocoaCB alloc] init:mpv]];
- }
-#endif
-}
-
- (void)applicationWillFinishLaunching:(NSNotification *)notification
{
NSAppleEventManager *em = [NSAppleEventManager sharedAppleEventManager];