diff --git a/src/Application.cpp b/src/Application.cpp index 28165b3fa..d118f1f9f 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -412,6 +412,13 @@ ImageUploader *Application::getImageUploader() return this->imageUploader; } +SeventvAPI *Application::getSeventvAPI() +{ + assertInGuiThread(); + + return this->seventvAPI; +} + ITwitchIrcServer *Application::getTwitch() { assertInGuiThread(); diff --git a/src/Application.hpp b/src/Application.hpp index a9258eb44..1441fd0dd 100644 --- a/src/Application.hpp +++ b/src/Application.hpp @@ -135,9 +135,9 @@ private: WindowManager *const windows{}; Toasts *const toasts{}; ImageUploader *const imageUploader{}; + SeventvAPI *const seventvAPI{}; public: - SeventvAPI *const seventvAPI{}; CrashHandler *const crashHandler{}; CommandController *const commands{}; @@ -211,12 +211,7 @@ public: TwitchBadges *getTwitchBadges() override; IChatterinoBadges *getChatterinoBadges() override; ImageUploader *getImageUploader() override; - SeventvAPI *getSeventvAPI() override - { - assertInGuiThread(); - - return this->seventvAPI; - } + SeventvAPI *getSeventvAPI() override; Updates &getUpdates() override { assertInGuiThread();