Reorganize logic code.

This commit is contained in:
Petr Mrázek 2014-05-08 21:20:10 +02:00
parent 69a9ca39ad
commit 8a3a0f5a52
58 changed files with 188 additions and 189 deletions

View File

@ -359,17 +359,13 @@ SET(MULTIMC_SOURCES
gui/groupview/InstanceDelegate.cpp
gui/groupview/InstanceDelegate.h
# Base classes and infrastructure
# LOGIC - Base classes and infrastructure
logic/BaseVersion.h
logic/MinecraftVersion.h
logic/InstanceFactory.h
logic/InstanceFactory.cpp
logic/BaseInstance.h
logic/BaseInstance.cpp
logic/BaseInstance_p.h
logic/MinecraftProcess.h
logic/MinecraftProcess.cpp
logic/Mod.h
logic/Mod.cpp
logic/ModList.h
@ -379,9 +375,27 @@ SET(MULTIMC_SOURCES
logic/VersionFilterData.h
logic/VersionFilterData.cpp
# Basic instance launcher for starting from terminal
# Instance launch
logic/InstanceLauncher.h
logic/InstanceLauncher.cpp
logic/MinecraftProcess.h
logic/MinecraftProcess.cpp
# URN parser/resolver
logic/URNResolver.cpp
logic/URNResolver.h
# Annoying nag screen logic
logic/NagUtils.h
logic/NagUtils.cpp
# Player skin utilities
logic/SkinUtils.h
logic/SkinUtils.cpp
# misc model filter
logic/EnabledItemFilter.h
logic/EnabledItemFilter.cpp
# JSON parsing helpers
logic/MMCJson.h
@ -453,22 +467,34 @@ SET(MULTIMC_SOURCES
logic/OneSixInstance_p.h
# OneSix version json infrastructure
logic/OneSixVersionBuilder.h
logic/OneSixVersionBuilder.cpp
logic/VersionFile.h
logic/VersionFile.cpp
logic/VersionFinal.h
logic/VersionFinal.cpp
logic/OneSixLibrary.h
logic/OneSixLibrary.cpp
logic/OneSixRule.h
logic/OneSixRule.cpp
logic/OpSys.h
logic/OpSys.cpp
logic/minecraft/MinecraftVersion.h
logic/minecraft/OneSixVersionBuilder.h
logic/minecraft/OneSixVersionBuilder.cpp
logic/minecraft/VersionFile.h
logic/minecraft/VersionFile.cpp
logic/minecraft/VersionFinal.h
logic/minecraft/VersionFinal.cpp
logic/minecraft/OneSixLibrary.h
logic/minecraft/OneSixLibrary.cpp
logic/minecraft/OneSixRule.h
logic/minecraft/OneSixRule.cpp
logic/minecraft/MinecraftVersionList.h
logic/minecraft/MinecraftVersionList.cpp
# Mod installers
# Trivial operating system utilities
logic/minecraft/OpSys.h
logic/minecraft/OpSys.cpp
# Various base classes
logic/BaseInstaller.h
logic/BaseInstaller.cpp
logic/BaseVersionList.h
logic/BaseVersionList.cpp
logic/InstanceList.h
logic/InstanceList.cpp
logic/LwjglVersionList.h
logic/LwjglVersionList.cpp
# FTB
logic/OneSixFTBInstance.h
@ -476,18 +502,6 @@ SET(MULTIMC_SOURCES
logic/LegacyFTBInstance.h
logic/LegacyFTBInstance.cpp
# Lists
logic/lists/InstanceList.h
logic/lists/InstanceList.cpp
logic/lists/BaseVersionList.h
logic/lists/BaseVersionList.cpp
logic/lists/MinecraftVersionList.h
logic/lists/MinecraftVersionList.cpp
logic/lists/LwjglVersionList.h
logic/lists/LwjglVersionList.cpp
logic/lists/JavaVersionList.h
logic/lists/JavaVersionList.cpp
# the screenshots feature
logic/screenshots/Screenshot.h
logic/screenshots/Screenshot.cpp
@ -504,11 +518,6 @@ SET(MULTIMC_SOURCES
logic/icons/IconList.h
logic/icons/IconList.cpp
# misc model/view
logic/EnabledItemFilter.h
logic/EnabledItemFilter.cpp
# Tasks
logic/tasks/ProgressProvider.h
logic/tasks/Task.h
@ -518,17 +527,15 @@ SET(MULTIMC_SOURCES
logic/tasks/SequentialTask.h
logic/tasks/SequentialTask.cpp
# Utilities
logic/JavaChecker.h
logic/JavaChecker.cpp
logic/JavaUtils.h
logic/JavaUtils.cpp
logic/NagUtils.h
logic/NagUtils.cpp
logic/SkinUtils.h
logic/SkinUtils.cpp
logic/JavaCheckerJob.h
logic/JavaCheckerJob.cpp
# Java related code
logic/java/JavaChecker.h
logic/java/JavaChecker.cpp
logic/java/JavaUtils.h
logic/java/JavaUtils.cpp
logic/java/JavaVersionList.h
logic/java/JavaVersionList.cpp
logic/java/JavaCheckerJob.h
logic/java/JavaCheckerJob.cpp
# Assets
logic/assets/AssetsMigrateTask.h
@ -568,10 +575,6 @@ SET(MULTIMC_SOURCES
logic/liteloader/LiteLoaderInstaller.cpp
logic/liteloader/LiteLoaderVersionList.h
logic/liteloader/LiteLoaderVersionList.cpp
# MultiMC URN resolver
logic/URNResolver.cpp
logic/URNResolver.h
)

View File

@ -12,11 +12,11 @@
#include <QDesktopServices>
#include "gui/dialogs/VersionSelectDialog.h"
#include "logic/lists/InstanceList.h"
#include "logic/InstanceList.h"
#include "logic/auth/MojangAccountList.h"
#include "logic/icons/IconList.h"
#include "logic/lists/LwjglVersionList.h"
#include "logic/lists/MinecraftVersionList.h"
#include "logic/LwjglVersionList.h"
#include "logic/minecraft/MinecraftVersionList.h"
#include "logic/liteloader/LiteLoaderVersionList.h"
#include "logic/forge/ForgeVersionList.h"
@ -29,7 +29,7 @@
#include "logic/net/HttpMetaCache.h"
#include "logic/net/URLConstants.h"
#include "logic/JavaUtils.h"
#include "logic/java/JavaUtils.h"
#include "logic/updater/UpdateChecker.h"
#include "logic/updater/NotificationChecker.h"

View File

@ -69,11 +69,11 @@
#include "gui/ConsoleWindow.h"
#include "logic/lists/InstanceList.h"
#include "logic/lists/MinecraftVersionList.h"
#include "logic/lists/LwjglVersionList.h"
#include "logic/InstanceList.h"
#include "logic/minecraft/MinecraftVersionList.h"
#include "logic/LwjglVersionList.h"
#include "logic/icons/IconList.h"
#include "logic/lists/JavaVersionList.h"
#include "logic/java/JavaVersionList.h"
#include "logic/auth/flows/AuthenticateTask.h"
#include "logic/auth/flows/RefreshTask.h"
@ -91,7 +91,7 @@
#include "logic/InstanceFactory.h"
#include "logic/MinecraftProcess.h"
#include "logic/OneSixUpdate.h"
#include "logic/JavaUtils.h"
#include "logic/java/JavaUtils.h"
#include "logic/NagUtils.h"
#include "logic/SkinUtils.h"

View File

@ -19,11 +19,10 @@
#include <QProcess>
#include <QTimer>
#include "logic/lists/InstanceList.h"
#include "logic/InstanceList.h"
#include "logic/BaseInstance.h"
#include "logic/auth/MojangAccount.h"
#include <logic/net/NetJob.h>
#include "logic/net/NetJob.h"
class QToolButton;
class LabeledToolButton;

View File

@ -28,7 +28,6 @@
#include "logic/InstanceFactory.h"
#include "logic/BaseVersion.h"
#include "logic/icons/IconList.h"
#include "logic/lists/MinecraftVersionList.h"
#include "logic/tasks/Task.h"
#include "logic/BaseInstance.h"

View File

@ -34,13 +34,13 @@
#include "InstanceSettings.h"
#include "logic/ModList.h"
#include "logic/VersionFinal.h"
#include "logic/minecraft/VersionFinal.h"
#include "logic/EnabledItemFilter.h"
#include "logic/forge/ForgeVersionList.h"
#include "logic/forge/ForgeInstaller.h"
#include "logic/liteloader/LiteLoaderVersionList.h"
#include "logic/liteloader/LiteLoaderInstaller.h"
#include "logic/OneSixVersionBuilder.h"
#include "logic/minecraft/OneSixVersionBuilder.h"
#include "logic/auth/MojangAccountList.h"
#include <QAbstractItemModel>

View File

@ -23,10 +23,11 @@
#include "gui/Platform.h"
#include "gui/dialogs/VersionSelectDialog.h"
#include "logic/JavaUtils.h"
#include "logic/NagUtils.h"
#include "logic/lists/JavaVersionList.h"
#include "logic/JavaChecker.h"
#include "logic/java/JavaUtils.h"
#include "logic/java/JavaVersionList.h"
#include "logic/java/JavaChecker.h"
#include <QFileDialog>
#include <QMessageBox>

View File

@ -17,7 +17,7 @@
#include <QDialog>
#include "settingsobject.h"
#include "logic/JavaChecker.h"
#include "logic/java/JavaChecker.h"
namespace Ui
{

View File

@ -18,7 +18,7 @@
#include "ui_LwjglSelectDialog.h"
#include "gui/Platform.h"
#include "logic/lists/LwjglVersionList.h"
#include "logic/LwjglVersionList.h"
LWJGLSelectDialog::LWJGLSelectDialog(QWidget *parent)
: QDialog(parent), ui(new Ui::LWJGLSelectDialog)

View File

@ -20,7 +20,7 @@
#include "logic/InstanceFactory.h"
#include "logic/BaseVersion.h"
#include "logic/icons/IconList.h"
#include "logic/lists/MinecraftVersionList.h"
#include "logic/minecraft/MinecraftVersionList.h"
#include "logic/tasks/Task.h"
#include "gui/Platform.h"

View File

@ -22,10 +22,11 @@
#include "gui/dialogs/VersionSelectDialog.h"
#include "gui/dialogs/CustomMessageBox.h"
#include "logic/JavaUtils.h"
#include "logic/NagUtils.h"
#include "logic/lists/JavaVersionList.h"
#include <logic/JavaChecker.h>
#include "logic/java/JavaUtils.h"
#include "logic/java/JavaVersionList.h"
#include "logic/java/JavaChecker.h"
#include "logic/updater/UpdateChecker.h"

View File

@ -18,7 +18,7 @@
#include <memory>
#include <QDialog>
#include "logic/JavaChecker.h"
#include "logic/java/JavaChecker.h"
class SettingsObject;

View File

@ -24,7 +24,7 @@
#include "gui/Platform.h"
#include <logic/BaseVersion.h>
#include <logic/lists/BaseVersionList.h>
#include <logic/BaseVersionList.h>
#include <logic/tasks/Task.h>
VersionSelectDialog::VersionSelectDialog(BaseVersionList *vlist, QString title, QWidget *parent,

View File

@ -22,7 +22,7 @@
#include "GroupView.h"
#include "logic/BaseInstance.h"
#include "logic/lists/InstanceList.h"
#include "logic/InstanceList.h"
QCache<QString, QPixmap> ListViewDelegate::m_pixmapCache;

View File

@ -13,15 +13,10 @@
* limitations under the License.
*/
#include "BaseInstaller.h"
#include <QFile>
#include "VersionFinal.h"
#include "OneSixLibrary.h"
#include "OneSixInstance.h"
#include "cmdutils.h"
#include "logic/BaseInstaller.h"
#include "logic/OneSixInstance.h"
BaseInstaller::BaseInstaller()
{

View File

@ -27,7 +27,7 @@
#include "pathutils.h"
#include <cmdutils.h>
#include "lists/MinecraftVersionList.h"
#include "logic/minecraft/MinecraftVersionList.h"
#include "logic/icons/IconList.h"
BaseInstance::BaseInstance(BaseInstancePrivate *d_in, const QString &rootDir,

View File

@ -22,7 +22,7 @@
#include <settingsobject.h>
#include "inifile.h"
#include "lists/BaseVersionList.h"
#include "logic/BaseVersionList.h"
#include "logic/auth/MojangAccount.h"
class QDialog;

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
#include "logic/lists/BaseVersionList.h"
#include "logic/BaseVersionList.h"
#include "logic/BaseVersion.h"
BaseVersionList::BaseVersionList(QObject *parent) : QAbstractListModel(parent)

View File

@ -13,27 +13,26 @@
* limitations under the License.
*/
#include "InstanceFactory.h"
#include <QDir>
#include <QFileInfo>
#include "BaseInstance.h"
#include "LegacyInstance.h"
#include "LegacyFTBInstance.h"
#include "OneSixInstance.h"
#include "OneSixFTBInstance.h"
#include "OneSixInstance.h"
#include "BaseVersion.h"
#include "MinecraftVersion.h"
#include "inifile.h"
#include <inifile.h>
#include <inisettingsobject.h>
#include <setting.h>
#include "pathutils.h"
#include <pathutils.h>
#include "logger/QsLog.h"
#include "logic/InstanceFactory.h"
#include "logic/BaseInstance.h"
#include "logic/LegacyInstance.h"
#include "logic/LegacyFTBInstance.h"
#include "logic/OneSixInstance.h"
#include "logic/OneSixFTBInstance.h"
#include "logic/OneSixInstance.h"
#include "logic/BaseVersion.h"
#include "logic/minecraft/MinecraftVersion.h"
InstanceFactory InstanceFactory::loader;
InstanceFactory::InstanceFactory() : QObject(NULL)

View File

@ -22,7 +22,7 @@
#include "gui/dialogs/ProgressDialog.h"
#include "logic/MinecraftProcess.h"
#include "logic/lists/InstanceList.h"
#include "logic/InstanceList.h"
InstanceLauncher::InstanceLauncher(QString instId) : QObject(), instId(instId)
{

View File

@ -27,13 +27,13 @@
#include <pathutils.h>
#include "MultiMC.h"
#include "logic/lists/InstanceList.h"
#include "logic/InstanceList.h"
#include "logic/icons/IconList.h"
#include "logic/lists/MinecraftVersionList.h"
#include "logic/minecraft/MinecraftVersionList.h"
#include "logic/BaseInstance.h"
#include "logic/InstanceFactory.h"
#include "logger/QsLog.h"
#include <gui/groupview/GroupView.h>
#include "gui/groupview/GroupView.h"
const static int GROUP_FILE_FORMAT_VERSION = 1;

View File

@ -13,20 +13,24 @@
* limitations under the License.
*/
#include "LegacyUpdate.h"
#include "lists/LwjglVersionList.h"
#include "lists/MinecraftVersionList.h"
#include "BaseInstance.h"
#include "LegacyInstance.h"
#include "MultiMC.h"
#include "ModList.h"
#include <QStringList>
#include <pathutils.h>
#include <quazip.h>
#include <quazipfile.h>
#include <JlCompress.h>
#include "logic/LegacyUpdate.h"
#include "logic/LwjglVersionList.h"
#include "logic/minecraft/MinecraftVersionList.h"
#include "logic/BaseInstance.h"
#include "logic/LegacyInstance.h"
#include "MultiMC.h"
#include "logic/ModList.h"
#include "logger/QsLog.h"
#include "logic/net/URLConstants.h"
#include <QStringList>
LegacyUpdate::LegacyUpdate(BaseInstance *inst, QObject *parent) : Task(parent), m_inst(inst)
{

View File

@ -1,12 +1,12 @@
#include "OneSixFTBInstance.h"
#include "VersionFinal.h"
#include "OneSixLibrary.h"
#include "logic/minecraft/VersionFinal.h"
#include "logic/minecraft/OneSixLibrary.h"
#include "logic/minecraft/OneSixVersionBuilder.h"
#include "tasks/SequentialTask.h"
#include "forge/ForgeInstaller.h"
#include "forge/ForgeVersionList.h"
#include "OneSixInstance_p.h"
#include "OneSixVersionBuilder.h"
#include "MultiMC.h"
#include "pathutils.h"

View File

@ -13,21 +13,22 @@
* limitations under the License.
*/
#include "OneSixInstance.h"
#include <QIcon>
#include "OneSixInstance_p.h"
#include "OneSixUpdate.h"
#include "VersionFinal.h"
#include "pathutils.h"
#include <pathutils.h>
#include "logger/QsLog.h"
#include "assets/AssetsUtils.h"
#include "MultiMC.h"
#include "MMCError.h"
#include "logic/OneSixInstance.h"
#include "logic/OneSixInstance_p.h"
#include "logic/OneSixUpdate.h"
#include "logic/minecraft/VersionFinal.h"
#include "logic/assets/AssetsUtils.h"
#include "icons/IconList.h"
#include "MinecraftProcess.h"
#include "logic/MinecraftProcess.h"
#include "gui/dialogs/InstanceEditDialog.h"
#include <MMCError.h>
OneSixInstance::OneSixInstance(const QString &rootDir, SettingsObject *settings,
QObject *parent)

View File

@ -17,8 +17,8 @@
#include "BaseInstance.h"
#include "VersionFinal.h"
#include "ModList.h"
#include "logic/minecraft/VersionFinal.h"
#include "logic/ModList.h"
class OneSixInstance : public BaseInstance
{

View File

@ -15,9 +15,10 @@
#pragma once
#include "BaseInstance_p.h"
#include "VersionFinal.h"
#include "ModList.h"
#include "logic/BaseInstance_p.h"
class ModList;
class VersionFinal;
class OneSixInstancePrivate : public BaseInstancePrivate
{

View File

@ -22,19 +22,18 @@
#include <QFileInfo>
#include <QTextStream>
#include <QDataStream>
#include "BaseInstance.h"
#include "lists/MinecraftVersionList.h"
#include "VersionFinal.h"
#include "OneSixLibrary.h"
#include "OneSixInstance.h"
#include "logic/forge/ForgeMirrors.h"
#include "net/URLConstants.h"
#include "assets/AssetsUtils.h"
#include "pathutils.h"
#include <pathutils.h>
#include <JlCompress.h>
#include "logic/BaseInstance.h"
#include "logic/minecraft/MinecraftVersionList.h"
#include "logic/minecraft/VersionFinal.h"
#include "logic/minecraft/OneSixLibrary.h"
#include "logic/OneSixInstance.h"
#include "logic/forge/ForgeMirrors.h"
#include "logic/net/URLConstants.h"
#include "logic/assets/AssetsUtils.h"
OneSixUpdate::OneSixUpdate(OneSixInstance *inst, QObject *parent)
: Task(parent), m_inst(inst)
{

View File

@ -14,8 +14,8 @@
*/
#include "ForgeInstaller.h"
#include "logic/VersionFinal.h"
#include "logic/OneSixLibrary.h"
#include "logic/minecraft/VersionFinal.h"
#include "logic/minecraft/OneSixLibrary.h"
#include "logic/net/HttpMetaCache.h"
#include "logic/tasks/Task.h"
#include "logic/OneSixInstance.h"

View File

@ -20,7 +20,7 @@
#include <QUrl>
#include <QNetworkReply>
#include "logic/lists/BaseVersionList.h"
#include "logic/BaseVersionList.h"
#include "logic/tasks/Task.h"
#include "logic/net/NetJob.h"
#include "logic/forge/ForgeVersion.h"

View File

@ -16,7 +16,6 @@
#include <QStringList>
#include <QString>
#include <QDir>
#include <QMessageBox>
#include <QStringList>
#include <setting.h>
@ -24,11 +23,10 @@
#include "MultiMC.h"
#include "JavaUtils.h"
#include "logger/QsLog.h"
#include "gui/dialogs/VersionSelectDialog.h"
#include "JavaCheckerJob.h"
#include "lists/JavaVersionList.h"
#include "logic/java/JavaUtils.h"
#include "logic/java/JavaCheckerJob.h"
#include "logic/java/JavaVersionList.h"
JavaUtils::JavaUtils()
{

View File

@ -21,7 +21,7 @@
#include <osutils.h>
#include "JavaCheckerJob.h"
#include "JavaChecker.h"
#include "lists/JavaVersionList.h"
#include "JavaVersionList.h"
#if WINDOWS
#include <windows.h>

View File

@ -13,16 +13,16 @@
* limitations under the License.
*/
#include "JavaVersionList.h"
#include "MultiMC.h"
#include <QtNetwork>
#include <QtXml>
#include <QRegExp>
#include "MultiMC.h"
#include "logger/QsLog.h"
#include "logic/JavaCheckerJob.h"
#include "logic/JavaUtils.h"
#include "logic/java/JavaVersionList.h"
#include "logic/java/JavaCheckerJob.h"
#include "logic/java/JavaUtils.h"
JavaVersionList::JavaVersionList(QObject *parent) : BaseVersionList(parent)
{

View File

@ -18,9 +18,9 @@
#include <QObject>
#include <QAbstractListModel>
#include "BaseVersionList.h"
#include "logic/BaseVersionList.h"
#include "logic/tasks/Task.h"
#include "logic/JavaCheckerJob.h"
#include "logic/java/JavaCheckerJob.h"
class JavaListLoadTask;

View File

@ -20,8 +20,8 @@
#include "logger/QsLog.h"
#include "logic/VersionFinal.h"
#include "logic/OneSixLibrary.h"
#include "logic/minecraft/VersionFinal.h"
#include "logic/minecraft/OneSixLibrary.h"
#include "logic/OneSixInstance.h"
#include "MultiMC.h"
#include "logic/liteloader/LiteLoaderVersionList.h"

View File

@ -19,9 +19,9 @@
#include <QString>
#include <QStringList>
#include "logic/lists/BaseVersionList.h"
#include "logic/tasks/Task.h"
#include "logic/BaseVersion.h"
#include "logic/BaseVersionList.h"
#include "logic/tasks/Task.h"
#include "logic/net/NetJob.h"
class LLListLoadTask;

View File

@ -15,7 +15,7 @@
#pragma once
#include "BaseVersion.h"
#include "logic/BaseVersion.h"
#include <QStringList>
#include <QSet>

View File

@ -19,9 +19,9 @@
#include <QList>
#include <QSet>
#include "BaseVersionList.h"
#include "logic/BaseVersionList.h"
#include "logic/tasks/Task.h"
#include "logic/MinecraftVersion.h"
#include "logic/minecraft/MinecraftVersion.h"
class MCVListLoadTask;
class QNetworkReply;

View File

@ -23,7 +23,7 @@
#include <memory>
#include "logic/net/URLConstants.h"
#include "OpSys.h"
#include "logic/minecraft/OpSys.h"
class Rule;

View File

@ -17,7 +17,7 @@
#include <QString>
#include "logic/OneSixLibrary.h"
#include "logic/minecraft/OneSixLibrary.h"
enum RuleAction
{

View File

@ -13,8 +13,6 @@
* limitations under the License.
*/
#include "OneSixVersionBuilder.h"
#include <QList>
#include <QJsonObject>
#include <QJsonArray>
@ -25,13 +23,16 @@
#include <QObject>
#include <QDir>
#include <QDebug>
#include <modutils.h>
#include "logic/minecraft/OneSixVersionBuilder.h"
#include "logic/minecraft/VersionFinal.h"
#include "logic/minecraft/OneSixRule.h"
#include "logic/minecraft/VersionFile.h"
#include "logic/OneSixInstance.h"
#include "logic/MMCJson.h"
#include "VersionFinal.h"
#include "OneSixInstance.h"
#include "OneSixRule.h"
#include "VersionFile.h"
#include "MMCJson.h"
#include "modutils.h"
#include "logger/QsLog.h"
OneSixVersionBuilder::OneSixVersionBuilder()

View File

@ -1,13 +1,13 @@
#include <QJsonArray>
#include <QJsonDocument>
#include <modutils.h>
#include "logger/QsLog.h"
#include "logic/VersionFile.h"
#include "logic/OneSixLibrary.h"
#include "logic/VersionFinal.h"
#include "MMCJson.h"
#include "logic/minecraft/VersionFile.h"
#include "logic/minecraft/OneSixLibrary.h"
#include "logic/minecraft/VersionFinal.h"
#include "logic/MMCJson.h"
using namespace MMCJson;

View File

@ -3,8 +3,8 @@
#include <QString>
#include <QStringList>
#include <memory>
#include "logic/OpSys.h"
#include "logic/OneSixRule.h"
#include "logic/minecraft/OpSys.h"
#include "logic/minecraft/OneSixRule.h"
#include "MMCError.h"
class VersionFinal;

View File

@ -13,17 +13,15 @@
* limitations under the License.
*/
#include "VersionFinal.h"
#include <QDebug>
#include <QFile>
#include <QDir>
#include "OneSixVersionBuilder.h"
#include "OneSixInstance.h"
#include "VersionFilterData.h"
#include <pathutils.h>
#include "logic/minecraft/VersionFinal.h"
#include "logic/minecraft/OneSixVersionBuilder.h"
#include "logic/OneSixInstance.h"
VersionFinal::VersionFinal(OneSixInstance *instance, QObject *parent)
: QAbstractListModel(parent), m_instance(instance)
{