mirror-chatterino2/src/providers/twitch/TwitchBadges.hpp

29 lines
433 B
C++
Raw Normal View History

2018-08-02 14:23:27 +02:00
#pragma once
#include <QString>
#include <unordered_map>
#include "util/QStringHash.hpp"
namespace chatterino {
struct Emote;
using EmotePtr = std::shared_ptr<const Emote>;
2018-08-02 14:23:27 +02:00
class Settings;
class Paths;
class TwitchBadges
{
public:
TwitchBadges();
void initialize(Settings &settings, Paths &paths);
private:
void loadTwitchBadges();
std::unordered_map<QString, EmotePtr> badges;
};
} // namespace chatterino