try to fix mac backend
This commit is contained in:
parent
2f58f1163e
commit
d1b54f7028
|
@ -30,10 +30,10 @@ class OSXNotificationCenter : public Snore::SnoreBackend
|
||||||
public:
|
public:
|
||||||
OSXNotificationCenter();
|
OSXNotificationCenter();
|
||||||
~OSXNotificationCenter();
|
~OSXNotificationCenter();
|
||||||
virtual bool initialize(Snore::SnoreCore *snore);
|
virtual bool initialize() override;
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
virtual void slotNotify(Snore::Notification notification);
|
virtual void slotNotify(Snore::Notification notification) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // OSXNOTIFICATIONCENTER_H
|
#endif // OSXNOTIFICATIONCENTER_H
|
||||||
|
|
|
@ -27,11 +27,11 @@ OSXNotificationCenter::~OSXNotificationCenter()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
bool OSXNotificationCenter::initialize(SnoreCore *snore)
|
bool OSXNotificationCenter::initialize()
|
||||||
{
|
{
|
||||||
notification_center = [NSUserNotificationCenter defaultUserNotificationCenter];
|
notification_center = [NSUserNotificationCenter defaultUserNotificationCenter];
|
||||||
|
|
||||||
return SnoreBackend::initialize(snore);
|
return SnoreBackend::initialize();
|
||||||
}
|
}
|
||||||
|
|
||||||
void OSXNotificationCenter::slotNotify(Snore::Notification notification)
|
void OSXNotificationCenter::slotNotify(Snore::Notification notification)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
if(WITH_FRONTENDS)
|
if(WITH_FRONTENDS)
|
||||||
add_subdirectory(freedesktop)
|
add_subdirectory(freedesktop)
|
||||||
add_subdirectory(snarlnetwork)
|
add_subdirectory(snarlnetwork)
|
||||||
add_subdirectory(snp3)
|
#add_subdirectory(snp3)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue