aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/VersionFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/minecraft/VersionFile.h')
-rw-r--r--launcher/minecraft/VersionFile.h27
1 files changed, 13 insertions, 14 deletions
diff --git a/launcher/minecraft/VersionFile.h b/launcher/minecraft/VersionFile.h
index 8e9dd167..d8984a29 100644
--- a/launcher/minecraft/VersionFile.h
+++ b/launcher/minecraft/VersionFile.h
@@ -35,17 +35,17 @@
#pragma once
-#include <QString>
-#include <QStringList>
#include <QDateTime>
#include <QSet>
+#include <QString>
+#include <QStringList>
+#include <meta/JsonFormat.h>
#include <memory>
-#include "minecraft/Rule.h"
-#include "ProblemProvider.h"
-#include "Library.h"
#include "Agent.h"
-#include <meta/JsonFormat.h>
+#include "Library.h"
+#include "ProblemProvider.h"
+#include "minecraft/Rule.h"
class PackProfile;
class VersionFile;
@@ -54,14 +54,14 @@ struct MojangDownloadInfo;
struct MojangAssetIndexInfo;
using VersionFilePtr = std::shared_ptr<VersionFile>;
-class VersionFile : public ProblemContainer
-{
+class VersionFile : public ProblemContainer {
friend class MojangVersionFormat;
friend class OneSixVersionFormat;
-public: /* methods */
- void applyTo(LaunchProfile* profile, const RuntimeContext & runtimeContext);
-public: /* data */
+ public: /* methods */
+ void applyTo(LaunchProfile* profile, const RuntimeContext& runtimeContext);
+
+ public: /* data */
/// Prism Launcher: order hint for this version file if no explicit order is set
int order = 0;
@@ -149,11 +149,10 @@ public: /* data */
/// is volatile -- may be removed as soon as it is no longer needed by something else
bool m_volatile = false;
-public:
+ public:
// Mojang: DEPRECATED list of 'downloads' - client jar, server jar, windows server exe, maybe more.
- QMap <QString, std::shared_ptr<MojangDownloadInfo>> mojangDownloads;
+ QMap<QString, std::shared_ptr<MojangDownloadInfo>> mojangDownloads;
// Mojang: extended asset index download information
std::shared_ptr<MojangAssetIndexInfo> mojangAssetIndex;
};
-