From 0ee8f90d40f5b3ddb177286c9066a4e59748c681 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sun, 15 Dec 2013 14:48:58 -0600 Subject: Added a system to load news from MultiMC.org's RSS Currently it doesn't show it anywhere in the UI. That's next. --- MultiMC.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'MultiMC.cpp') diff --git a/MultiMC.cpp b/MultiMC.cpp index 2c9e74dd..52bf4cb9 100644 --- a/MultiMC.cpp +++ b/MultiMC.cpp @@ -18,6 +18,8 @@ #include "logic/lists/MinecraftVersionList.h" #include "logic/lists/ForgeVersionList.h" +#include "logic/news/NewsChecker.h" + #include "logic/InstanceLauncher.h" #include "logic/net/HttpMetaCache.h" @@ -147,6 +149,9 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv), // initialize the updater m_updateChecker.reset(new UpdateChecker()); + // initialize the news checker + m_newsChecker.reset(new NewsChecker(NEWS_RSS_URL)); + // and instances auto InstDirSetting = m_settings->getSetting("InstanceDir"); m_instances.reset(new InstanceList(InstDirSetting->get().toString(), this)); -- cgit v1.2.3