refactor: load Twitch emotes from Helix (#5239)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include "common/ChatterinoSetting.hpp"
|
||||
#include "common/SignalVector.hpp"
|
||||
#include "util/Expected.hpp"
|
||||
#include "util/QStringHash.hpp"
|
||||
#include "util/RapidJsonSerializeQString.hpp"
|
||||
|
||||
@@ -58,6 +59,10 @@ public:
|
||||
|
||||
SignalVector<std::shared_ptr<TwitchAccount>> accounts;
|
||||
|
||||
/// The signal is invoked with (caller, error) where caller is the argument
|
||||
/// passed to reloadEmotes() and error.
|
||||
pajlada::Signals::Signal<void *, ExpectedStr<void>> emotesReloaded;
|
||||
|
||||
private:
|
||||
enum class AddUserResponse {
|
||||
UserAlreadyExists,
|
||||
|
||||
Reference in New Issue
Block a user