diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-06-01 20:15:39 -0700 |
---|---|---|
committer | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-06-25 11:09:25 -0700 |
commit | 418677ef310ebde9e2ce6fa98e224b6d4d1aa9f4 (patch) | |
tree | 77a13e01c91575bced101f6b899577d6294d5596 /launcher/net/NetAction.h | |
parent | 9c10965997d873b0de56deef5d5ec5e768db1d8f (diff) | |
download | PrismLauncher-418677ef310ebde9e2ce6fa98e224b6d4d1aa9f4.tar.gz PrismLauncher-418677ef310ebde9e2ce6fa98e224b6d4d1aa9f4.tar.bz2 PrismLauncher-418677ef310ebde9e2ce6fa98e224b6d4d1aa9f4.zip |
refactor: override / mask static `make` functions for ApiDownload
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/net/NetAction.h')
-rw-r--r-- | launcher/net/NetAction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/launcher/net/NetAction.h b/launcher/net/NetAction.h index acb0672f..93076abc 100644 --- a/launcher/net/NetAction.h +++ b/launcher/net/NetAction.h @@ -59,6 +59,7 @@ class NetAction : public Task { void setNetwork(shared_qobject_ptr<QNetworkAccessManager> network) { m_network = network; } void addHeaderProxy(Net::HeaderProxy* proxy) { m_headerProxies.push_back(std::shared_ptr<Net::HeaderProxy>(proxy)); } + virtual void init() = 0; protected slots: virtual void downloadProgress(qint64 bytesReceived, qint64 bytesTotal) = 0; |