diff options
author | Petr Mrázek <peterix@users.noreply.github.com> | 2020-10-13 21:44:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-13 21:44:20 +0200 |
commit | 4c62776044f3a7ad9efa3150ebec6150070502ed (patch) | |
tree | 81945f562b0970888b0c037bcacb95b0a8a95f0e /application/pages/modplatform/technic/TechnicData.h | |
parent | 762ddaea6578d552dabaffefd7ea6942776f3eff (diff) | |
parent | 8021fb25d0778bbc88bbfa052fcf2572807ee0f5 (diff) | |
download | MultiMC-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 'application/pages/modplatform/technic/TechnicData.h')
-rw-r--r-- | application/pages/modplatform/technic/TechnicData.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/application/pages/modplatform/technic/TechnicData.h b/application/pages/modplatform/technic/TechnicData.h new file mode 100644 index 00000000..5c746619 --- /dev/null +++ b/application/pages/modplatform/technic/TechnicData.h @@ -0,0 +1,40 @@ +/* Copyright 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 <QList> +#include <QString> + + +namespace Technic { +struct Modpack { + QString slug; + + QString name; + QString logoUrl; + QString logoName; + + bool broken = true; + + QString url; + bool isSolder = false; + QString minecraftVersion; + + bool metadataLoaded = false; +}; +} + +Q_DECLARE_METATYPE(Technic::Modpack) |