aboutsummaryrefslogtreecommitdiff
path: root/logic
diff options
context:
space:
mode:
Diffstat (limited to 'logic')
-rw-r--r--logic/BaseInstaller.cpp2
-rw-r--r--logic/BaseInstance.h2
-rw-r--r--logic/CMakeLists.txt102
-rw-r--r--logic/InstanceList.cpp6
-rw-r--r--logic/launch/steps/LaunchMinecraft.cpp2
-rw-r--r--logic/minecraft/RawLibrary.h2
-rw-r--r--logic/minecraft/auth/AuthSession.cpp (renamed from logic/auth/AuthSession.cpp)0
-rw-r--r--logic/minecraft/auth/AuthSession.h (renamed from logic/auth/AuthSession.h)0
-rw-r--r--logic/minecraft/auth/MojangAccount.cpp (renamed from logic/auth/MojangAccount.cpp)0
-rw-r--r--logic/minecraft/auth/MojangAccount.h (renamed from logic/auth/MojangAccount.h)0
-rw-r--r--logic/minecraft/auth/MojangAccountList.cpp (renamed from logic/auth/MojangAccountList.cpp)4
-rw-r--r--logic/minecraft/auth/MojangAccountList.h (renamed from logic/auth/MojangAccountList.h)4
-rw-r--r--logic/minecraft/auth/YggdrasilTask.cpp (renamed from logic/auth/YggdrasilTask.cpp)5
-rw-r--r--logic/minecraft/auth/YggdrasilTask.h (renamed from logic/auth/YggdrasilTask.h)2
-rw-r--r--logic/minecraft/auth/flows/AuthenticateTask.cpp (renamed from logic/auth/flows/AuthenticateTask.cpp)5
-rw-r--r--logic/minecraft/auth/flows/AuthenticateTask.h (renamed from logic/auth/flows/AuthenticateTask.h)2
-rw-r--r--logic/minecraft/auth/flows/RefreshTask.cpp (renamed from logic/auth/flows/RefreshTask.cpp)5
-rw-r--r--logic/minecraft/auth/flows/RefreshTask.h (renamed from logic/auth/flows/RefreshTask.h)2
-rw-r--r--logic/minecraft/auth/flows/ValidateTask.cpp (renamed from logic/auth/flows/ValidateTask.cpp)5
-rw-r--r--logic/minecraft/auth/flows/ValidateTask.h (renamed from logic/auth/flows/ValidateTask.h)2
-rw-r--r--logic/minecraft/forge/ForgeInstaller.cpp (renamed from logic/forge/ForgeInstaller.cpp)5
-rw-r--r--logic/minecraft/forge/ForgeInstaller.h (renamed from logic/forge/ForgeInstaller.h)0
-rw-r--r--logic/minecraft/forge/ForgeMirror.h (renamed from logic/forge/ForgeMirror.h)0
-rw-r--r--logic/minecraft/forge/ForgeMirrors.cpp (renamed from logic/forge/ForgeMirrors.cpp)0
-rw-r--r--logic/minecraft/forge/ForgeMirrors.h (renamed from logic/forge/ForgeMirrors.h)5
-rw-r--r--logic/minecraft/forge/ForgeVersion.cpp (renamed from logic/forge/ForgeVersion.cpp)0
-rw-r--r--logic/minecraft/forge/ForgeVersion.h (renamed from logic/forge/ForgeVersion.h)0
-rw-r--r--logic/minecraft/forge/ForgeVersionList.cpp (renamed from logic/forge/ForgeVersionList.cpp)5
-rw-r--r--logic/minecraft/forge/ForgeVersionList.h (renamed from logic/forge/ForgeVersionList.h)3
-rw-r--r--logic/minecraft/forge/ForgeXzDownload.cpp (renamed from logic/forge/ForgeXzDownload.cpp)0
-rw-r--r--logic/minecraft/forge/ForgeXzDownload.h (renamed from logic/forge/ForgeXzDownload.h)0
-rw-r--r--logic/minecraft/forge/LegacyForge.cpp (renamed from logic/forge/LegacyForge.cpp)0
-rw-r--r--logic/minecraft/forge/LegacyForge.h (renamed from logic/forge/LegacyForge.h)0
-rw-r--r--logic/minecraft/ftb/FTBPlugin.cpp (renamed from logic/ftb/FTBPlugin.cpp)0
-rw-r--r--logic/minecraft/ftb/FTBPlugin.h (renamed from logic/ftb/FTBPlugin.h)0
-rw-r--r--logic/minecraft/ftb/FTBProfileStrategy.cpp (renamed from logic/ftb/FTBProfileStrategy.cpp)5
-rw-r--r--logic/minecraft/ftb/FTBProfileStrategy.h (renamed from logic/ftb/FTBProfileStrategy.h)4
-rw-r--r--logic/minecraft/ftb/FTBVersion.h (renamed from logic/ftb/FTBVersion.h)0
-rw-r--r--logic/minecraft/ftb/LegacyFTBInstance.cpp (renamed from logic/ftb/LegacyFTBInstance.cpp)0
-rw-r--r--logic/minecraft/ftb/LegacyFTBInstance.h (renamed from logic/ftb/LegacyFTBInstance.h)2
-rw-r--r--logic/minecraft/ftb/OneSixFTBInstance.cpp (renamed from logic/ftb/OneSixFTBInstance.cpp)4
-rw-r--r--logic/minecraft/ftb/OneSixFTBInstance.h (renamed from logic/ftb/OneSixFTBInstance.h)2
-rw-r--r--logic/minecraft/legacy/LegacyInstance.cpp (renamed from logic/minecraft/LegacyInstance.cpp)2
-rw-r--r--logic/minecraft/legacy/LegacyInstance.h (renamed from logic/minecraft/LegacyInstance.h)0
-rw-r--r--logic/minecraft/legacy/LegacyUpdate.cpp (renamed from logic/minecraft/LegacyUpdate.cpp)4
-rw-r--r--logic/minecraft/legacy/LegacyUpdate.h (renamed from logic/minecraft/LegacyUpdate.h)0
-rw-r--r--logic/minecraft/legacy/LwjglVersionList.cpp (renamed from logic/minecraft/LwjglVersionList.cpp)0
-rw-r--r--logic/minecraft/legacy/LwjglVersionList.h (renamed from logic/minecraft/LwjglVersionList.h)0
-rw-r--r--logic/minecraft/liteloader/LiteLoaderInstaller.cpp (renamed from logic/liteloader/LiteLoaderInstaller.cpp)4
-rw-r--r--logic/minecraft/liteloader/LiteLoaderInstaller.h (renamed from logic/liteloader/LiteLoaderInstaller.h)2
-rw-r--r--logic/minecraft/liteloader/LiteLoaderVersionList.cpp (renamed from logic/liteloader/LiteLoaderVersionList.cpp)0
-rw-r--r--logic/minecraft/liteloader/LiteLoaderVersionList.h (renamed from logic/liteloader/LiteLoaderVersionList.h)0
-rw-r--r--logic/minecraft/onesix/OneSixInstance.cpp (renamed from logic/minecraft/OneSixInstance.cpp)20
-rw-r--r--logic/minecraft/onesix/OneSixInstance.h (renamed from logic/minecraft/OneSixInstance.h)0
-rw-r--r--logic/minecraft/onesix/OneSixProfileStrategy.cpp (renamed from logic/minecraft/OneSixProfileStrategy.cpp)5
-rw-r--r--logic/minecraft/onesix/OneSixProfileStrategy.h (renamed from logic/minecraft/OneSixProfileStrategy.h)2
-rw-r--r--logic/minecraft/onesix/OneSixUpdate.cpp (renamed from logic/minecraft/OneSixUpdate.cpp)4
-rw-r--r--logic/minecraft/onesix/OneSixUpdate.h (renamed from logic/minecraft/OneSixUpdate.h)0
58 files changed, 118 insertions, 112 deletions
diff --git a/logic/BaseInstaller.cpp b/logic/BaseInstaller.cpp
index d8e83bb2..cb762ebd 100644
--- a/logic/BaseInstaller.cpp
+++ b/logic/BaseInstaller.cpp
@@ -16,7 +16,7 @@
#include <QFile>
#include "BaseInstaller.h"
-#include "minecraft/OneSixInstance.h"
+#include "minecraft/onesix/OneSixInstance.h"
BaseInstaller::BaseInstaller()
{
diff --git a/logic/BaseInstance.h b/logic/BaseInstance.h
index cc8ebb02..392cb3d9 100644
--- a/logic/BaseInstance.h
+++ b/logic/BaseInstance.h
@@ -24,7 +24,7 @@
#include "settings/INIFile.h"
#include "BaseVersionList.h"
-#include "auth/MojangAccount.h"
+#include "minecraft/auth/MojangAccount.h"
#include "launch/MessageLevel.h"
#include "pathmatcher/IPathMatcher.h"
diff --git a/logic/CMakeLists.txt b/logic/CMakeLists.txt
index 0a6cbbf6..40311baf 100644
--- a/logic/CMakeLists.txt
+++ b/logic/CMakeLists.txt
@@ -95,20 +95,20 @@ set(LOGIC_SOURCES
net/URLConstants.cpp
# Yggdrasil login stuff
- auth/AuthSession.h
- auth/AuthSession.cpp
- auth/MojangAccountList.h
- auth/MojangAccountList.cpp
- auth/MojangAccount.h
- auth/MojangAccount.cpp
- auth/YggdrasilTask.h
- auth/YggdrasilTask.cpp
- auth/flows/AuthenticateTask.h
- auth/flows/AuthenticateTask.cpp
- auth/flows/RefreshTask.cpp
- auth/flows/RefreshTask.cpp
- auth/flows/ValidateTask.h
- auth/flows/ValidateTask.cpp
+ minecraft/auth/AuthSession.h
+ minecraft/auth/AuthSession.cpp
+ minecraft/auth/MojangAccountList.h
+ minecraft/auth/MojangAccountList.cpp
+ minecraft/auth/MojangAccount.h
+ minecraft/auth/MojangAccount.cpp
+ minecraft/auth/YggdrasilTask.h
+ minecraft/auth/YggdrasilTask.cpp
+ minecraft/auth/flows/AuthenticateTask.h
+ minecraft/auth/flows/AuthenticateTask.cpp
+ minecraft/auth/flows/RefreshTask.cpp
+ minecraft/auth/flows/RefreshTask.cpp
+ minecraft/auth/flows/ValidateTask.h
+ minecraft/auth/flows/ValidateTask.cpp
# Game launch logic
launch/steps/CheckJava.cpp
@@ -157,16 +157,18 @@ set(LOGIC_SOURCES
status/StatusChecker.cpp
# Minecraft support
- minecraft/OneSixUpdate.h
- minecraft/OneSixUpdate.cpp
- minecraft/OneSixInstance.h
- minecraft/OneSixInstance.cpp
- minecraft/LegacyUpdate.h
- minecraft/LegacyUpdate.cpp
- minecraft/LegacyInstance.h
- minecraft/LegacyInstance.cpp
- minecraft/LwjglVersionList.h
- minecraft/LwjglVersionList.cpp
+ minecraft/onesix/OneSixUpdate.h
+ minecraft/onesix/OneSixUpdate.cpp
+ minecraft/onesix/OneSixInstance.h
+ minecraft/onesix/OneSixInstance.cpp
+ minecraft/onesix/OneSixProfileStrategy.cpp
+ minecraft/onesix/OneSixProfileStrategy.h
+ minecraft/legacy/LegacyUpdate.h
+ minecraft/legacy/LegacyUpdate.cpp
+ minecraft/legacy/LegacyInstance.h
+ minecraft/legacy/LegacyInstance.cpp
+ minecraft/legacy/LwjglVersionList.h
+ minecraft/legacy/LwjglVersionList.cpp
minecraft/SkinUtils.h
minecraft/SkinUtils.cpp
minecraft/GradleSpecifier.h
@@ -181,8 +183,6 @@ set(LOGIC_SOURCES
minecraft/MinecraftVersionList.cpp
minecraft/MinecraftVersionList.h
minecraft/NullProfileStrategy.h
- minecraft/OneSixProfileStrategy.cpp
- minecraft/OneSixProfileStrategy.h
minecraft/OneSixRule.cpp
minecraft/OneSixRule.h
minecraft/OpSys.cpp
@@ -211,14 +211,14 @@ set(LOGIC_SOURCES
minecraft/WorldList.cpp
# FTB
- ftb/OneSixFTBInstance.h
- ftb/OneSixFTBInstance.cpp
- ftb/LegacyFTBInstance.h
- ftb/LegacyFTBInstance.cpp
- ftb/FTBProfileStrategy.h
- ftb/FTBProfileStrategy.cpp
- ftb/FTBPlugin.h
- ftb/FTBPlugin.cpp
+ minecraft/ftb/OneSixFTBInstance.h
+ minecraft/ftb/OneSixFTBInstance.cpp
+ minecraft/ftb/LegacyFTBInstance.h
+ minecraft/ftb/LegacyFTBInstance.cpp
+ minecraft/ftb/FTBProfileStrategy.h
+ minecraft/ftb/FTBProfileStrategy.cpp
+ minecraft/ftb/FTBPlugin.h
+ minecraft/ftb/FTBPlugin.cpp
# A Recursive file system watcher
RecursiveFileSystemWatcher.h
@@ -278,25 +278,25 @@ set(LOGIC_SOURCES
minecraft/AssetsUtils.cpp
# Forge and all things forge related
- forge/ForgeVersion.h
- forge/ForgeVersion.cpp
- forge/ForgeVersionList.h
- forge/ForgeVersionList.cpp
- forge/ForgeMirror.h
- forge/ForgeMirrors.h
- forge/ForgeMirrors.cpp
- forge/ForgeXzDownload.h
- forge/ForgeXzDownload.cpp
- forge/LegacyForge.h
- forge/LegacyForge.cpp
- forge/ForgeInstaller.h
- forge/ForgeInstaller.cpp
+ minecraft/forge/ForgeVersion.h
+ minecraft/forge/ForgeVersion.cpp
+ minecraft/forge/ForgeVersionList.h
+ minecraft/forge/ForgeVersionList.cpp
+ minecraft/forge/ForgeMirror.h
+ minecraft/forge/ForgeMirrors.h
+ minecraft/forge/ForgeMirrors.cpp
+ minecraft/forge/ForgeXzDownload.h
+ minecraft/forge/ForgeXzDownload.cpp
+ minecraft/forge/LegacyForge.h
+ minecraft/forge/LegacyForge.cpp
+ minecraft/forge/ForgeInstaller.h
+ minecraft/forge/ForgeInstaller.cpp
# Liteloader and related things
- liteloader/LiteLoaderInstaller.h
- liteloader/LiteLoaderInstaller.cpp
- liteloader/LiteLoaderVersionList.h
- liteloader/LiteLoaderVersionList.cpp
+ minecraft/liteloader/LiteLoaderInstaller.h
+ minecraft/liteloader/LiteLoaderInstaller.cpp
+ minecraft/liteloader/LiteLoaderVersionList.h
+ minecraft/liteloader/LiteLoaderVersionList.cpp
# Translations
trans/TranslationDownloader.h
diff --git a/logic/InstanceList.cpp b/logic/InstanceList.cpp
index a8acdf05..8197fe24 100644
--- a/logic/InstanceList.cpp
+++ b/logic/InstanceList.cpp
@@ -31,11 +31,11 @@
#include "BaseInstance.h"
//FIXME: this really doesn't belong *here*
-#include "minecraft/OneSixInstance.h"
-#include "minecraft/LegacyInstance.h"
+#include "minecraft/onesix/OneSixInstance.h"
+#include "minecraft/legacy/LegacyInstance.h"
+#include "minecraft/ftb/FTBPlugin.h"
#include "minecraft/MinecraftVersion.h"
#include "settings/INISettingsObject.h"
-#include "ftb/FTBPlugin.h"
#include "NullInstance.h"
#include "FileSystem.h"
#include "pathmatcher/RegexpMatcher.h"
diff --git a/logic/launch/steps/LaunchMinecraft.cpp b/logic/launch/steps/LaunchMinecraft.cpp
index 05b1d948..b0fe056f 100644
--- a/logic/launch/steps/LaunchMinecraft.cpp
+++ b/logic/launch/steps/LaunchMinecraft.cpp
@@ -15,7 +15,7 @@
#include "LaunchMinecraft.h"
#include <launch/LaunchTask.h>
-#include <minecraft/OneSixInstance.h>
+#include <minecraft/MinecraftInstance.h>
#include <FileSystem.h>
#include <QStandardPaths>
diff --git a/logic/minecraft/RawLibrary.h b/logic/minecraft/RawLibrary.h
index 7f0aed2f..62791239 100644
--- a/logic/minecraft/RawLibrary.h
+++ b/logic/minecraft/RawLibrary.h
@@ -8,7 +8,7 @@
#include <QUrl>
#include <memory>
-#include "minecraft/OneSixRule.h"
+#include "OneSixRule.h"
#include "minecraft/OpSys.h"
#include "GradleSpecifier.h"
#include "net/URLConstants.h"
diff --git a/logic/auth/AuthSession.cpp b/logic/minecraft/auth/AuthSession.cpp
index 8758bfbd..8758bfbd 100644
--- a/logic/auth/AuthSession.cpp
+++ b/logic/minecraft/auth/AuthSession.cpp
diff --git a/logic/auth/AuthSession.h b/logic/minecraft/auth/AuthSession.h
index dede90a9..dede90a9 100644
--- a/logic/auth/AuthSession.h
+++ b/logic/minecraft/auth/AuthSession.h
diff --git a/logic/auth/MojangAccount.cpp b/logic/minecraft/auth/MojangAccount.cpp
index 69a24c09..69a24c09 100644
--- a/logic/auth/MojangAccount.cpp
+++ b/logic/minecraft/auth/MojangAccount.cpp
diff --git a/logic/auth/MojangAccount.h b/logic/minecraft/auth/MojangAccount.h
index 2de0c19c..2de0c19c 100644
--- a/logic/auth/MojangAccount.h
+++ b/logic/minecraft/auth/MojangAccount.h
diff --git a/logic/auth/MojangAccountList.cpp b/logic/minecraft/auth/MojangAccountList.cpp
index dac3d67f..26cbc81a 100644
--- a/logic/auth/MojangAccountList.cpp
+++ b/logic/minecraft/auth/MojangAccountList.cpp
@@ -13,7 +13,8 @@
* limitations under the License.
*/
-#include "auth/MojangAccountList.h"
+#include "MojangAccountList.h"
+#include "MojangAccount.h"
#include <QIODevice>
#include <QFile>
@@ -26,7 +27,6 @@
#include <QDebug>
-#include "auth/MojangAccount.h"
#include <FileSystem.h>
#define ACCOUNT_LIST_FORMAT_VERSION 2
diff --git a/logic/auth/MojangAccountList.h b/logic/minecraft/auth/MojangAccountList.h
index 49b71fab..c40fa6a3 100644
--- a/logic/auth/MojangAccountList.h
+++ b/logic/minecraft/auth/MojangAccountList.h
@@ -15,13 +15,13 @@
#pragma once
+#include "MojangAccount.h"
+
#include <QObject>
#include <QVariant>
#include <QAbstractListModel>
#include <QSharedPointer>
-#include "auth/MojangAccount.h"
-
#include "multimc_logic_export.h"
/*!
diff --git a/logic/auth/YggdrasilTask.cpp b/logic/minecraft/auth/YggdrasilTask.cpp
index 929ab0bf..c6971c9f 100644
--- a/logic/auth/YggdrasilTask.cpp
+++ b/logic/minecraft/auth/YggdrasilTask.cpp
@@ -13,7 +13,8 @@
* limitations under the License.
*/
-#include <auth/YggdrasilTask.h>
+#include "YggdrasilTask.h"
+#include "MojangAccount.h"
#include <QObject>
#include <QString>
@@ -23,7 +24,7 @@
#include <QByteArray>
#include <Env.h>
-#include <auth/MojangAccount.h>
+
#include <net/URLConstants.h>
#include <QDebug>
diff --git a/logic/auth/YggdrasilTask.h b/logic/minecraft/auth/YggdrasilTask.h
index d989bee3..c84cfc06 100644
--- a/logic/auth/YggdrasilTask.h
+++ b/logic/minecraft/auth/YggdrasilTask.h
@@ -22,7 +22,7 @@
#include <QTimer>
#include <qsslerror.h>
-#include "auth/MojangAccount.h"
+#include "MojangAccount.h"
class QNetworkReply;
diff --git a/logic/auth/flows/AuthenticateTask.cpp b/logic/minecraft/auth/flows/AuthenticateTask.cpp
index a609d28b..8d136f0b 100644
--- a/logic/auth/flows/AuthenticateTask.cpp
+++ b/logic/minecraft/auth/flows/AuthenticateTask.cpp
@@ -14,9 +14,8 @@
* limitations under the License.
*/
-#include <auth/flows/AuthenticateTask.h>
-
-#include <auth/MojangAccount.h>
+#include "AuthenticateTask.h"
+#include "../MojangAccount.h"
#include <QJsonDocument>
#include <QJsonObject>
diff --git a/logic/auth/flows/AuthenticateTask.h b/logic/minecraft/auth/flows/AuthenticateTask.h
index 65975ae5..398fab98 100644
--- a/logic/auth/flows/AuthenticateTask.h
+++ b/logic/minecraft/auth/flows/AuthenticateTask.h
@@ -15,7 +15,7 @@
#pragma once
-#include <auth/YggdrasilTask.h>
+#include "../YggdrasilTask.h"
#include <QObject>
#include <QString>
diff --git a/logic/auth/flows/RefreshTask.cpp b/logic/minecraft/auth/flows/RefreshTask.cpp
index 83511200..a0fb2e48 100644
--- a/logic/auth/flows/RefreshTask.cpp
+++ b/logic/minecraft/auth/flows/RefreshTask.cpp
@@ -13,9 +13,8 @@
* limitations under the License.
*/
-#include <auth/flows/RefreshTask.h>
-
-#include <auth/MojangAccount.h>
+#include "RefreshTask.h"
+#include "../MojangAccount.h"
#include <QJsonDocument>
#include <QJsonObject>
diff --git a/logic/auth/flows/RefreshTask.h b/logic/minecraft/auth/flows/RefreshTask.h
index 6894e963..17714b4f 100644
--- a/logic/auth/flows/RefreshTask.h
+++ b/logic/minecraft/auth/flows/RefreshTask.h
@@ -15,7 +15,7 @@
#pragma once
-#include <auth/YggdrasilTask.h>
+#include "../YggdrasilTask.h"
#include <QObject>
#include <QString>
diff --git a/logic/auth/flows/ValidateTask.cpp b/logic/minecraft/auth/flows/ValidateTask.cpp
index 9a4dcd6d..4deceb6a 100644
--- a/logic/auth/flows/ValidateTask.cpp
+++ b/logic/minecraft/auth/flows/ValidateTask.cpp
@@ -14,9 +14,8 @@
* limitations under the License.
*/
-#include <auth/flows/ValidateTask.h>
-
-#include <auth/MojangAccount.h>
+#include "ValidateTask.h"
+#include "../MojangAccount.h"
#include <QJsonDocument>
#include <QJsonObject>
diff --git a/logic/auth/flows/ValidateTask.h b/logic/minecraft/auth/flows/ValidateTask.h
index 204596f9..77d628a0 100644
--- a/logic/auth/flows/ValidateTask.h
+++ b/logic/minecraft/auth/flows/ValidateTask.h
@@ -19,7 +19,7 @@
#pragma once
-#include <auth/YggdrasilTask.h>
+#include "../YggdrasilTask.h"
#include <QObject>
#include <QString>
diff --git a/logic/forge/ForgeInstaller.cpp b/logic/minecraft/forge/ForgeInstaller.cpp
index 78acb8d4..a9283e5d 100644
--- a/logic/forge/ForgeInstaller.cpp
+++ b/logic/minecraft/forge/ForgeInstaller.cpp
@@ -14,12 +14,13 @@
*/
#include "ForgeInstaller.h"
+#include "ForgeVersionList.h"
+
#include "minecraft/MinecraftProfile.h"
#include "minecraft/GradleSpecifier.h"
#include "net/HttpMetaCache.h"
#include "tasks/Task.h"
-#include "minecraft/OneSixInstance.h"
-#include "forge/ForgeVersionList.h"
+#include "minecraft/onesix/OneSixInstance.h"
#include "minecraft/VersionFilterData.h"
#include "Env.h"
#include "Exception.h"
diff --git a/logic/forge/ForgeInstaller.h b/logic/minecraft/forge/ForgeInstaller.h
index 0de762b6..0de762b6 100644
--- a/logic/forge/ForgeInstaller.h
+++ b/logic/minecraft/forge/ForgeInstaller.h
diff --git a/logic/forge/ForgeMirror.h b/logic/minecraft/forge/ForgeMirror.h
index 2518dffe..2518dffe 100644
--- a/logic/forge/ForgeMirror.h
+++ b/logic/minecraft/forge/ForgeMirror.h
diff --git a/logic/forge/ForgeMirrors.cpp b/logic/minecraft/forge/ForgeMirrors.cpp
index a2fc2c62..a2fc2c62 100644
--- a/logic/forge/ForgeMirrors.cpp
+++ b/logic/minecraft/forge/ForgeMirrors.cpp
diff --git a/logic/forge/ForgeMirrors.h b/logic/minecraft/forge/ForgeMirrors.h
index e7c90fa5..0312829b 100644
--- a/logic/forge/ForgeMirrors.h
+++ b/logic/minecraft/forge/ForgeMirrors.h
@@ -15,12 +15,15 @@
#pragma once
+#include "ForgeXzDownload.h"
+
#include "net/NetAction.h"
#include "net/HttpMetaCache.h"
#include "net/NetJob.h"
-#include "forge/ForgeXzDownload.h"
+
#include <QFile>
#include <QTemporaryFile>
+
typedef std::shared_ptr<class ForgeMirrors> ForgeMirrorsPtr;
class ForgeMirrors : public NetAction
diff --git a/logic/forge/ForgeVersion.cpp b/logic/minecraft/forge/ForgeVersion.cpp
index b859a28c..b859a28c 100644
--- a/logic/forge/ForgeVersion.cpp
+++ b/logic/minecraft/forge/ForgeVersion.cpp
diff --git a/logic/forge/ForgeVersion.h b/logic/minecraft/forge/ForgeVersion.h
index e77d32f1..e77d32f1 100644
--- a/logic/forge/ForgeVersion.h
+++ b/logic/minecraft/forge/ForgeVersion.h
diff --git a/logic/forge/ForgeVersionList.cpp b/logic/minecraft/forge/ForgeVersionList.cpp
index a05ced99..9b418310 100644
--- a/logic/forge/ForgeVersionList.cpp
+++ b/logic/minecraft/forge/ForgeVersionList.cpp
@@ -13,8 +13,9 @@
* limitations under the License.
*/
-#include "forge/ForgeVersionList.h"
-#include "forge/ForgeVersion.h"
+#include "ForgeVersionList.h"
+#include "ForgeVersion.h"
+
#include "net/NetJob.h"
#include "net/URLConstants.h"
#include "Env.h"
diff --git a/logic/forge/ForgeVersionList.h b/logic/minecraft/forge/ForgeVersionList.h
index dbf4b5de..308503e3 100644
--- a/logic/forge/ForgeVersionList.h
+++ b/logic/minecraft/forge/ForgeVersionList.h
@@ -15,6 +15,8 @@
#pragma once
+#include "ForgeVersion.h"
+
#include <QObject>
#include <QAbstractListModel>
#include <QUrl>
@@ -23,7 +25,6 @@
#include "BaseVersionList.h"
#include "tasks/Task.h"
#include "net/NetJob.h"
-#include "forge/ForgeVersion.h"
#include "multimc_logic_export.h"
diff --git a/logic/forge/ForgeXzDownload.cpp b/logic/minecraft/forge/ForgeXzDownload.cpp
index 6009e31e..6009e31e 100644
--- a/logic/forge/ForgeXzDownload.cpp
+++ b/logic/minecraft/forge/ForgeXzDownload.cpp
diff --git a/logic/forge/ForgeXzDownload.h b/logic/minecraft/forge/ForgeXzDownload.h
index 45722812..45722812 100644
--- a/logic/forge/ForgeXzDownload.h
+++ b/