From 54a8244bfdd26656260b3c82391db2213f937ac7 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Thu, 10 Sep 2020 18:28:42 -0400 Subject: basic avatars --- abaddon.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'abaddon.hpp') diff --git a/abaddon.hpp b/abaddon.hpp index d70da81..a52e759 100644 --- a/abaddon.hpp +++ b/abaddon.hpp @@ -6,6 +6,7 @@ #include "discord/discord.hpp" #include "windows/mainwindow.hpp" #include "settings.hpp" +#include "filecache.hpp" #define APP_TITLE "Abaddon" @@ -42,6 +43,8 @@ public: void ActionReloadCSS(); + Cache &GetCache(); + std::string GetDiscordToken() const; bool IsDiscordActive() const; @@ -62,6 +65,8 @@ private: std::unordered_map m_oldest_listed_message; std::unordered_set m_channels_history_loading; + Cache m_cache; + mutable std::mutex m_mutex; Glib::RefPtr m_gtk_app; Glib::RefPtr m_css_provider; -- cgit v1.2.3