diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-09-12 03:17:34 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-09-12 03:17:34 -0400 |
commit | e68f8ef8f45987ab0caa5a05d53980a3556547f3 (patch) | |
tree | 6c9270e8b6e25ef63697fc428ff1ce8fdb683f95 /abaddon.hpp | |
parent | d6ed75c33938a23d547f5ded692195597266eb3b (diff) | |
download | abaddon-portaudio-e68f8ef8f45987ab0caa5a05d53980a3556547f3.tar.gz abaddon-portaudio-e68f8ef8f45987ab0caa5a05d53980a3556547f3.zip |
make avatar loading a bit better
Diffstat (limited to 'abaddon.hpp')
-rw-r--r-- | abaddon.hpp | 6 |
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; |