aboutsummaryrefslogtreecommitdiff
path: root/api/logic
diff options
context:
space:
mode:
authorJamie Mansfield <jmansfield@cadixdev.org>2020-10-13 21:15:00 +0100
committerJamie Mansfield <jmansfield@cadixdev.org>2020-11-13 16:38:18 +0000
commitedfea9894ea3f6d4d244de5ba5ce015c1ccd7f39 (patch)
treef7939bfa85f06bb2e23392508648cd45b447b45c /api/logic
parentfd1a8f039ad28263e8e8dd1fc6848f9809084283 (diff)
downloadPrismLauncher-edfea9894ea3f6d4d244de5ba5ce015c1ccd7f39.tar.gz
PrismLauncher-edfea9894ea3f6d4d244de5ba5ce015c1ccd7f39.tar.bz2
PrismLauncher-edfea9894ea3f6d4d244de5ba5ce015c1ccd7f39.zip
NOISSUE Cleanup Technic support
Diffstat (limited to 'api/logic')
-rw-r--r--api/logic/modplatform/technic/SingleZipPackInstallTask.cpp1
-rw-r--r--api/logic/modplatform/technic/SingleZipPackInstallTask.h6
-rw-r--r--api/logic/modplatform/technic/SolderPackInstallTask.cpp1
-rw-r--r--api/logic/modplatform/technic/SolderPackInstallTask.h2
-rw-r--r--api/logic/modplatform/technic/TechnicPackProcessor.cpp2
-rw-r--r--api/logic/modplatform/technic/TechnicPackProcessor.h2
6 files changed, 0 insertions, 14 deletions
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 <FileSystem.h>
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 <InstanceTask.h>
@@ -22,7 +21,6 @@
#include <QUrl>
-
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 <FileSystem.h>
@@ -27,7 +26,6 @@
#include <memory>
-
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 <QString>
#include "settings/SettingsObject.h"
-
namespace Technic
{
// not exporting it, only used in SingleZipPackInstallTask, InstanceImportTask and SolderPackInstallTask