expose update available method.
parent
765d939956
commit
c767276ce6
|
|
@ -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())
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue