summaryrefslogtreecommitdiff
path: root/abaddon.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2020-09-12 03:17:34 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2020-09-12 03:17:34 -0400
commite68f8ef8f45987ab0caa5a05d53980a3556547f3 (patch)
tree6c9270e8b6e25ef63697fc428ff1ce8fdb683f95 /abaddon.hpp
parentd6ed75c33938a23d547f5ded692195597266eb3b (diff)
downloadabaddon-portaudio-e68f8ef8f45987ab0caa5a05d53980a3556547f3.tar.gz
abaddon-portaudio-e68f8ef8f45987ab0caa5a05d53980a3556547f3.zip
make avatar loading a bit better
Diffstat (limited to 'abaddon.hpp')
-rw-r--r--abaddon.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/abaddon.hpp b/abaddon.hpp
index a52e759..9b4bf81 100644
--- a/abaddon.hpp
+++ b/abaddon.hpp
@@ -6,7 +6,7 @@
#include "discord/discord.hpp"
#include "windows/mainwindow.hpp"
#include "settings.hpp"
-#include "filecache.hpp"
+#include "imgmanager.hpp"
#define APP_TITLE "Abaddon"
@@ -43,7 +43,7 @@ public:
void ActionReloadCSS();
- Cache &GetCache();
+ ImageManager &GetImageManager();
std::string GetDiscordToken() const;
bool IsDiscordActive() const;
@@ -65,7 +65,7 @@ private:
std::unordered_map<Snowflake, Snowflake> m_oldest_listed_message;
std::unordered_set<Snowflake> m_channels_history_loading;
- Cache m_cache;
+ ImageManager m_img_mgr;
mutable std::mutex m_mutex;
Glib::RefPtr<Gtk::Application> m_gtk_app;