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