diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-03-06 20:45:10 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-03-06 20:45:19 -0500 |
commit | fbbfdc9606b9105a5559147c70a0bb0a8a7b1039 (patch) | |
tree | 038c4434da5e3b8488a5ad165d88eef6ae4e91fa /src/notifications/notifier.hpp | |
parent | 64085fafec86b347c26bb92b758042a0bd4edc75 (diff) | |
download | abaddon-portaudio-fbbfdc9606b9105a5559147c70a0bb0a8a7b1039.tar.gz abaddon-portaudio-fbbfdc9606b9105a5559147c70a0bb0a8a7b1039.zip |
notification sounds with miniaudio
Diffstat (limited to 'src/notifications/notifier.hpp')
-rw-r--r-- | src/notifications/notifier.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/notifications/notifier.hpp b/src/notifications/notifier.hpp index 48e881f..9007dc8 100644 --- a/src/notifications/notifier.hpp +++ b/src/notifications/notifier.hpp @@ -2,9 +2,19 @@ #include <glibmm/ustring.h> #include <gdkmm/pixbuf.h> +#ifdef WITH_MINIAUDIO +#include <miniaudio.h> +#endif + class Notifier { public: Notifier(); + ~Notifier(); void Notify(const Glib::ustring &title, const Glib::ustring &text, const Glib::ustring &default_action); + +private: +#ifdef WITH_MINIAUDIO + ma_engine m_engine; +#endif }; |