From d1b54f7028b76c4ca3f869fdda3e8d6245c61bcc Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Fri, 15 May 2015 12:53:32 +0200 Subject: [PATCH] try to fix mac backend --- .../backends/osxnotificationcenter/osxnotificationcenter.h | 4 ++-- .../backends/osxnotificationcenter/osxnotificationcenter.mm | 4 ++-- src/plugins/frontends/CMakeLists.txt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/plugins/backends/osxnotificationcenter/osxnotificationcenter.h b/src/plugins/backends/osxnotificationcenter/osxnotificationcenter.h index 2d8d627..f98442d 100644 --- a/src/plugins/backends/osxnotificationcenter/osxnotificationcenter.h +++ b/src/plugins/backends/osxnotificationcenter/osxnotificationcenter.h @@ -30,10 +30,10 @@ class OSXNotificationCenter : public Snore::SnoreBackend public: OSXNotificationCenter(); ~OSXNotificationCenter(); - virtual bool initialize(Snore::SnoreCore *snore); + virtual bool initialize() override; public slots: - virtual void slotNotify(Snore::Notification notification); + virtual void slotNotify(Snore::Notification notification) override; }; #endif // OSXNOTIFICATIONCENTER_H diff --git a/src/plugins/backends/osxnotificationcenter/osxnotificationcenter.mm b/src/plugins/backends/osxnotificationcenter/osxnotificationcenter.mm index 4d74e5f..95129a2 100644 --- a/src/plugins/backends/osxnotificationcenter/osxnotificationcenter.mm +++ b/src/plugins/backends/osxnotificationcenter/osxnotificationcenter.mm @@ -27,11 +27,11 @@ OSXNotificationCenter::~OSXNotificationCenter() { } -bool OSXNotificationCenter::initialize(SnoreCore *snore) +bool OSXNotificationCenter::initialize() { notification_center = [NSUserNotificationCenter defaultUserNotificationCenter]; - return SnoreBackend::initialize(snore); + return SnoreBackend::initialize(); } void OSXNotificationCenter::slotNotify(Snore::Notification notification) diff --git a/src/plugins/frontends/CMakeLists.txt b/src/plugins/frontends/CMakeLists.txt index 9d9c4a4..e49df42 100644 --- a/src/plugins/frontends/CMakeLists.txt +++ b/src/plugins/frontends/CMakeLists.txt @@ -1,5 +1,5 @@ if(WITH_FRONTENDS) add_subdirectory(freedesktop) add_subdirectory(snarlnetwork) - add_subdirectory(snp3) + #add_subdirectory(snp3) endif()