From efeb50a46ad824aa258472f6ac8da74810f05a55 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sat, 31 Mar 2018 13:16:02 +0900 Subject: Move source files to a separate folder It's been long overdue to separate them from the rest of the stuff (docs etc.). Also, this allows installing to a directory within the checked out git tree (say, ./install/, similar to ./build/). --- jobs/downloadfilejob.h | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 jobs/downloadfilejob.h (limited to 'jobs/downloadfilejob.h') diff --git a/jobs/downloadfilejob.h b/jobs/downloadfilejob.h deleted file mode 100644 index 1815a7c8..00000000 --- a/jobs/downloadfilejob.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once - -#include "generated/content-repo.h" - -namespace QMatrixClient -{ - class DownloadFileJob : public GetContentJob - { - public: - enum { FileError = BaseJob::UserDefinedError + 1 }; - - using GetContentJob::makeRequestUrl; - static QUrl makeRequestUrl(QUrl baseUrl, const QUrl& mxcUri); - - DownloadFileJob(const QString& serverName, const QString& mediaId, - const QString& localFilename = {}); - - QString targetFileName() const; - - private: - class Private; - QScopedPointer d; - - void beforeStart(const ConnectionData*) override; - void afterStart(const ConnectionData*, - QNetworkReply* reply) override; - void beforeAbandon(QNetworkReply*) override; - Status parseReply(QNetworkReply*) override; - }; -} -- cgit v1.2.3