diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-01-07 17:33:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-07 17:33:34 +0100 |
commit | f3f628410d3d4c9589b8ec2d06d492e7861c35a3 (patch) | |
tree | 415bb4e7bb92dd48bec8097ea73a8e63d5c0c10e /launcher/minecraft/mod/Mod.h | |
parent | 9901ecda4938827986e4754f770a2b35b64bb774 (diff) | |
parent | 0ebf04a021c633cd6a3cdd76514aa728dc253714 (diff) | |
download | PrismLauncher-f3f628410d3d4c9589b8ec2d06d492e7861c35a3.tar.gz PrismLauncher-f3f628410d3d4c9589b8ec2d06d492e7861c35a3.tar.bz2 PrismLauncher-f3f628410d3d4c9589b8ec2d06d492e7861c35a3.zip |
Merge pull request #576 from Ryex/identify-zip-packs
fix https://github.com/PrismLauncher/PrismLauncher/issues/349
Diffstat (limited to 'launcher/minecraft/mod/Mod.h')
-rw-r--r-- | launcher/minecraft/mod/Mod.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/launcher/minecraft/mod/Mod.h b/launcher/minecraft/mod/Mod.h index 8185c8fc..c4032538 100644 --- a/launcher/minecraft/mod/Mod.h +++ b/launcher/minecraft/mod/Mod.h @@ -71,6 +71,9 @@ public: void setStatus(ModStatus status); void setMetadata(std::shared_ptr<Metadata::ModStruct>&& metadata); void setMetadata(const Metadata::ModStruct& metadata) { setMetadata(std::make_shared<Metadata::ModStruct>(metadata)); } + void setDetails(const ModDetails& details); + + bool valid() const override; [[nodiscard]] auto compare(Resource const& other, SortType type) const -> std::pair<int, bool> override; [[nodiscard]] bool applyFilter(QRegularExpression filter) const override; |