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()