add null implementation for non-gio notifier
This commit is contained in:
@@ -68,6 +68,8 @@ endif ()
|
||||
|
||||
if (NOT WIN32)
|
||||
target_sources(abaddon PRIVATE src/notifications/notifier_gio.cpp)
|
||||
else ()
|
||||
target_sources(abaddon PRIVATE src/notifications/notifier_null.cpp)
|
||||
endif ()
|
||||
|
||||
if (IXWebSocket_LIBRARIES)
|
||||
|
5
src/notifications/notifier_null.cpp
Normal file
5
src/notifications/notifier_null.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
#include "notifier.hpp"
|
||||
|
||||
Notifier::Notifier() {}
|
||||
|
||||
void Notifier::Notify(const Glib::ustring &title, const Glib::ustring &text, const Glib::ustring &default_action) {}
|
Reference in New Issue
Block a user