diff options
author | Sky <git@bunnies.cc> | 2014-01-12 18:28:42 +0000 |
---|---|---|
committer | Sky <git@bunnies.cc> | 2014-01-12 18:28:42 +0000 |
commit | a774b3d24816aa0010e1d5f67b20acb99e7181ac (patch) | |
tree | 384c51d242898d3b7a145ed987bcfb8c54c040ba /MultiMC.cpp | |
parent | 498520446fcd10003226822f5ada9c2fe90e8c63 (diff) | |
download | MultiMC-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.cpp')
-rw-r--r-- | MultiMC.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MultiMC.cpp b/MultiMC.cpp index 17fc2e0a..819091cd 100644 --- a/MultiMC.cpp +++ b/MultiMC.cpp @@ -20,8 +20,11 @@ #include "logic/news/NewsChecker.h" +#include "logic/status/StatusChecker.h" + #include "logic/InstanceLauncher.h" #include "logic/net/HttpMetaCache.h" +#include "logic/net/URLConstants.h" #include "logic/JavaUtils.h" @@ -181,6 +184,9 @@ MultiMC::MultiMC(int &argc, char **argv, bool root_override) // initialize the news checker m_newsChecker.reset(new NewsChecker(NEWS_RSS_URL)); + // initialize the status checker + m_statusChecker.reset(new StatusChecker()); + // and instances auto InstDirSetting = m_settings->getSetting("InstanceDir"); m_instances.reset(new InstanceList(InstDirSetting->get().toString(), this)); |