Remove remaining references to SPMediaKeyTap

This commit is contained in:
Jonas Kvinge 2019-08-11 21:06:25 +02:00
parent 0e97f99f93
commit 44649fd950
3 changed files with 0 additions and 15 deletions

7
3rdparty/README.md vendored
View File

@ -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. 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/ 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.

5
debian/copyright vendored
View File

@ -300,11 +300,6 @@ Files: src/widgets/qsearchfield_nonmac.cpp
Copyright: 2011, Mike McQuaid <mike@mikemcquaid.com> Copyright: 2011, Mike McQuaid <mike@mikemcquaid.com>
License: Expat License: Expat
Files: 3rdparty/SPMediaKeyTap/*
Copyright: 2010, Spotify AB
2011, Joachim Bengtsson
License: BSD-3-clause
Files: 3rdparty/singleapplication/* Files: 3rdparty/singleapplication/*
Copyright: 2015-2018, Itay Grudev Copyright: 2015-2018, Itay Grudev
License: MIT License: MIT

View File

@ -4,13 +4,11 @@
#include "globalshortcuts/globalshortcutbackend-macos.h" #include "globalshortcuts/globalshortcutbackend-macos.h"
class PlatformInterface; class PlatformInterface;
@class SPMediaKeyTap;
@interface AppDelegate : NSObject<NSApplicationDelegate, NSUserNotificationCenterDelegate> { @interface AppDelegate : NSObject<NSApplicationDelegate, NSUserNotificationCenterDelegate> {
PlatformInterface* application_handler_; PlatformInterface* application_handler_;
NSMenu* dock_menu_; NSMenu* dock_menu_;
GlobalShortcutBackendMacOS* shortcut_handler_; GlobalShortcutBackendMacOS* shortcut_handler_;
SPMediaKeyTap* key_tap_;
} }
@ -29,5 +27,4 @@ class PlatformInterface;
- (void) setDockMenu: (NSMenu*)menu; - (void) setDockMenu: (NSMenu*)menu;
- (GlobalShortcutBackendMacOS*) shortcut_handler; - (GlobalShortcutBackendMacOS*) shortcut_handler;
- (void) setShortcutHandler: (GlobalShortcutBackendMacOS*)backend; - (void) setShortcutHandler: (GlobalShortcutBackendMacOS*)backend;
- (void) mediaKeyTap: (SPMediaKeyTap*)keyTap receivedMediaKeyEvent:(NSEvent*)event;
@end @end