diff options
author | Oz Linden <oz@lindenlab.com> | 2011-01-04 16:41:05 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-01-04 16:41:05 -0500 |
commit | e4591a85182133811e327b579c558bb3db80d79e (patch) | |
tree | 13c4847d919939c9b50386d1dfcbc5837201c60e /indra/viewer_components/updater/llupdatedownloader.h | |
parent | d420ca89b438ebfb15dd3be8f5ec427361dfddaa (diff) | |
parent | 67ced403e624599f23020c8b8bd802947e602d31 (diff) |
merge changes for storm-466
Diffstat (limited to 'indra/viewer_components/updater/llupdatedownloader.h')
-rw-r--r-- | indra/viewer_components/updater/llupdatedownloader.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/viewer_components/updater/llupdatedownloader.h b/indra/viewer_components/updater/llupdatedownloader.h index 1b3d7480fd..0d635640cf 100644 --- a/indra/viewer_components/updater/llupdatedownloader.h +++ b/indra/viewer_components/updater/llupdatedownloader.h @@ -52,7 +52,10 @@ 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, + std::string const & updateVersion, + bool required=false); // Returns true if a download is in progress. bool isDownloading(void); @@ -60,6 +63,9 @@ public: // Resume a partial download. void resume(void); + // Set a limit on the dowload rate. + void setBandwidthLimit(U64 bytesPerSecond); + private: boost::shared_ptr<Implementation> mImplementation; }; @@ -76,6 +82,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; |