rename #1
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#pragma once
|
||||
|
||||
#include "signalvector.hpp"
|
||||
#include "util/concurrentmap.hpp"
|
||||
#include "util/emotemap.hpp"
|
||||
|
||||
#include <map>
|
||||
|
||||
namespace chatterino {
|
||||
namespace providers {
|
||||
namespace bttv {
|
||||
|
||||
class BTTVEmotes
|
||||
{
|
||||
public:
|
||||
util::EmoteMap globalEmotes;
|
||||
SignalVector<QString> globalEmoteCodes;
|
||||
|
||||
util::EmoteMap channelEmotes;
|
||||
std::map<QString, SignalVector<QString>> channelEmoteCodes;
|
||||
|
||||
void loadGlobalEmotes();
|
||||
void loadChannelEmotes(const QString &channelName,
|
||||
std::weak_ptr<util::EmoteMap> channelEmoteMap);
|
||||
|
||||
private:
|
||||
util::EmoteMap channelEmoteCache;
|
||||
};
|
||||
|
||||
} // namespace bttv
|
||||
} // namespace providers
|
||||
} // namespace chatterino
|
||||
Reference in New Issue
Block a user