aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod/Mod.h
diff options
context:
space:
mode:
authorflow <flowlnlnln@gmail.com>2022-12-30 11:39:03 -0300
committerGitHub <noreply@github.com>2022-12-30 11:39:03 -0300
commitd55f47077aed0e2066f4b5d8f1bd208ffffd550e (patch)
treed4fd5898b35ea44b04c2515326ca54d64065d530 /launcher/minecraft/mod/Mod.h
parent67ac3da8a0eac959343fe86ca143b97f0f76543c (diff)
parent141e94369ed88e7099b46b45a0ed3683cada6329 (diff)
downloadPrismLauncher-d55f47077aed0e2066f4b5d8f1bd208ffffd550e.tar.gz
PrismLauncher-d55f47077aed0e2066f4b5d8f1bd208ffffd550e.tar.bz2
PrismLauncher-d55f47077aed0e2066f4b5d8f1bd208ffffd550e.zip
Merge pull request #626 from leo78913/mods-provider-column
closes https://github.com/PrismLauncher/PrismLauncher/issues/402
Diffstat (limited to 'launcher/minecraft/mod/Mod.h')
-rw-r--r--launcher/minecraft/mod/Mod.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/launcher/minecraft/mod/Mod.h b/launcher/minecraft/mod/Mod.h
index f336bec4..8185c8fc 100644
--- a/launcher/minecraft/mod/Mod.h
+++ b/launcher/minecraft/mod/Mod.h
@@ -39,6 +39,8 @@
#include <QFileInfo>
#include <QList>
+#include <optional>
+
#include "Resource.h"
#include "ModDetails.h"
@@ -61,6 +63,7 @@ public:
auto description() const -> QString;
auto authors() const -> QStringList;
auto status() const -> ModStatus;
+ auto provider() const -> std::optional<QString>;
auto metadata() -> std::shared_ptr<Metadata::ModStruct>;
auto metadata() const -> const std::shared_ptr<Metadata::ModStruct>;