aboutsummaryrefslogtreecommitdiff
path: root/launcher/net/Download.h
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/net/Download.h')
-rw-r--r--launcher/net/Download.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/launcher/net/Download.h b/launcher/net/Download.h
index 19f675ad..2fa318ef 100644
--- a/launcher/net/Download.h
+++ b/launcher/net/Download.h
@@ -59,7 +59,10 @@ class Download : public NetAction {
public:
~Download() override = default;
+#if defined(LAUNCHER_APPLICATION)
static auto makeCached(QUrl url, MetaEntryPtr entry, Options options = Option::NoOptions) -> Download::Ptr;
+#endif
+
static auto makeByteArray(QUrl url, std::shared_ptr<QByteArray> output, Options options = Option::NoOptions) -> Download::Ptr;
static auto makeFile(QUrl url, QString path, Options options = Option::NoOptions) -> Download::Ptr;