summaryrefslogtreecommitdiffstats
path: root/MultiMC.h
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2014-01-12 18:28:42 +0000
committerSky <git@bunnies.cc>2014-01-12 18:28:42 +0000
commita774b3d24816aa0010e1d5f67b20acb99e7181ac (patch)
tree384c51d242898d3b7a145ed987bcfb8c54c040ba /MultiMC.h
parent498520446fcd10003226822f5ada9c2fe90e8c63 (diff)
downloadMultiMC-a774b3d24816aa0010e1d5f67b20acb99e7181ac.tar
MultiMC-a774b3d24816aa0010e1d5f67b20acb99e7181ac.tar.gz
MultiMC-a774b3d24816aa0010e1d5f67b20acb99e7181ac.tar.lz
MultiMC-a774b3d24816aa0010e1d5f67b20acb99e7181ac.tar.xz
MultiMC-a774b3d24816aa0010e1d5f67b20acb99e7181ac.zip
Show Mojang service statuses in status bar
Diffstat (limited to 'MultiMC.h')
-rw-r--r--MultiMC.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/MultiMC.h b/MultiMC.h
index 18c7aab7..638a442f 100644
--- a/MultiMC.h
+++ b/MultiMC.h
@@ -21,6 +21,7 @@ class JavaVersionList;
class UpdateChecker;
class NotificationChecker;
class NewsChecker;
+class StatusChecker;
#if defined(MMC)
#undef MMC
@@ -113,6 +114,11 @@ public:
return m_newsChecker;
}
+ std::shared_ptr<StatusChecker> statusChecker()
+ {
+ return m_statusChecker;
+ }
+
std::shared_ptr<LWJGLVersionList> lwjgllist();
std::shared_ptr<ForgeVersionList> forgelist();
@@ -183,6 +189,7 @@ private:
std::shared_ptr<UpdateChecker> m_updateChecker;
std::shared_ptr<NotificationChecker> m_notificationChecker;
std::shared_ptr<NewsChecker> m_newsChecker;
+ std::shared_ptr<StatusChecker> m_statusChecker;
std::shared_ptr<MojangAccountList> m_accounts;
std::shared_ptr<IconList> m_icons;
std::shared_ptr<QNetworkAccessManager> m_qnam;