aboutsummaryrefslogtreecommitdiff
path: root/launcher/meta/Version.h
diff options
context:
space:
mode:
authorTheKodeToad <freezingma1l@outlook.com>2023-03-02 10:10:46 +0000
committerGitHub <noreply@github.com>2023-03-02 10:10:46 +0000
commit5c913149c84c121523a1ae403848d3e0926de244 (patch)
tree3789176d454bd988b7e572e5f411151efc2cb7e2 /launcher/meta/Version.h
parentcbe6eff2fa917401b913a96c551429caad852b3b (diff)
parent9265c319a96b3dd5681767c196a397fbbae9164a (diff)
downloadPrismLauncher-5c913149c84c121523a1ae403848d3e0926de244.tar.gz
PrismLauncher-5c913149c84c121523a1ae403848d3e0926de244.tar.bz2
PrismLauncher-5c913149c84c121523a1ae403848d3e0926de244.zip
Merge branch 'PrismLauncher:develop' into modrinth-token
Diffstat (limited to 'launcher/meta/Version.h')
-rw-r--r--launcher/meta/Version.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/launcher/meta/Version.h b/launcher/meta/Version.h
index 7228fa36..78156193 100644
--- a/launcher/meta/Version.h
+++ b/launcher/meta/Version.h
@@ -16,6 +16,7 @@
#pragma once
#include "BaseVersion.h"
+#include "../Version.h"
#include <QJsonObject>
#include <QStringList>
@@ -85,6 +86,8 @@ public:
QString localFilename() const override;
+ [[nodiscard]] ::Version toComparableVersion() const;
+
public: // for usage by format parsers only
void setType(const QString &type);
void setTime(const qint64 time);