diff options
| author | Tannin <devnull@localhost> | 2013-05-19 11:36:36 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-05-19 11:36:36 +0200 |
| commit | 0beb88760b4c258b89daf5791069dc885c0c27aa (patch) | |
| tree | e86596d032ef4bc6ba7f2ce5823becd42adcbaca /src/downloadmanager.h | |
| parent | 4fbfc9aa54ed4499f54eb7b3cd942337f6b49e58 (diff) | |
- added hook for GetModuleFileName
- downloads are now identifiable by ID
- fixed a bug with the multi-select categories list
- fixed a problem with the nexus-login code breaking support for certain passwords
- fixed a bug where detection of archive invalidation didn't work correctly
- fixed ncc plugin trying to handle archives that aren't actually fomods
Diffstat (limited to 'src/downloadmanager.h')
| -rw-r--r-- | src/downloadmanager.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/downloadmanager.h b/src/downloadmanager.h index 407acd3c..b2fee921 100644 --- a/src/downloadmanager.h +++ b/src/downloadmanager.h @@ -75,6 +75,7 @@ public: private: struct DownloadInfo { + unsigned int m_DownloadID; QString m_FileName; QFile m_Output; QNetworkReply *m_Reply; @@ -108,7 +109,8 @@ private: bool isPausedState(); QString currentURL(); - + private: + static unsigned int s_NextDownloadID; private: DownloadInfo() : m_TotalSize(0), m_ReQueried(false) {} }; @@ -343,6 +345,8 @@ private: void setState(DownloadInfo *info, DownloadManager::DownloadState state); + DownloadInfo *downloadInfoByID(unsigned int id); + private: static const int AUTOMATIC_RETRIES = 3; |
