src/download.h

changeset 430
8458cf2719d1
parent 429
3488534b2b31
child 431
ec1e2059319b
--- a/src/download.h	Fri Aug 02 23:24:49 2013 +0300
+++ b/src/download.h	Sat Aug 03 00:56:02 2013 +0300
@@ -38,6 +38,7 @@
 	
 	PartDownloader() {}
 	void download();
+	static str getDownloadPath();
 	void operator()() { download(); }
 } g_PartDownloader;
 
@@ -56,10 +57,10 @@
 	explicit PartDownloadPrompt (QWidget* parent = null);
 	virtual ~PartDownloadPrompt();
 	str getURL() const;
-	str fullFilePath() const;
-	str getDest() const;
+	str getDest(str fname) const;
 	Source getSource() const;
-	void downloadFile (const str& path, bool primary);
+	void downloadFile (str dest, str url, bool primary);
+	void modifyDest (str& dest) const;
 	
 public slots:
 	void sourceChanged (int i);

mercurial