added emote loading
This commit is contained in:
@@ -13,42 +13,49 @@ public:
|
||||
static ConcurrentMap<QString, TwitchEmoteValue *> &
|
||||
twitchEmotes()
|
||||
{
|
||||
return *m_twitchEmotes;
|
||||
return m_twitchEmotes;
|
||||
}
|
||||
|
||||
static ConcurrentMap<QString, LazyLoadedImage *> &
|
||||
bttvEmotes()
|
||||
{
|
||||
return *m_bttvEmotes;
|
||||
return m_bttvEmotes;
|
||||
}
|
||||
|
||||
static ConcurrentMap<QString, LazyLoadedImage *> &
|
||||
ffzEmotes()
|
||||
{
|
||||
return *m_ffzEmotes;
|
||||
return m_ffzEmotes;
|
||||
}
|
||||
|
||||
static ConcurrentMap<QString, LazyLoadedImage *> &
|
||||
chatterinoEmotes()
|
||||
{
|
||||
return *m_chatterinoEmotes;
|
||||
return m_chatterinoEmotes;
|
||||
}
|
||||
|
||||
static ConcurrentMap<QString, LazyLoadedImage *> &
|
||||
bttvChannelEmoteFromCaches()
|
||||
{
|
||||
return *m_bttvChannelEmoteFromCaches;
|
||||
return m_bttvChannelEmoteFromCaches;
|
||||
}
|
||||
|
||||
static ConcurrentMap<QString, LazyLoadedImage *> &
|
||||
ffzChannelEmoteFromCaches()
|
||||
{
|
||||
return *m_ffzChannelEmoteFromCaches;
|
||||
return m_ffzChannelEmoteFromCaches;
|
||||
}
|
||||
static ConcurrentMap<int, LazyLoadedImage *> &
|
||||
|
||||
static ConcurrentMap<long, LazyLoadedImage *> &
|
||||
twitchEmoteFromCache()
|
||||
{
|
||||
return *m_twitchEmoteFromCache;
|
||||
return m_twitchEmoteFromCache;
|
||||
}
|
||||
|
||||
static ConcurrentMap<QString, LazyLoadedImage *> &
|
||||
miscImageFromCache()
|
||||
{
|
||||
return *m_miscImageFromCache;
|
||||
return m_miscImageFromCache;
|
||||
}
|
||||
|
||||
static void loadGlobalEmotes();
|
||||
@@ -62,23 +69,20 @@ public:
|
||||
private:
|
||||
Emotes();
|
||||
|
||||
static ConcurrentMap<QString, TwitchEmoteValue *> *m_twitchEmotes;
|
||||
static ConcurrentMap<QString, LazyLoadedImage *> *m_bttvEmotes;
|
||||
static ConcurrentMap<QString, LazyLoadedImage *> *m_ffzEmotes;
|
||||
static ConcurrentMap<QString, LazyLoadedImage *> *m_chatterinoEmotes;
|
||||
static ConcurrentMap<QString, LazyLoadedImage *>
|
||||
*m_bttvChannelEmoteFromCaches;
|
||||
static ConcurrentMap<QString, LazyLoadedImage *>
|
||||
*m_ffzChannelEmoteFromCaches;
|
||||
static ConcurrentMap<int, LazyLoadedImage *> *m_twitchEmoteFromCache;
|
||||
static ConcurrentMap<QString, LazyLoadedImage *> *m_miscImageFromCache;
|
||||
static QString m_twitchEmoteTemplate;
|
||||
|
||||
static LazyLoadedImage *m_cheerBadge100000;
|
||||
static LazyLoadedImage *m_cheerBadge10000;
|
||||
static LazyLoadedImage *m_cheerBadge5000;
|
||||
static LazyLoadedImage *m_cheerBadge1000;
|
||||
static LazyLoadedImage *m_cheerBadge100;
|
||||
static LazyLoadedImage *m_cheerBadge1;
|
||||
static ConcurrentMap<QString, TwitchEmoteValue *> m_twitchEmotes;
|
||||
static ConcurrentMap<QString, LazyLoadedImage *> m_bttvEmotes;
|
||||
static ConcurrentMap<QString, LazyLoadedImage *> m_ffzEmotes;
|
||||
static ConcurrentMap<QString, LazyLoadedImage *> m_chatterinoEmotes;
|
||||
static ConcurrentMap<QString, LazyLoadedImage *>
|
||||
m_bttvChannelEmoteFromCaches;
|
||||
static ConcurrentMap<QString, LazyLoadedImage *>
|
||||
m_ffzChannelEmoteFromCaches;
|
||||
static ConcurrentMap<long, LazyLoadedImage *> m_twitchEmoteFromCache;
|
||||
static ConcurrentMap<QString, LazyLoadedImage *> m_miscImageFromCache;
|
||||
|
||||
static QString getTwitchEmoteLink(long id, qreal &scale);
|
||||
};
|
||||
|
||||
#endif // EMOTES_H
|
||||
|
||||
Reference in New Issue
Block a user