summaryrefslogtreecommitdiffstats
path: root/logic/net/SkinDownload.h
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2013-10-21 17:50:45 +0100
committerSky <git@bunnies.cc>2013-10-21 17:50:45 +0100
commitce512e1cf228584336353acbcacbdc30e21f5c4a (patch)
tree597fbcfd5a0aaef3721f33cf6ae26ac42d058ff9 /logic/net/SkinDownload.h
parent681d36b23251993a8678db8e72859d4018396b63 (diff)
downloadMultiMC-ce512e1cf228584336353acbcacbdc30e21f5c4a.tar
MultiMC-ce512e1cf228584336353acbcacbdc30e21f5c4a.tar.gz
MultiMC-ce512e1cf228584336353acbcacbdc30e21f5c4a.tar.lz
MultiMC-ce512e1cf228584336353acbcacbdc30e21f5c4a.tar.xz
MultiMC-ce512e1cf228584336353acbcacbdc30e21f5c4a.zip
Clean up skins, remove wrapper, save to accounts/skins
Diffstat (limited to 'logic/net/SkinDownload.h')
-rw-r--r--logic/net/SkinDownload.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/logic/net/SkinDownload.h b/logic/net/SkinDownload.h
deleted file mode 100644
index 56e5c01d..00000000
--- a/logic/net/SkinDownload.h
+++ /dev/null
@@ -1,38 +0,0 @@
-#pragma once
-
-#include "Download.h"
-#include "HttpMetaCache.h"
-#include "DownloadJob.h"
-#include <QFile>
-#include <QTemporaryFile>
-
-class SkinDownload : public QObject
-{
- Q_OBJECT
-
-public:
- explicit SkinDownload(QString name);
- QString m_name;
- QUrl m_url;
- MetaEntryPtr m_entry;
- DownloadJobPtr m_job;
-
- void start();
-
-protected slots:
- void downloadStarted();
- void downloadProgress(qint64 bytesReceived, qint64 bytesTotal);
- void downloadSucceeded();
- void downloadFailed();
-
-signals:
- void started();
- void progress(qint64 current, qint64 total);
- void succeeded();
- void failed();
-
-protected:
-
-};
-
-typedef std::shared_ptr<SkinDownload> SkinDownloadPtr;