summaryrefslogtreecommitdiff
path: root/indra/viewer_components/updater/llupdaterservice.cpp
diff options
context:
space:
mode:
authorAndrew A. de Laix <alain@lindenlab.com>2010-12-02 11:37:26 -0800
committerAndrew A. de Laix <alain@lindenlab.com>2010-12-02 11:37:26 -0800
commitc767276ce62f18a295d64054beda438250abd4ae (patch)
tree193109f40b3c8329aab04a499dc343975d146bfa /indra/viewer_components/updater/llupdaterservice.cpp
parent765d939956a0c1f67029d44fd29770aabc36d9b4 (diff)
expose update available method.
Diffstat (limited to 'indra/viewer_components/updater/llupdaterservice.cpp')
-rw-r--r--indra/viewer_components/updater/llupdaterservice.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/viewer_components/updater/llupdaterservice.cpp b/indra/viewer_components/updater/llupdaterservice.cpp
index cfda314d43..92a0a09137 100644
--- a/indra/viewer_components/updater/llupdaterservice.cpp
+++ b/indra/viewer_components/updater/llupdaterservice.cpp
@@ -504,6 +504,11 @@ std::string const & LLUpdaterService::pumpName(void)
return name;
}
+bool LLUpdaterService::updateReadyToInstall(void)
+{
+ return LLFile::isfile(update_marker_path());
+}
+
LLUpdaterService::LLUpdaterService()
{
if(gUpdater.expired())