diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-06-23 19:35:47 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-06-23 19:35:47 +0300 |
commit | cb2671a02c38de98c6671842a8bd7dcffcd6441b (patch) | |
tree | 6ad73a50c1498e61f3d4f899465cf31a5b7619e0 /launcher/modplatform/helpers/NetworkResourceAPI.h | |
parent | 0a566318315c4e1566cb4ef7c99321a025e998a2 (diff) | |
parent | 046d510134a0061c0a1fa89fda80355c9e2f11ff (diff) | |
download | PrismLauncher-cb2671a02c38de98c6671842a8bd7dcffcd6441b.tar.gz PrismLauncher-cb2671a02c38de98c6671842a8bd7dcffcd6441b.tar.bz2 PrismLauncher-cb2671a02c38de98c6671842a8bd7dcffcd6441b.zip |
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into curse
Diffstat (limited to 'launcher/modplatform/helpers/NetworkResourceAPI.h')
-rw-r--r-- | launcher/modplatform/helpers/NetworkResourceAPI.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/launcher/modplatform/helpers/NetworkResourceAPI.h b/launcher/modplatform/helpers/NetworkResourceAPI.h index 94813bec..84604e41 100644 --- a/launcher/modplatform/helpers/NetworkResourceAPI.h +++ b/launcher/modplatform/helpers/NetworkResourceAPI.h @@ -4,13 +4,14 @@ #pragma once +#include <memory> #include "modplatform/ResourceAPI.h" class NetworkResourceAPI : public ResourceAPI { public: Task::Ptr searchProjects(SearchArgs&&, SearchCallbacks&&) const override; - Task::Ptr getProject(QString addonId, QByteArray* response) const override; + Task::Ptr getProject(QString addonId, std::shared_ptr<QByteArray> response) const override; Task::Ptr getProjectInfo(ProjectInfoArgs&&, ProjectInfoCallbacks&&) const override; Task::Ptr getProjectVersions(VersionSearchArgs&&, VersionSearchCallbacks&&) const override; |