3 #include "boost/optional.hpp" 54 using EmotePtr = std::shared_ptr<const Emote>;
68 std::shared_ptr<const EmoteMap> globalEmotes()
const;
69 boost::optional<EmotePtr> globalEmote(
const EmoteName &
name)
const;
70 void loadGlobalEmotes();
71 static void loadChannelEmotes(
72 const std::weak_ptr<Channel> &channel,
const QString &channelId,
83 static boost::optional<EmotePtr> addEmote(
84 Atomic<std::shared_ptr<const EmoteMap>> &map,
94 static boost::optional<EmotePtr> updateEmote(
95 Atomic<std::shared_ptr<const EmoteMap>> &map,
105 static boost::optional<EmotePtr> removeEmote(
106 Atomic<std::shared_ptr<const EmoteMap>> &map,
110 static void getEmoteSet(
111 const QString &emoteSetId,
112 std::function<
void(
EmoteMap &&, QString)> successCallback,
113 std::function<
void(QString)> errorCallback);
SeventvEmoteFlag
Definition: SeventvEmotes.hpp:29
Definition: Application.cpp:48
Definition: SeventvEventAPIDispatch.hpp:21
QString emoteSetID
Definition: SeventvEmotes.hpp:62
Definition: SeventvEmotes.hpp:57
std::shared_ptr< const Emote > EmotePtr
Definition: Emote.hpp:38
Definition: FlagsEnum.hpp:9
QString userID
Definition: SeventvEmotes.hpp:61
Definition: SeventvEventAPIDispatch.hpp:45
size_t twitchConnectionIndex
Definition: SeventvEmotes.hpp:63
QString name
Definition: Credentials.cpp:94
Definition: SeventvEmotes.hpp:60
Definition: SeventvEventAPIDispatch.hpp:33
SeventvActiveEmoteFlag
Definition: SeventvEmotes.hpp:14