diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-07-09 00:52:03 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-07-09 00:52:03 +0200 |
commit | dd86061f0ff6d19482e9a43af99156a55e60cf00 (patch) | |
tree | 7a943fb95037a7777315d8f6cead00c118e1bc17 /libutil/include/dlqueue.h | |
parent | ee5583251d92d47f96b03c3b447c115bab901c17 (diff) | |
download | MultiMC-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.h | 5 |
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(); |