Forge version list implementation. Needs integration and testing.

This commit is contained in:
Petr Mrázek
2013-09-16 00:54:39 +02:00
parent 7721c57e5e
commit d38b90530b
37 changed files with 835 additions and 219 deletions

View File

@@ -4,11 +4,14 @@
#include "MultiMCVersion.h"
#include "config.h"
class MinecraftVersionList;
class LWJGLVersionList;
class HttpMetaCache;
class SettingsObject;
class InstanceList;
class IconList;
class QNetworkAccessManager;
class ForgeVersionList;
#if defined(MMC)
#undef MMC
@@ -61,6 +64,12 @@ public:
{
return m_metacache;
}
LWJGLVersionList * lwjgllist();
ForgeVersionList * forgelist();
MinecraftVersionList * minecraftlist();
private:
void initGlobalSettings();
@@ -76,5 +85,9 @@ private:
QNetworkAccessManager * m_qnam = nullptr;
HttpMetaCache * m_metacache = nullptr;
Status m_status = MultiMC::Failed;
LWJGLVersionList * m_lwjgllist = nullptr;
ForgeVersionList * m_forgelist = nullptr;
MinecraftVersionList * m_minecraftlist = nullptr;
MultiMCVersion m_version = {VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD};
};