#pragma once #include "common/Emotemap.hpp" #include "common/SignalVector.hpp" #include "util/ConcurrentMap.hpp" #include namespace chatterino { class BTTVEmotes { public: EmoteMap globalEmotes; SignalVector globalEmoteCodes; EmoteMap channelEmotes; std::map> channelEmoteCodes; void loadGlobalEmotes(); void loadChannelEmotes(const QString &channelName, std::weak_ptr channelEmoteMap); private: EmoteMap channelEmoteCache; }; } // namespace chatterino