summaryrefslogtreecommitdiffstats
path: root/libutil/include/dlqueue.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-07-09 00:52:03 +0200
committerPetr Mrázek <peterix@gmail.com>2013-07-09 00:52:03 +0200
commitdd86061f0ff6d19482e9a43af99156a55e60cf00 (patch)
tree7a943fb95037a7777315d8f6cead00c118e1bc17 /libutil/include/dlqueue.h
parentee5583251d92d47f96b03c3b447c115bab901c17 (diff)
downloadMultiMC-dd86061f0ff6d19482e9a43af99156a55e60cf00.tar
MultiMC-dd86061f0ff6d19482e9a43af99156a55e60cf00.tar.gz
MultiMC-dd86061f0ff6d19482e9a43af99156a55e60cf00.tar.lz
MultiMC-dd86061f0ff6d19482e9a43af99156a55e60cf00.tar.xz
MultiMC-dd86061f0ff6d19482e9a43af99156a55e60cf00.zip
Piddle-farting with 1.6 instances. Now with more json!
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();