summaryrefslogtreecommitdiffstats
path: root/api/logic/InstanceImportTask.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@users.noreply.github.com>2020-10-13 21:44:20 +0200
committerGitHub <noreply@github.com>2020-10-13 21:44:20 +0200
commit4c62776044f3a7ad9efa3150ebec6150070502ed (patch)
tree81945f562b0970888b0c037bcacb95b0a8a95f0e /api/logic/InstanceImportTask.h
parent762ddaea6578d552dabaffefd7ea6942776f3eff (diff)
parent8021fb25d0778bbc88bbfa052fcf2572807ee0f5 (diff)
downloadMultiMC-4c62776044f3a7ad9efa3150ebec6150070502ed.tar
MultiMC-4c62776044f3a7ad9efa3150ebec6150070502ed.tar.gz
MultiMC-4c62776044f3a7ad9efa3150ebec6150070502ed.tar.lz
MultiMC-4c62776044f3a7ad9efa3150ebec6150070502ed.tar.xz
MultiMC-4c62776044f3a7ad9efa3150ebec6150070502ed.zip
Merge pull request #3195 from kb-1000/technic-import
Technic pack import
Diffstat (limited to 'api/logic/InstanceImportTask.h')
-rw-r--r--api/logic/InstanceImportTask.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/api/logic/InstanceImportTask.h b/api/logic/InstanceImportTask.h
index d326391b..1e19354b 100644
--- a/api/logic/InstanceImportTask.h
+++ b/api/logic/InstanceImportTask.h
@@ -1,3 +1,18 @@
+/* Copyright 2013-2020 MultiMC Contributors
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
#pragma once
#include "InstanceTask.h"
@@ -29,6 +44,7 @@ private:
void processZipPack();
void processMultiMC();
void processFlame();
+ void processTechnic();
private slots:
void downloadSucceeded();
@@ -49,6 +65,7 @@ private: /* data */
enum class ModpackType{
Unknown,
MultiMC,
- Flame
+ Flame,
+ Technic
} m_modpackType = ModpackType::Unknown;
};