summaryrefslogtreecommitdiff
path: root/src/abaddon.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/abaddon.hpp
parentba9d9997d4c4c4e9228632a962d6f0d3b1f35a6e (diff)
downloadabaddon-portaudio-e212b364b969b7918fbe9152dc4b7c04da303d12.tar.gz
abaddon-portaudio-e212b364b969b7918fbe9152dc4b7c04da303d12.zip
rudimentary dm notifications
Diffstat (limited to 'src/abaddon.hpp')
-rw-r--r--src/abaddon.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/abaddon.hpp b/src/abaddon.hpp
index 8b14699..56f5e04 100644
--- a/src/abaddon.hpp
+++ b/src/abaddon.hpp
@@ -3,11 +3,15 @@
#include <mutex>
#include <string>
#include <unordered_set>
+#include <gtkmm/application.h>
+#include <gtkmm/cssprovider.h>
+#include <gtkmm/statusicon.h>
#include "discord/discord.hpp"
#include "windows/mainwindow.hpp"
#include "settings.hpp"
#include "imgmanager.hpp"
#include "emojis.hpp"
+#include "notifications/notifications.hpp"
#define APP_TITLE "Abaddon"
@@ -92,6 +96,8 @@ public:
static std::string GetResPath(const std::string &path);
static std::string GetStateCachePath(const std::string &path);
+ [[nodiscard]] Glib::RefPtr<Gtk::Application> GetApp();
+
protected:
void RunFirstTimeDiscordStartup();
@@ -149,4 +155,6 @@ private:
Glib::RefPtr<Gtk::CssProvider> m_css_low_provider; // registered with a lower priority to allow better customization
Glib::RefPtr<Gtk::StatusIcon> m_tray;
std::unique_ptr<MainWindow> m_main_window; // wah wah cant create a gtkstylecontext fuck you
+
+ Notifications m_notifications;
};