summaryrefslogtreecommitdiff
path: root/methods/mirror.h
diff options
context:
space:
mode:
Diffstat (limited to 'methods/mirror.h')
-rw-r--r--methods/mirror.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/methods/mirror.h b/methods/mirror.h
index 798f5a9b5..ed817806b 100644
--- a/methods/mirror.h
+++ b/methods/mirror.h
@@ -26,13 +26,14 @@ class MirrorMethod : public HttpMethod
// we simply transform between BaseUri and Mirror
string BaseUri; // the original mirror://... url
string Mirror; // the selected mirror uri (http://...)
- string MirrorFile; //
- bool HasMirrorFile;
+ string MirrorFile; // the file that contains the list of mirrors
+ bool DownloadedMirrorFile; // already downloaded this session
bool Debug;
protected:
- bool GetMirrorFile(string uri);
+ bool DownloadMirrorFile(string uri);
+ string GetMirrorFileName(string uri);
bool SelectMirror();
bool Clean(string dir);