diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-02-11 00:40:58 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-04-12 20:57:18 +0200 |
commit | c8687a8d05cc62c062ac18f8a583ceee9ba6d7d9 (patch) | |
tree | 7a4bbd9428860c2d76d995c5c87cd0a96b3ea4fe /logic/minecraft/VersionBuilder.h | |
parent | 234f57b8e60fcae35bbfdf206655f4f438b99191 (diff) | |
download | PrismLauncher-c8687a8d05cc62c062ac18f8a583ceee9ba6d7d9.tar.gz PrismLauncher-c8687a8d05cc62c062ac18f8a583ceee9ba6d7d9.tar.bz2 PrismLauncher-c8687a8d05cc62c062ac18f8a583ceee9ba6d7d9.zip |
NOISSUE get rid of the obsolete version builder
Diffstat (limited to 'logic/minecraft/VersionBuilder.h')
-rw-r--r-- | logic/minecraft/VersionBuilder.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/logic/minecraft/VersionBuilder.h b/logic/minecraft/VersionBuilder.h deleted file mode 100644 index b2d23da5..00000000 --- a/logic/minecraft/VersionBuilder.h +++ /dev/null @@ -1,43 +0,0 @@ -/* Copyright 2013-2015 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 <QString> -#include <QMap> -#include "VersionFile.h" - -class MinecraftProfile; -class OneSixInstance; -class QJsonObject; -class QFileInfo; - -class VersionBuilder -{ - VersionBuilder(); -public: - static void build(MinecraftProfile *version, OneSixInstance *instance); - static void readJsonAndApplyToVersion(MinecraftProfile *version, const QJsonObject &obj); - -private: - MinecraftProfile *m_version; - OneSixInstance *m_instance; - - void buildInternal(); - - void readInstancePatches(); - - void readJsonAndApply(const QJsonObject &obj); -}; |