From 44649fd950477630d4024536d5d9681b814dfc1f Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sun, 11 Aug 2019 21:06:25 +0200 Subject: [PATCH] Remove remaining references to SPMediaKeyTap --- 3rdparty/README.md | 7 ------- debian/copyright | 5 ----- src/core/mac_delegate.h | 3 --- 3 files changed, 15 deletions(-) diff --git a/3rdparty/README.md b/3rdparty/README.md index 59dd1629..076f2312 100644 --- a/3rdparty/README.md +++ b/3rdparty/README.md @@ -40,10 +40,3 @@ utf8-cpp This is 2 header files used by taglib, but kept in a seperate directory because it is maintained by others. URL: http://utfcpp.sourceforge.net/ - - -SPMediaKeyTap -------------- - -This is used for macOS only to enable strawberry to grab global shortcuts and can safely be deleted on other -platforms. diff --git a/debian/copyright b/debian/copyright index 0c18b14c..be6f1813 100644 --- a/debian/copyright +++ b/debian/copyright @@ -300,11 +300,6 @@ Files: src/widgets/qsearchfield_nonmac.cpp Copyright: 2011, Mike McQuaid License: Expat -Files: 3rdparty/SPMediaKeyTap/* -Copyright: 2010, Spotify AB - 2011, Joachim Bengtsson -License: BSD-3-clause - Files: 3rdparty/singleapplication/* Copyright: 2015-2018, Itay Grudev License: MIT diff --git a/src/core/mac_delegate.h b/src/core/mac_delegate.h index fe0c62fe..3dacec0b 100644 --- a/src/core/mac_delegate.h +++ b/src/core/mac_delegate.h @@ -4,13 +4,11 @@ #include "globalshortcuts/globalshortcutbackend-macos.h" class PlatformInterface; -@class SPMediaKeyTap; @interface AppDelegate : NSObject { PlatformInterface* application_handler_; NSMenu* dock_menu_; GlobalShortcutBackendMacOS* shortcut_handler_; - SPMediaKeyTap* key_tap_; } @@ -29,5 +27,4 @@ class PlatformInterface; - (void) setDockMenu: (NSMenu*)menu; - (GlobalShortcutBackendMacOS*) shortcut_handler; - (void) setShortcutHandler: (GlobalShortcutBackendMacOS*)backend; -- (void) mediaKeyTap: (SPMediaKeyTap*)keyTap receivedMediaKeyEvent:(NSEvent*)event; @end