refactor: override / mask static make
functions for ApiDownload
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
@ -63,6 +63,8 @@ class Download : public NetAction {
|
||||
static auto makeByteArray(QUrl url, QByteArray* output, Options options = Option::NoOptions) -> Download::Ptr;
|
||||
static auto makeFile(QUrl url, QString path, Options options = Option::NoOptions) -> Download::Ptr;
|
||||
|
||||
void init() override {};
|
||||
|
||||
public:
|
||||
void addValidator(Validator* v);
|
||||
auto abort() -> bool override;
|
||||
@ -81,7 +83,7 @@ class Download : public NetAction {
|
||||
public slots:
|
||||
void executeTask() override;
|
||||
|
||||
private:
|
||||
protected:
|
||||
std::unique_ptr<Sink> m_sink;
|
||||
Options m_options;
|
||||
|
||||
|
Reference in New Issue
Block a user