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;
|
return this->imageUploader;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SeventvAPI *Application::getSeventvAPI()
|
||||||
|
{
|
||||||
|
assertInGuiThread();
|
||||||
|
|
||||||
|
return this->seventvAPI;
|
||||||
|
}
|
||||||
|
|
||||||
ITwitchIrcServer *Application::getTwitch()
|
ITwitchIrcServer *Application::getTwitch()
|
||||||
{
|
{
|
||||||
assertInGuiThread();
|
assertInGuiThread();
|
||||||
|
|
|
@ -135,9 +135,9 @@ private:
|
||||||
WindowManager *const windows{};
|
WindowManager *const windows{};
|
||||||
Toasts *const toasts{};
|
Toasts *const toasts{};
|
||||||
ImageUploader *const imageUploader{};
|
ImageUploader *const imageUploader{};
|
||||||
|
SeventvAPI *const seventvAPI{};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SeventvAPI *const seventvAPI{};
|
|
||||||
CrashHandler *const crashHandler{};
|
CrashHandler *const crashHandler{};
|
||||||
|
|
||||||
CommandController *const commands{};
|
CommandController *const commands{};
|
||||||
|
@ -211,12 +211,7 @@ public:
|
||||||
TwitchBadges *getTwitchBadges() override;
|
TwitchBadges *getTwitchBadges() override;
|
||||||
IChatterinoBadges *getChatterinoBadges() override;
|
IChatterinoBadges *getChatterinoBadges() override;
|
||||||
ImageUploader *getImageUploader() override;
|
ImageUploader *getImageUploader() override;
|
||||||
SeventvAPI *getSeventvAPI() override
|
SeventvAPI *getSeventvAPI() override;
|
||||||
{
|
|
||||||
assertInGuiThread();
|
|
||||||
|
|
||||||
return this->seventvAPI;
|
|
||||||
}
|
|
||||||
Updates &getUpdates() override
|
Updates &getUpdates() override
|
||||||
{
|
{
|
||||||
assertInGuiThread();
|
assertInGuiThread();
|
||||||
|
|
Loading…
Reference in a new issue