From 005a010ee6a67191ec24583780310fcf217ff30c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 4 Aug 2013 14:46:33 +0200 Subject: More code cleanups! --- backend/lists/MinecraftVersionList.h | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) (limited to 'backend/lists/MinecraftVersionList.h') diff --git a/backend/lists/MinecraftVersionList.h b/backend/lists/MinecraftVersionList.h index 8da74112..078c7c66 100644 --- a/backend/lists/MinecraftVersionList.h +++ b/backend/lists/MinecraftVersionList.h @@ -16,20 +16,16 @@ #pragma once #include - -#include - #include #include "InstVersionList.h" - #include "tasks/Task.h" - #include "MinecraftVersion.h" - #include "libmmc_config.h" class MCVListLoadTask; +class QNetworkAccessManager; +class QNetworkReply; class LIBMULTIMC_EXPORT MinecraftVersionList : public InstVersionList { @@ -73,28 +69,19 @@ public: virtual void executeTask(); -protected: - void setSubStatus(const QString msg = ""); +protected slots: + void list_downloaded(); +protected: //! Loads versions from Mojang's official version list. bool loadFromVList(); - //! Finalizes loading by updating the version list. - bool finalize(); - - void updateStuff(); - QNetworkAccessManager *netMgr; + QNetworkReply *vlistReply; MinecraftVersionList *m_list; QList tempList; //! < List of loaded versions - QList assetsList; //! < List of versions loaded from assets.minecraft.net - QList mcnList; //! < List of loaded MCNostalgia versions MinecraftVersion *m_currentStable; - - bool processedMCVListReply; - bool processedAssetsReply; - bool processedMCNReply; }; -- cgit v1.2.3