mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-16 17:11:37 +08:00
完善下载页面按钮的功能
This commit is contained in:
@@ -27,6 +27,7 @@ class SpkDownloadMgr : public QObject
|
||||
FailCannotCreateFile, ///< Failed because destination file cannot be created
|
||||
FailNoVaibleServer, ///< Failed because no server provides file size or download stalled on
|
||||
///< all of them
|
||||
FailCancel, ///< User has cancelled the task
|
||||
Fail
|
||||
};
|
||||
|
||||
@@ -67,6 +68,8 @@ class SpkDownloadMgr : public QObject
|
||||
*/
|
||||
static RemoteFileInfo GetRemoteFileInfo(QUrl url);
|
||||
|
||||
QString GetDestFilePath(QString downloadPath);
|
||||
|
||||
private:
|
||||
QList<QString> mServers; ///< Multithreaded download
|
||||
|
||||
|
||||
Reference in New Issue
Block a user