[macOS] remove Growl support, remove unused code

This commit is contained in:
Jonas Schnelli
2017-09-07 10:11:44 -07:00
parent a3624ddb1a
commit f151f5f50f
4 changed files with 2 additions and 88 deletions
+2 -5
View File
@@ -7,20 +7,17 @@
#include <QObject>
/** Macintosh-specific notification handler (supports UserNotificationCenter and Growl).
/** Macintosh-specific notification handler (supports UserNotificationCenter).
*/
class MacNotificationHandler : public QObject
{
Q_OBJECT
public:
/** shows a 10.8+ UserNotification in the UserNotificationCenter
/** shows a macOS 10.8+ UserNotification in the UserNotificationCenter
*/
void showNotification(const QString &title, const QString &text);
/** executes AppleScript */
void sendAppleScript(const QString &script);
/** check if OS can handle UserNotifications */
bool hasUserNotificationCenterSupport(void);
static MacNotificationHandler *instance();