From 30b901b4df7344021ca79af4bccf95f6e799a37c Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Thu, 18 Jan 2024 20:30:54 -0500 Subject: add a bajillion headers back in to compile if pch is off --- src/notifications/notifications.cpp | 4 +++- src/notifications/notifications.hpp | 5 ++++- src/notifications/notifier_fallback.cpp | 2 ++ src/notifications/notifier_gio.cpp | 3 +++ 4 files changed, 12 insertions(+), 2 deletions(-) (limited to 'src/notifications') 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 #include +#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 +#include "abaddon.hpp" + Notifier::Notifier() { #ifdef ENABLE_NOTIFICATION_SOUNDS if (ma_engine_init(nullptr, &m_engine) != MA_SUCCESS) { -- cgit v1.2.3