diff options
Diffstat (limited to 'indra/viewer_components')
| -rw-r--r-- | indra/viewer_components/updater/llupdaterservice.cpp | 5 | ||||
| -rw-r--r-- | indra/viewer_components/updater/llupdaterservice.h | 3 | 
2 files changed, 8 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()) diff --git a/indra/viewer_components/updater/llupdaterservice.h b/indra/viewer_components/updater/llupdaterservice.h index 6ee7060d28..3763fbfde0 100644 --- a/indra/viewer_components/updater/llupdaterservice.h +++ b/indra/viewer_components/updater/llupdaterservice.h @@ -43,6 +43,9 @@ public:  	// Name of the event pump through which update events will be delivered.  	static std::string const & pumpName(void); +	// Returns true if an update has been completely downloaded and is now ready to install. +	static bool updateReadyToInstall(void); +	  	// Type codes for events posted by this service.  Stored the event's 'type' element.  	enum eUpdaterEvent {  		INVALID, | 
