summaryrefslogtreecommitdiff
path: root/src/notifications/notifications.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2023-02-28 20:23:34 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2023-02-28 20:23:34 -0500
commite212b364b969b7918fbe9152dc4b7c04da303d12 (patch)
tree43a7ae7462cf5af50b3ef612bba57dd4ce14dce1 /src/notifications/notifications.hpp
parentba9d9997d4c4c4e9228632a962d6f0d3b1f35a6e (diff)
downloadabaddon-portaudio-e212b364b969b7918fbe9152dc4b7c04da303d12.tar.gz
abaddon-portaudio-e212b364b969b7918fbe9152dc4b7c04da303d12.zip
rudimentary dm notifications
Diffstat (limited to 'src/notifications/notifications.hpp')
-rw-r--r--src/notifications/notifications.hpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/notifications/notifications.hpp b/src/notifications/notifications.hpp
new file mode 100644
index 0000000..fb71349
--- /dev/null
+++ b/src/notifications/notifications.hpp
@@ -0,0 +1,18 @@
+#pragma once
+#include "notifier.hpp"
+
+class Message;
+
+class Notifications {
+public:
+ Notifications();
+
+ void CheckMessage(const Message &message);
+
+private:
+ void NotifyMessage(const Message &message);
+
+ [[nodiscard]] bool IsDND() const;
+
+ Notifier m_notifier;
+};