summaryrefslogtreecommitdiff
path: root/src/notifications
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2024-01-18 20:30:54 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2024-01-18 20:30:54 -0500
commit30b901b4df7344021ca79af4bccf95f6e799a37c (patch)
tree3ba99b2522ebac48e3e958c15ed0a31376169117 /src/notifications
parenteb09a5b2211ebfb37aff218250bc7e4aaffee5d0 (diff)
downloadabaddon-portaudio-30b901b4df7344021ca79af4bccf95f6e799a37c.tar.gz
abaddon-portaudio-30b901b4df7344021ca79af4bccf95f6e799a37c.zip
add a bajillion headers back in to compile if pch is off
Diffstat (limited to 'src/notifications')
-rw-r--r--src/notifications/notifications.cpp4
-rw-r--r--src/notifications/notifications.hpp5
-rw-r--r--src/notifications/notifier_fallback.cpp2
-rw-r--r--src/notifications/notifier_gio.cpp3
4 files changed, 12 insertions, 2 deletions
diff --git a/src/notifications/notifications.cpp b/src/notifications/notifications.cpp
index e95c1c0..1ab52a9 100644
--- a/src/notifications/notifications.cpp
+++ b/src/notifications/notifications.cpp
@@ -1,6 +1,8 @@
#include "notifications.hpp"
-#include "misc/chatutil.hpp"
+
+#include "abaddon.hpp"
#include "discord/message.hpp"
+#include "misc/chatutil.hpp"
Notifications::Notifications() {
}
diff --git a/src/notifications/notifications.hpp b/src/notifications/notifications.hpp
index b4ea584..8de2c6e 100644
--- a/src/notifications/notifications.hpp
+++ b/src/notifications/notifications.hpp
@@ -1,8 +1,11 @@
#pragma once
-#include "notifier.hpp"
+
#include <map>
#include <vector>
+#include "discord/snowflake.hpp"
+#include "notifier.hpp"
+
class Message;
class Notifications {
diff --git a/src/notifications/notifier_fallback.cpp b/src/notifications/notifier_fallback.cpp
index 00e9d4a..8478fc7 100644
--- a/src/notifications/notifier_fallback.cpp
+++ b/src/notifications/notifier_fallback.cpp
@@ -1,5 +1,7 @@
#include "notifier.hpp"
+#include "abaddon.hpp"
+
/* no actual notifications, just sounds
GNotification has no win32 backend, and WinToast uses headers msys2 doesnt provide
maybe it can be LoadLibrary'd in :s
diff --git a/src/notifications/notifier_gio.cpp b/src/notifications/notifier_gio.cpp
index 128167f..2708407 100644
--- a/src/notifications/notifier_gio.cpp
+++ b/src/notifications/notifier_gio.cpp
@@ -1,6 +1,9 @@
#include "notifier.hpp"
+
#include <giomm/notification.h>
+#include "abaddon.hpp"
+
Notifier::Notifier() {
#ifdef ENABLE_NOTIFICATION_SOUNDS
if (ma_engine_init(nullptr, &m_engine) != MA_SUCCESS) {