mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
refactor: make Application::seventvAPI private
This commit is contained in:
parent
7629190589
commit
e63a105d94
|
@ -412,6 +412,13 @@ ImageUploader *Application::getImageUploader()
|
|||
return this->imageUploader;
|
||||
}
|
||||
|
||||
SeventvAPI *Application::getSeventvAPI()
|
||||
{
|
||||
assertInGuiThread();
|
||||
|
||||
return this->seventvAPI;
|
||||
}
|
||||
|
||||
ITwitchIrcServer *Application::getTwitch()
|
||||
{
|
||||
assertInGuiThread();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue