summaryrefslogtreecommitdiffstats
path: root/libutil/include/dlqueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'libutil/include/dlqueue.h')
-rw-r--r--libutil/include/dlqueue.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libutil/include/dlqueue.h b/libutil/include/dlqueue.h
index 5fb9409c..14fa6e60 100644
--- a/libutil/include/dlqueue.h
+++ b/libutil/include/dlqueue.h
@@ -5,13 +5,16 @@
/**
* A single file for the downloader/cache to process.
*/
-class DownloadJob : public Job
+class LIBUTIL_EXPORT DownloadJob : public Job
{
Q_OBJECT
public:
DownloadJob(QUrl url, QString rel_target_path = QString(), QString expected_md5 = QString());
static JobPtr create(QUrl url, QString rel_target_path = QString(), QString expected_md5 = QString());
+
+public:
+ static bool ensurePathExists(QString filenamepath);
public slots:
virtual void start();