2017-06-07 10:09:24 +02:00
|
|
|
#pragma once
|
2017-04-12 17:46:44 +02:00
|
|
|
|
|
|
|
#define GIF_FRAME_LENGTH 33
|
|
|
|
|
2018-06-26 14:09:39 +02:00
|
|
|
#include "providers/bttv/BttvEmotes.hpp"
|
|
|
|
#include "providers/emoji/Emojis.hpp"
|
|
|
|
#include "providers/ffz/FfzEmotes.hpp"
|
|
|
|
#include "providers/twitch/TwitchEmotes.hpp"
|
|
|
|
#include "singletons/helper/GifTimer.hpp"
|
2017-04-12 17:46:44 +02:00
|
|
|
|
2017-04-14 17:52:22 +02:00
|
|
|
namespace chatterino {
|
2017-06-13 21:13:58 +02:00
|
|
|
|
2017-04-12 17:46:44 +02:00
|
|
|
class EmoteManager
|
|
|
|
{
|
2018-04-28 15:20:18 +02:00
|
|
|
public:
|
2018-04-27 22:11:19 +02:00
|
|
|
~EmoteManager() = delete;
|
|
|
|
|
2018-06-05 19:00:25 +02:00
|
|
|
void initialize();
|
|
|
|
|
2018-06-28 19:38:57 +02:00
|
|
|
bool isIgnoredEmote(const QString &emote);
|
|
|
|
|
2018-06-26 17:06:17 +02:00
|
|
|
TwitchEmotes twitch;
|
|
|
|
BTTVEmotes bttv;
|
|
|
|
FFZEmotes ffz;
|
|
|
|
Emojis emojis;
|
2018-06-05 17:13:29 +02:00
|
|
|
|
2018-06-05 18:30:26 +02:00
|
|
|
GIFTimer gifTimer;
|
2017-04-12 17:46:44 +02:00
|
|
|
};
|
2017-05-27 16:16:39 +02:00
|
|
|
|
2017-04-14 17:52:22 +02:00
|
|
|
} // namespace chatterino
|