From edfea9894ea3f6d4d244de5ba5ce015c1ccd7f39 Mon Sep 17 00:00:00 2001 From: Jamie Mansfield Date: Tue, 13 Oct 2020 21:15:00 +0100 Subject: NOISSUE Cleanup Technic support --- api/logic/modplatform/technic/SingleZipPackInstallTask.cpp | 1 - api/logic/modplatform/technic/SingleZipPackInstallTask.h | 6 ------ api/logic/modplatform/technic/SolderPackInstallTask.cpp | 1 - api/logic/modplatform/technic/SolderPackInstallTask.h | 2 -- api/logic/modplatform/technic/TechnicPackProcessor.cpp | 2 -- api/logic/modplatform/technic/TechnicPackProcessor.h | 2 -- 6 files changed, 14 deletions(-) (limited to 'api') diff --git a/api/logic/modplatform/technic/SingleZipPackInstallTask.cpp b/api/logic/modplatform/technic/SingleZipPackInstallTask.cpp index ca0de008..7901db04 100644 --- a/api/logic/modplatform/technic/SingleZipPackInstallTask.cpp +++ b/api/logic/modplatform/technic/SingleZipPackInstallTask.cpp @@ -13,7 +13,6 @@ * limitations under the License. */ - #include "SingleZipPackInstallTask.h" #include "Env.h" diff --git a/api/logic/modplatform/technic/SingleZipPackInstallTask.h b/api/logic/modplatform/technic/SingleZipPackInstallTask.h index 929476bb..99534130 100644 --- a/api/logic/modplatform/technic/SingleZipPackInstallTask.h +++ b/api/logic/modplatform/technic/SingleZipPackInstallTask.h @@ -13,12 +13,8 @@ * limitations under the License. */ - #pragma once -#ifndef TECHNIC_SINGLEZIPPACKINSTALLTASK_H -#define TECHNIC_SINGLEZIPPACKINSTALLTASK_H - #include "InstanceTask.h" #include "net/NetJob.h" #include "multimc_logic_export.h" @@ -60,5 +56,3 @@ private: }; } // namespace Technic - -#endif // TECHNIC_SINGLEZIPPACKINSTALLTASK_H diff --git a/api/logic/modplatform/technic/SolderPackInstallTask.cpp b/api/logic/modplatform/technic/SolderPackInstallTask.cpp index abdc0c0c..54ae6dff 100644 --- a/api/logic/modplatform/technic/SolderPackInstallTask.cpp +++ b/api/logic/modplatform/technic/SolderPackInstallTask.cpp @@ -13,7 +13,6 @@ * limitations under the License. */ - #include "SolderPackInstallTask.h" #include diff --git a/api/logic/modplatform/technic/SolderPackInstallTask.h b/api/logic/modplatform/technic/SolderPackInstallTask.h index d3a1d0fd..c3e3f6d9 100644 --- a/api/logic/modplatform/technic/SolderPackInstallTask.h +++ b/api/logic/modplatform/technic/SolderPackInstallTask.h @@ -13,7 +13,6 @@ * limitations under the License. */ - #pragma once #include @@ -22,7 +21,6 @@ #include - namespace Technic { class MULTIMC_LOGIC_EXPORT SolderPackInstallTask : public InstanceTask diff --git a/api/logic/modplatform/technic/TechnicPackProcessor.cpp b/api/logic/modplatform/technic/TechnicPackProcessor.cpp index f986a529..4a8191eb 100644 --- a/api/logic/modplatform/technic/TechnicPackProcessor.cpp +++ b/api/logic/modplatform/technic/TechnicPackProcessor.cpp @@ -13,7 +13,6 @@ * limitations under the License. */ - #include "TechnicPackProcessor.h" #include @@ -27,7 +26,6 @@ #include - void Technic::TechnicPackProcessor::run(SettingsObjectPtr globalSettings, const QString &instName, const QString &instIcon, const QString &stagingPath, const QString &minecraftVersion, const bool isSolder) { QString minecraftPath = FS::PathCombine(stagingPath, ".minecraft"); diff --git a/api/logic/modplatform/technic/TechnicPackProcessor.h b/api/logic/modplatform/technic/TechnicPackProcessor.h index 49d046a5..f0edb17a 100644 --- a/api/logic/modplatform/technic/TechnicPackProcessor.h +++ b/api/logic/modplatform/technic/TechnicPackProcessor.h @@ -13,13 +13,11 @@ * limitations under the License. */ - #pragma once #include #include "settings/SettingsObject.h" - namespace Technic { // not exporting it, only used in SingleZipPackInstallTask, InstanceImportTask and SolderPackInstallTask -- cgit