add null implementation for non-gio notifier

This commit is contained in:
ouwou
2023-02-28 23:04:40 -05:00
parent e212b364b9
commit ca5f343ac1
2 changed files with 7 additions and 0 deletions

View File

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

View 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) {}