Show Mojang service statuses in status bar
This commit is contained in:
parent
498520446f
commit
a774b3d248
8 changed files with 314 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue