summaryrefslogtreecommitdiff
path: root/indra/viewer_components/updater/llupdatedownloader.h
diff options
context:
space:
mode:
authorAndrew A. de Laix <alain@lindenlab.com>2010-12-07 14:32:37 -0800
committerAndrew A. de Laix <alain@lindenlab.com>2010-12-07 14:32:37 -0800
commit4d861ef022f6c22837de4c76ee3e7f2b191b8a5e (patch)
treeea3cceba97e61d57c17c3128582216a462e17f4f /indra/viewer_components/updater/llupdatedownloader.h
parent6faefa6440e61ade7dae9845757756521be92d7a (diff)
push required flag into download data for later use.
Diffstat (limited to 'indra/viewer_components/updater/llupdatedownloader.h')
-rw-r--r--indra/viewer_components/updater/llupdatedownloader.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/viewer_components/updater/llupdatedownloader.h b/indra/viewer_components/updater/llupdatedownloader.h
index 1b3d7480fd..09ea1676d5 100644
--- a/indra/viewer_components/updater/llupdatedownloader.h
+++ b/indra/viewer_components/updater/llupdatedownloader.h
@@ -52,7 +52,7 @@ public:
void cancel(void);
// Start a new download.
- void download(LLURI const & uri, std::string const & hash);
+ void download(LLURI const & uri, std::string const & hash, bool required=false);
// Returns true if a download is in progress.
bool isDownloading(void);
@@ -76,6 +76,7 @@ public:
// url - source (remote) location
// hash - the md5 sum that should match the installer file.
// path - destination (local) location
+ // required - boolean indicating if this is a required update.
// size - the size of the installer in bytes
virtual void downloadComplete(LLSD const & data) = 0;