aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/flame/FlameAPI.h
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-15 16:34:33 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-15 16:34:33 -0700
commitfc656b6927914d64077e23690859996447908c57 (patch)
tree8d6724cbbaa453d71d77acd00429bd1541d32840 /launcher/modplatform/flame/FlameAPI.h
parentb1ffc8ddab7d9aff10b6195a75e6e58c43b233ca (diff)
downloadPrismLauncher-fc656b6927914d64077e23690859996447908c57.tar.gz
PrismLauncher-fc656b6927914d64077e23690859996447908c57.tar.bz2
PrismLauncher-fc656b6927914d64077e23690859996447908c57.zip
fix: when given a remost resource, download and identify it before import.
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/modplatform/flame/FlameAPI.h')
-rw-r--r--launcher/modplatform/flame/FlameAPI.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/launcher/modplatform/flame/FlameAPI.h b/launcher/modplatform/flame/FlameAPI.h
index 5811d717..f3b328a6 100644
--- a/launcher/modplatform/flame/FlameAPI.h
+++ b/launcher/modplatform/flame/FlameAPI.h
@@ -17,6 +17,7 @@ class FlameAPI : public NetworkResourceAPI {
Task::Ptr getProjects(QStringList addonIds, QByteArray* response) const override;
Task::Ptr matchFingerprints(const QList<uint>& fingerprints, QByteArray* response);
Task::Ptr getFiles(const QStringList& fileIds, QByteArray* response) const;
+ Task::Ptr getFile(const QString& addonId, const QString& fileId, QByteArray* response) const;
[[nodiscard]] auto getSortingMethods() const -> QList<ResourceAPI::SortingMethod> override;