mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-09-02 21:19:25 +00:00
SCRATCH move things to the right places
This commit is contained in:
parent
473971b6e7
commit
141e0a02a0
@ -390,10 +390,10 @@ SET(MULTIMC_SOURCES
|
|||||||
logic/BaseProcess.cpp
|
logic/BaseProcess.cpp
|
||||||
logic/BaseInstance.h
|
logic/BaseInstance.h
|
||||||
logic/BaseInstance.cpp
|
logic/BaseInstance.cpp
|
||||||
logic/Mod.h
|
logic/minecraft/Mod.h
|
||||||
logic/Mod.cpp
|
logic/minecraft/Mod.cpp
|
||||||
logic/ModList.h
|
logic/minecraft/ModList.h
|
||||||
logic/ModList.cpp
|
logic/minecraft/ModList.cpp
|
||||||
|
|
||||||
# sets and maps for deciding based on versions
|
# sets and maps for deciding based on versions
|
||||||
logic/minecraft/VersionFilterData.h
|
logic/minecraft/VersionFilterData.h
|
||||||
@ -404,8 +404,8 @@ SET(MULTIMC_SOURCES
|
|||||||
gui/NagUtils.cpp
|
gui/NagUtils.cpp
|
||||||
|
|
||||||
# Player skin utilities
|
# Player skin utilities
|
||||||
logic/SkinUtils.h
|
logic/minecraft/SkinUtils.h
|
||||||
logic/SkinUtils.cpp
|
logic/minecraft/SkinUtils.cpp
|
||||||
|
|
||||||
# misc model filter
|
# misc model filter
|
||||||
|
|
||||||
@ -459,8 +459,8 @@ SET(MULTIMC_SOURCES
|
|||||||
logic/updater/UpdateChecker.cpp
|
logic/updater/UpdateChecker.cpp
|
||||||
logic/updater/DownloadUpdateTask.h
|
logic/updater/DownloadUpdateTask.h
|
||||||
logic/updater/DownloadUpdateTask.cpp
|
logic/updater/DownloadUpdateTask.cpp
|
||||||
logic/updater/NotificationChecker.h
|
logic/notifications/NotificationChecker.h
|
||||||
logic/updater/NotificationChecker.cpp
|
logic/notifications/NotificationChecker.cpp
|
||||||
|
|
||||||
# News System
|
# News System
|
||||||
logic/news/NewsChecker.h
|
logic/news/NewsChecker.h
|
||||||
@ -473,23 +473,23 @@ SET(MULTIMC_SOURCES
|
|||||||
logic/status/StatusChecker.cpp
|
logic/status/StatusChecker.cpp
|
||||||
|
|
||||||
# legacy instances
|
# legacy instances
|
||||||
logic/LegacyInstance.h
|
logic/minecraft/LegacyInstance.h
|
||||||
logic/LegacyInstance.cpp
|
logic/minecraft/LegacyInstance.cpp
|
||||||
logic/LegacyUpdate.h
|
logic/minecraft/LegacyUpdate.h
|
||||||
logic/LegacyUpdate.cpp
|
logic/minecraft/LegacyUpdate.cpp
|
||||||
|
|
||||||
# OneSix instances
|
# OneSix instances
|
||||||
logic/OneSixUpdate.h
|
logic/minecraft/OneSixUpdate.h
|
||||||
logic/OneSixUpdate.cpp
|
logic/minecraft/OneSixUpdate.cpp
|
||||||
logic/OneSixInstance.h
|
logic/minecraft/OneSixInstance.h
|
||||||
logic/OneSixInstance.cpp
|
logic/minecraft/OneSixInstance.cpp
|
||||||
|
|
||||||
# a smart pointer wrapper intended for safer use with Qt signal/slot mechanisms
|
# a smart pointer wrapper intended for safer use with Qt signal/slot mechanisms
|
||||||
logic/QObjectPtr.h
|
logic/QObjectPtr.h
|
||||||
|
|
||||||
# Common utils for instances
|
# Common utils for instances
|
||||||
logic/JarUtils.h
|
logic/minecraft/JarUtils.h
|
||||||
logic/JarUtils.cpp
|
logic/minecraft/JarUtils.cpp
|
||||||
|
|
||||||
# Minecraft support
|
# Minecraft support
|
||||||
logic/minecraft/GradleSpecifier.h
|
logic/minecraft/GradleSpecifier.h
|
||||||
@ -541,8 +541,8 @@ SET(MULTIMC_SOURCES
|
|||||||
|
|
||||||
logic/InstanceList.h
|
logic/InstanceList.h
|
||||||
logic/InstanceList.cpp
|
logic/InstanceList.cpp
|
||||||
logic/LwjglVersionList.h
|
logic/minecraft/LwjglVersionList.h
|
||||||
logic/LwjglVersionList.cpp
|
logic/minecraft/LwjglVersionList.cpp
|
||||||
|
|
||||||
# FTB
|
# FTB
|
||||||
logic/ftb/OneSixFTBInstance.h
|
logic/ftb/OneSixFTBInstance.h
|
||||||
@ -599,8 +599,8 @@ SET(MULTIMC_SOURCES
|
|||||||
logic/java/JavaCheckerJob.cpp
|
logic/java/JavaCheckerJob.cpp
|
||||||
|
|
||||||
# Assets
|
# Assets
|
||||||
logic/assets/AssetsUtils.h
|
logic/minecraft/AssetsUtils.h
|
||||||
logic/assets/AssetsUtils.cpp
|
logic/minecraft/AssetsUtils.cpp
|
||||||
|
|
||||||
# Tools
|
# Tools
|
||||||
logic/tools/BaseExternalTool.h
|
logic/tools/BaseExternalTool.h
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#include "logic/InstanceList.h"
|
#include "logic/InstanceList.h"
|
||||||
#include "logic/auth/MojangAccountList.h"
|
#include "logic/auth/MojangAccountList.h"
|
||||||
#include "logic/icons/IconList.h"
|
#include "logic/icons/IconList.h"
|
||||||
#include "logic/LwjglVersionList.h"
|
#include "logic/minecraft/LwjglVersionList.h"
|
||||||
#include "logic/minecraft/MinecraftVersionList.h"
|
#include "logic/minecraft/MinecraftVersionList.h"
|
||||||
#include "logic/liteloader/LiteLoaderVersionList.h"
|
#include "logic/liteloader/LiteLoaderVersionList.h"
|
||||||
|
|
||||||
|
@ -362,7 +362,7 @@ namespace Ui {
|
|||||||
|
|
||||||
#include "logic/InstanceList.h"
|
#include "logic/InstanceList.h"
|
||||||
#include "logic/minecraft/MinecraftVersionList.h"
|
#include "logic/minecraft/MinecraftVersionList.h"
|
||||||
#include "logic/LwjglVersionList.h"
|
#include "logic/minecraft/LwjglVersionList.h"
|
||||||
#include "logic/icons/IconList.h"
|
#include "logic/icons/IconList.h"
|
||||||
#include "logic/java/JavaVersionList.h"
|
#include "logic/java/JavaVersionList.h"
|
||||||
|
|
||||||
@ -378,18 +378,15 @@ namespace Ui {
|
|||||||
#include "logic/Env.h"
|
#include "logic/Env.h"
|
||||||
|
|
||||||
#include "logic/BaseInstance.h"
|
#include "logic/BaseInstance.h"
|
||||||
#include "logic/OneSixInstance.h"
|
|
||||||
#include "logic/BaseProcess.h"
|
#include "logic/BaseProcess.h"
|
||||||
#include "logic/OneSixUpdate.h"
|
|
||||||
#include "logic/java/JavaUtils.h"
|
#include "logic/java/JavaUtils.h"
|
||||||
#include "gui/NagUtils.h"
|
#include "gui/NagUtils.h"
|
||||||
#include "logic/SkinUtils.h"
|
#include "logic/minecraft/SkinUtils.h"
|
||||||
|
|
||||||
#include "logic/LegacyInstance.h"
|
//#include "logic/minecraft/LegacyInstance.h"
|
||||||
|
|
||||||
#include "logic/assets/AssetsUtils.h"
|
|
||||||
#include <logic/updater/UpdateChecker.h>
|
#include <logic/updater/UpdateChecker.h>
|
||||||
#include <logic/updater/NotificationChecker.h>
|
#include <logic/notifications/NotificationChecker.h>
|
||||||
#include <logic/tasks/ThreadTask.h>
|
#include <logic/tasks/ThreadTask.h>
|
||||||
#include "logic/net/CacheDownload.h"
|
#include "logic/net/CacheDownload.h"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#include <QModelIndex>
|
#include <QModelIndex>
|
||||||
#include <QDesktopServices>
|
#include <QDesktopServices>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <logic/Mod.h>
|
#include <logic/minecraft/Mod.h>
|
||||||
|
|
||||||
bool lastfirst(QModelIndexList &list, int &first, int &last);
|
bool lastfirst(QModelIndexList &list, int &first, int &last);
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
||||||
#include "logic/updater/NotificationChecker.h"
|
#include "logic/notifications/NotificationChecker.h"
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class NotificationDialog;
|
class NotificationDialog;
|
||||||
|
@ -17,9 +17,9 @@
|
|||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "logic/OneSixInstance.h"
|
|
||||||
#include "logic/net/NetJob.h"
|
#include "logic/net/NetJob.h"
|
||||||
#include "logic/java/JavaChecker.h"
|
#include "logic/java/JavaChecker.h"
|
||||||
|
#include "logic/BaseInstance.h"
|
||||||
#include "BasePage.h"
|
#include "BasePage.h"
|
||||||
#include "MultiMC.h"
|
#include "MultiMC.h"
|
||||||
|
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
#include "gui/dialogs/VersionSelectDialog.h"
|
#include "gui/dialogs/VersionSelectDialog.h"
|
||||||
#include "gui/dialogs/ProgressDialog.h"
|
#include "gui/dialogs/ProgressDialog.h"
|
||||||
#include "gui/dialogs/ModEditDialogCommon.h"
|
#include "gui/dialogs/ModEditDialogCommon.h"
|
||||||
#include "logic/ModList.h"
|
#include "logic/minecraft/ModList.h"
|
||||||
#include "logic/LegacyInstance.h"
|
#include "logic/minecraft/LegacyInstance.h"
|
||||||
#include "logic/forge/ForgeVersion.h"
|
#include "logic/forge/ForgeVersion.h"
|
||||||
#include "logic/forge/ForgeVersionList.h"
|
#include "logic/forge/ForgeVersionList.h"
|
||||||
#include "logic/Env.h"
|
#include "logic/Env.h"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "LegacyUpgradePage.h"
|
#include "LegacyUpgradePage.h"
|
||||||
#include "ui_LegacyUpgradePage.h"
|
#include "ui_LegacyUpgradePage.h"
|
||||||
|
|
||||||
#include "logic/LegacyInstance.h"
|
#include "logic/minecraft/LegacyInstance.h"
|
||||||
|
|
||||||
LegacyUpgradePage::LegacyUpgradePage(LegacyInstance *inst, QWidget *parent)
|
LegacyUpgradePage::LegacyUpgradePage(LegacyInstance *inst, QWidget *parent)
|
||||||
: QWidget(parent), ui(new Ui::LegacyUpgradePage), m_inst(inst)
|
: QWidget(parent), ui(new Ui::LegacyUpgradePage), m_inst(inst)
|
||||||
|
@ -17,9 +17,9 @@
|
|||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "logic/OneSixInstance.h"
|
#include "logic/minecraft/OneSixInstance.h"
|
||||||
#include "logic/net/NetJob.h"
|
#include "logic/net/NetJob.h"
|
||||||
#include "BasePage.h"
|
#include "gui/pages/BasePage.h"
|
||||||
#include <MultiMC.h>
|
#include <MultiMC.h>
|
||||||
|
|
||||||
namespace Ui
|
namespace Ui
|
||||||
|
@ -28,8 +28,8 @@
|
|||||||
#include "MultiMC.h"
|
#include "MultiMC.h"
|
||||||
#include "gui/dialogs/CustomMessageBox.h"
|
#include "gui/dialogs/CustomMessageBox.h"
|
||||||
#include "gui/dialogs/ModEditDialogCommon.h"
|
#include "gui/dialogs/ModEditDialogCommon.h"
|
||||||
#include "logic/ModList.h"
|
#include "logic/minecraft/ModList.h"
|
||||||
#include "logic/Mod.h"
|
#include "logic/minecraft/Mod.h"
|
||||||
#include "logic/minecraft/VersionFilterData.h"
|
#include "logic/minecraft/VersionFilterData.h"
|
||||||
|
|
||||||
ModFolderPage::ModFolderPage(BaseInstance *inst, std::shared_ptr<ModList> mods, QString id,
|
ModFolderPage::ModFolderPage(BaseInstance *inst, std::shared_ptr<ModList> mods, QString id,
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "logic/OneSixInstance.h"
|
#include "logic/minecraft/OneSixInstance.h"
|
||||||
#include "logic/net/NetJob.h"
|
#include "logic/net/NetJob.h"
|
||||||
#include "BasePage.h"
|
#include "BasePage.h"
|
||||||
#include <MultiMC.h>
|
#include <MultiMC.h>
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "logic/OneSixInstance.h"
|
|
||||||
#include "BasePage.h"
|
#include "BasePage.h"
|
||||||
#include <MultiMC.h>
|
#include <MultiMC.h>
|
||||||
|
|
||||||
|
@ -37,7 +37,6 @@
|
|||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
|
|
||||||
#include "logic/ModList.h"
|
|
||||||
#include "logic/minecraft/MinecraftProfile.h"
|
#include "logic/minecraft/MinecraftProfile.h"
|
||||||
#include "logic/forge/ForgeVersionList.h"
|
#include "logic/forge/ForgeVersionList.h"
|
||||||
#include "logic/forge/ForgeInstaller.h"
|
#include "logic/forge/ForgeInstaller.h"
|
||||||
@ -45,7 +44,7 @@
|
|||||||
#include "logic/liteloader/LiteLoaderInstaller.h"
|
#include "logic/liteloader/LiteLoaderInstaller.h"
|
||||||
#include "logic/minecraft/VersionBuilder.h"
|
#include "logic/minecraft/VersionBuilder.h"
|
||||||
#include "logic/auth/MojangAccountList.h"
|
#include "logic/auth/MojangAccountList.h"
|
||||||
#include "logic/Mod.h"
|
#include "logic/minecraft/Mod.h"
|
||||||
#include "logic/icons/IconList.h"
|
#include "logic/icons/IconList.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "logic/OneSixInstance.h"
|
#include "logic/minecraft/OneSixInstance.h"
|
||||||
#include "logic/net/NetJob.h"
|
#include "logic/net/NetJob.h"
|
||||||
#include "BasePage.h"
|
#include "BasePage.h"
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <QFrame>
|
#include <QFrame>
|
||||||
#include "logic/Mod.h"
|
#include "logic/minecraft/Mod.h"
|
||||||
|
|
||||||
namespace Ui
|
namespace Ui
|
||||||
{
|
{
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#include <QFile>
|
#include <QFile>
|
||||||
|
|
||||||
#include "logic/BaseInstaller.h"
|
#include "logic/BaseInstaller.h"
|
||||||
#include "logic/OneSixInstance.h"
|
#include "logic/minecraft/OneSixInstance.h"
|
||||||
|
|
||||||
BaseInstaller::BaseInstaller()
|
BaseInstaller::BaseInstaller()
|
||||||
{
|
{
|
||||||
|
@ -24,18 +24,13 @@
|
|||||||
#include "logic/settings/INIFile.h"
|
#include "logic/settings/INIFile.h"
|
||||||
#include "logic/BaseVersionList.h"
|
#include "logic/BaseVersionList.h"
|
||||||
#include "logic/auth/MojangAccount.h"
|
#include "logic/auth/MojangAccount.h"
|
||||||
#include "Mod.h"
|
|
||||||
|
|
||||||
class ModList;
|
|
||||||
class QDialog;
|
|
||||||
class QDir;
|
class QDir;
|
||||||
class Task;
|
class Task;
|
||||||
class BaseProcess;
|
class BaseProcess;
|
||||||
class OneSixUpdate;
|
class BaseInstance;
|
||||||
class BaseInstancePrivate;
|
|
||||||
|
|
||||||
// pointer for lazy people
|
// pointer for lazy people
|
||||||
class BaseInstance;
|
|
||||||
typedef std::shared_ptr<BaseInstance> InstancePtr;
|
typedef std::shared_ptr<BaseInstance> InstancePtr;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -25,16 +25,18 @@
|
|||||||
#include <QXmlStreamReader>
|
#include <QXmlStreamReader>
|
||||||
#include <QRegularExpression>
|
#include <QRegularExpression>
|
||||||
#include <pathutils.h>
|
#include <pathutils.h>
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
#include "logic/InstanceList.h"
|
#include "logic/InstanceList.h"
|
||||||
#include "logic/icons/IconList.h"
|
#include "logic/icons/IconList.h"
|
||||||
#include "logic/minecraft/MinecraftVersionList.h"
|
|
||||||
#include "logic/BaseInstance.h"
|
#include "logic/BaseInstance.h"
|
||||||
#include "logic/ftb/FTBPlugin.h"
|
|
||||||
|
//FIXME: this really doesn't belong *here*
|
||||||
|
#include "logic/minecraft/OneSixInstance.h"
|
||||||
|
#include "logic/minecraft/LegacyInstance.h"
|
||||||
|
#include "minecraft/MinecraftVersion.h"
|
||||||
#include "settings/INISettingsObject.h"
|
#include "settings/INISettingsObject.h"
|
||||||
#include "OneSixInstance.h"
|
#include "logic/ftb/FTBPlugin.h"
|
||||||
#include "LegacyInstance.h"
|
|
||||||
#include <QDebug>
|
|
||||||
|
|
||||||
const static int GROUP_FILE_FORMAT_VERSION = 1;
|
const static int GROUP_FILE_FORMAT_VERSION = 1;
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#include "logic/minecraft/OneSixLibrary.h"
|
#include "logic/minecraft/OneSixLibrary.h"
|
||||||
#include "logic/net/HttpMetaCache.h"
|
#include "logic/net/HttpMetaCache.h"
|
||||||
#include "logic/tasks/Task.h"
|
#include "logic/tasks/Task.h"
|
||||||
#include "logic/OneSixInstance.h"
|
#include "logic/minecraft/OneSixInstance.h"
|
||||||
#include "logic/forge/ForgeVersionList.h"
|
#include "logic/forge/ForgeVersionList.h"
|
||||||
#include "logic/minecraft/VersionFilterData.h"
|
#include "logic/minecraft/VersionFilterData.h"
|
||||||
#include "logic/Env.h"
|
#include "logic/Env.h"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "logic/Mod.h"
|
#include "logic/minecraft/Mod.h"
|
||||||
|
|
||||||
class MinecraftForge : public Mod
|
class MinecraftForge : public Mod
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "logic/LegacyInstance.h"
|
#include "logic/minecraft/LegacyInstance.h"
|
||||||
|
|
||||||
class LegacyFTBInstance : public LegacyInstance
|
class LegacyFTBInstance : public LegacyInstance
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "logic/OneSixInstance.h"
|
#include "logic/minecraft/OneSixInstance.h"
|
||||||
|
|
||||||
class OneSixLibrary;
|
class OneSixLibrary;
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#include "logic/minecraft/MinecraftProfile.h"
|
#include "logic/minecraft/MinecraftProfile.h"
|
||||||
#include "logic/minecraft/OneSixLibrary.h"
|
#include "logic/minecraft/OneSixLibrary.h"
|
||||||
#include "logic/OneSixInstance.h"
|
#include "logic/minecraft/OneSixInstance.h"
|
||||||
#include "logic/liteloader/LiteLoaderVersionList.h"
|
#include "logic/liteloader/LiteLoaderVersionList.h"
|
||||||
|
|
||||||
LiteLoaderInstaller::LiteLoaderInstaller() : BaseInstaller()
|
LiteLoaderInstaller::LiteLoaderInstaller() : BaseInstaller()
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "JarUtils.h"
|
#include "logic/minecraft/JarUtils.h"
|
||||||
#include <quazip.h>
|
#include <quazip.h>
|
||||||
#include <quazipfile.h>
|
#include <quazipfile.h>
|
||||||
#include <JlCompress.h>
|
#include <JlCompress.h>
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#include "LegacyInstance.h"
|
#include "LegacyInstance.h"
|
||||||
|
|
||||||
#include "logic/LegacyUpdate.h"
|
#include "logic/minecraft/LegacyUpdate.h"
|
||||||
#include "logic/icons/IconList.h"
|
#include "logic/icons/IconList.h"
|
||||||
#include "logic/minecraft/MinecraftProcess.h"
|
#include "logic/minecraft/MinecraftProcess.h"
|
||||||
#include "gui/pages/LegacyUpgradePage.h"
|
#include "gui/pages/LegacyUpgradePage.h"
|
@ -14,23 +14,22 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
|
|
||||||
#include <pathutils.h>
|
#include <pathutils.h>
|
||||||
#include <quazip.h>
|
#include <quazip.h>
|
||||||
#include <quazipfile.h>
|
#include <quazipfile.h>
|
||||||
#include <JlCompress.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 "logic/Env.h"
|
|
||||||
#include "logic/ModList.h"
|
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
|
#include "logic/Env.h"
|
||||||
|
#include "logic/BaseInstance.h"
|
||||||
#include "logic/net/URLConstants.h"
|
#include "logic/net/URLConstants.h"
|
||||||
#include "JarUtils.h"
|
|
||||||
|
#include "logic/minecraft/JarUtils.h"
|
||||||
|
#include "logic/minecraft/LegacyUpdate.h"
|
||||||
|
#include "logic/minecraft/LwjglVersionList.h"
|
||||||
|
#include "logic/minecraft/MinecraftVersionList.h"
|
||||||
|
#include "logic/minecraft/ModList.h"
|
||||||
|
#include "logic/minecraft/LegacyInstance.h"
|
||||||
|
|
||||||
LegacyUpdate::LegacyUpdate(BaseInstance *inst, QObject *parent) : Task(parent), m_inst(inst)
|
LegacyUpdate::LegacyUpdate(BaseInstance *inst, QObject *parent) : Task(parent), m_inst(inst)
|
||||||
{
|
{
|
@ -19,10 +19,10 @@
|
|||||||
#include <QAbstractListModel>
|
#include <QAbstractListModel>
|
||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
#include <QNetworkReply>
|
#include <QNetworkReply>
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include "BaseVersion.h"
|
|
||||||
#include "BaseVersionList.h"
|
#include "logic/BaseVersion.h"
|
||||||
|
#include "logic/BaseVersionList.h"
|
||||||
|
|
||||||
class LWJGLVersion;
|
class LWJGLVersion;
|
||||||
typedef std::shared_ptr<LWJGLVersion> PtrLWJGLVersion;
|
typedef std::shared_ptr<LWJGLVersion> PtrLWJGLVersion;
|
@ -1,5 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "logic/BaseInstance.h"
|
#include "logic/BaseInstance.h"
|
||||||
|
#include "logic/minecraft/Mod.h"
|
||||||
|
|
||||||
|
class ModList;
|
||||||
|
|
||||||
class MinecraftInstance: public BaseInstance
|
class MinecraftInstance: public BaseInstance
|
||||||
{
|
{
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
#include "logic/minecraft/VersionBuilder.h"
|
#include "logic/minecraft/VersionBuilder.h"
|
||||||
#include "ProfileUtils.h"
|
#include "ProfileUtils.h"
|
||||||
#include "NullProfileStrategy.h"
|
#include "NullProfileStrategy.h"
|
||||||
#include "logic/OneSixInstance.h"
|
|
||||||
|
|
||||||
MinecraftProfile::MinecraftProfile(ProfileStrategy *strategy)
|
MinecraftProfile::MinecraftProfile(ProfileStrategy *strategy)
|
||||||
: QAbstractListModel()
|
: QAbstractListModel()
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ModList.h"
|
#include "ModList.h"
|
||||||
#include "LegacyInstance.h"
|
|
||||||
#include <pathutils.h>
|
#include <pathutils.h>
|
||||||
#include <QMimeData>
|
#include <QMimeData>
|
||||||
#include <QUrl>
|
#include <QUrl>
|
@ -20,7 +20,7 @@
|
|||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QAbstractListModel>
|
#include <QAbstractListModel>
|
||||||
|
|
||||||
#include "logic/Mod.h"
|
#include "logic/minecraft/Mod.h"
|
||||||
|
|
||||||
class LegacyInstance;
|
class LegacyInstance;
|
||||||
class BaseInstance;
|
class BaseInstance;
|
@ -18,15 +18,15 @@
|
|||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include "MMCError.h"
|
#include "MMCError.h"
|
||||||
|
|
||||||
#include "logic/OneSixInstance.h"
|
#include "logic/minecraft/OneSixInstance.h"
|
||||||
|
|
||||||
#include "logic/OneSixUpdate.h"
|
#include "logic/minecraft/OneSixUpdate.h"
|
||||||
#include "logic/minecraft/MinecraftProfile.h"
|
#include "logic/minecraft/MinecraftProfile.h"
|
||||||
#include "minecraft/VersionBuildError.h"
|
#include "logic/minecraft/VersionBuildError.h"
|
||||||
#include "logic/minecraft/MinecraftProcess.h"
|
#include "logic/minecraft/MinecraftProcess.h"
|
||||||
#include "minecraft/OneSixProfileStrategy.h"
|
#include "logic/minecraft/OneSixProfileStrategy.h"
|
||||||
|
|
||||||
#include "logic/assets/AssetsUtils.h"
|
#include "logic/minecraft/AssetsUtils.h"
|
||||||
#include "logic/icons/IconList.h"
|
#include "logic/icons/IconList.h"
|
||||||
#include "gui/pagedialog/PageDialog.h"
|
#include "gui/pagedialog/PageDialog.h"
|
||||||
#include "gui/pages/VersionPage.h"
|
#include "gui/pages/VersionPage.h"
|
@ -18,7 +18,7 @@
|
|||||||
#include "logic/minecraft/MinecraftInstance.h"
|
#include "logic/minecraft/MinecraftInstance.h"
|
||||||
|
|
||||||
#include "logic/minecraft/MinecraftProfile.h"
|
#include "logic/minecraft/MinecraftProfile.h"
|
||||||
#include "logic/ModList.h"
|
#include "logic/minecraft/ModList.h"
|
||||||
#include "gui/pages/BasePageProvider.h"
|
#include "gui/pages/BasePageProvider.h"
|
||||||
|
|
||||||
class OneSixInstance : public MinecraftInstance, public BasePageProvider
|
class OneSixInstance : public MinecraftInstance, public BasePageProvider
|
@ -1,6 +1,6 @@
|
|||||||
#include "logic/minecraft/OneSixProfileStrategy.h"
|
#include "logic/minecraft/OneSixProfileStrategy.h"
|
||||||
#include "logic/minecraft/VersionBuildError.h"
|
#include "logic/minecraft/VersionBuildError.h"
|
||||||
#include "logic/OneSixInstance.h"
|
#include "logic/minecraft/OneSixInstance.h"
|
||||||
#include "logic/minecraft/MinecraftVersionList.h"
|
#include "logic/minecraft/MinecraftVersionList.h"
|
||||||
#include "logic/Env.h"
|
#include "logic/Env.h"
|
||||||
|
|
||||||
|
@ -29,11 +29,11 @@
|
|||||||
#include "logic/minecraft/MinecraftVersionList.h"
|
#include "logic/minecraft/MinecraftVersionList.h"
|
||||||
#include "logic/minecraft/MinecraftProfile.h"
|
#include "logic/minecraft/MinecraftProfile.h"
|
||||||
#include "logic/minecraft/OneSixLibrary.h"
|
#include "logic/minecraft/OneSixLibrary.h"
|
||||||
#include "logic/OneSixInstance.h"
|
#include "logic/minecraft/OneSixInstance.h"
|
||||||
#include "logic/forge/ForgeMirrors.h"
|
#include "logic/forge/ForgeMirrors.h"
|
||||||
#include "logic/net/URLConstants.h"
|
#include "logic/net/URLConstants.h"
|
||||||
#include "logic/assets/AssetsUtils.h"
|
#include "logic/minecraft/AssetsUtils.h"
|
||||||
#include "JarUtils.h"
|
#include "logic/minecraft/JarUtils.h"
|
||||||
|
|
||||||
OneSixUpdate::OneSixUpdate(OneSixInstance *inst, QObject *parent) : Task(parent), m_inst(inst)
|
OneSixUpdate::OneSixUpdate(OneSixInstance *inst, QObject *parent) : Task(parent), m_inst(inst)
|
||||||
{
|
{
|
@ -13,8 +13,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "logic/SkinUtils.h"
|
#include "logic/minecraft/SkinUtils.h"
|
||||||
#include "net/HttpMetaCache.h"
|
#include "logic/net/HttpMetaCache.h"
|
||||||
#include "logic/Env.h"
|
#include "logic/Env.h"
|
||||||
|
|
||||||
#include <QFile>
|
#include <QFile>
|
@ -35,7 +35,7 @@
|
|||||||
#include "MinecraftVersionList.h"
|
#include "MinecraftVersionList.h"
|
||||||
#include "ProfileUtils.h"
|
#include "ProfileUtils.h"
|
||||||
|
|
||||||
#include "logic/OneSixInstance.h"
|
#include "logic/minecraft/OneSixInstance.h"
|
||||||
#include "logic/MMCJson.h"
|
#include "logic/MMCJson.h"
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
Loading…
Reference in New Issue
Block a user