feat: add initial experimental Twitch Eventsub support (#5837)

Co-authored-by: nerix <nerixdev@outlook.de>
This commit is contained in:
pajlada
2025-02-02 17:03:24 +01:00
committed by GitHub
parent f9f7d47b43
commit 0f8a29fdb9
130 changed files with 19656 additions and 8 deletions
+7
View File
@@ -271,6 +271,13 @@ public:
return nullptr;
}
eventsub::IController *getEventSub() override
{
assert(false && "EmptyApplication::getEventSub was called without "
"being initialized");
return nullptr;
}
QTemporaryDir settingsDir;
Paths paths_;
Args args_;
+9
View File
@@ -427,6 +427,15 @@ public:
FailureCallback<QString> failureCallback),
(override));
MOCK_METHOD(void, createEventSubSubscription,
(const eventsub::SubscriptionRequest &request,
const QString &sessionID,
ResultCallback<HelixCreateEventSubSubscriptionResponse>
successCallback,
(FailureCallback<HelixCreateEventSubSubscriptionError, QString>
failureCallback)),
(override));
MOCK_METHOD(void, update, (QString clientId, QString oauthToken),
(override));