summaryrefslogtreecommitdiff
path: root/indra/viewer_components/updater/llupdatechecker.h
diff options
context:
space:
mode:
authorAndrew A. de Laix <alain@lindenlab.com>2010-11-04 14:08:38 -0700
committerAndrew A. de Laix <alain@lindenlab.com>2010-11-04 14:08:38 -0700
commit070fe9ed262da5c990a5129474489647a0369fc9 (patch)
treea7fdd231cc6e84065152048bc5671d428706d801 /indra/viewer_components/updater/llupdatechecker.h
parente0c734a7105060740e5597d4439d882bb3f2bff4 (diff)
parentdfeb7abe5f690bbd3a908c84c53bbea20a5adb7c (diff)
Automated merge with https://bitbucket.org/mani_linden/viewer-development/
Diffstat (limited to 'indra/viewer_components/updater/llupdatechecker.h')
-rw-r--r--indra/viewer_components/updater/llupdatechecker.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/indra/viewer_components/updater/llupdatechecker.h b/indra/viewer_components/updater/llupdatechecker.h
index b630c4d8a6..58aaee4e3d 100644
--- a/indra/viewer_components/updater/llupdatechecker.h
+++ b/indra/viewer_components/updater/llupdatechecker.h
@@ -41,13 +41,17 @@ public:
LLUpdateChecker(Client & client);
// Check status of current app on the given host for the channel and version provided.
- void check(std::string const & hostUrl, std::string channel, std::string version);
+ void check(std::string const & protocolVersion, std::string const & hostUrl,
+ std::string const & servicePath, std::string channel, std::string version);
private:
boost::shared_ptr<Implementation> mImplementation;
};
+class LLURI; // From lluri.h
+
+
//
// The client interface implemented by a requestor checking for an update.
//
@@ -58,10 +62,10 @@ public:
virtual void error(std::string const & message) = 0;
// A newer version is available, but the current version may still be used.
- virtual void optionalUpdate(std::string const & newVersion) = 0;
+ virtual void optionalUpdate(std::string const & newVersion, LLURI const & uri) = 0;
// A newer version is available, and the current version is no longer valid.
- virtual void requiredUpdate(std::string const & newVersion) = 0;
+ virtual void requiredUpdate(std::string const & newVersion, LLURI const & uri) = 0;
// The checked version is up to date; no newer version exists.
virtual void upToDate(void) = 0;