Linux Mac OSX Windows

Implemented by

 An interface describing an object that can show various kinds of Update 
 notification UI to the user. 
[scriptable, uuid(22b00276-ec23-4034-a764-395da539b4be)]
interface nsIUpdatePrompt : nsISupports

Methods

 Shows a user interface that checks for and then displays the available
 updates.
void checkForUpdates()
 Show a message advising that an update is available for download and
 install.
 @param   update
          The update to be downloaded and installed
void showUpdateAvailable(in nsIUpdate update)
 Show a message advising that an update has now been downloaded and that
 the user should restart their software should be restarted so that the
 update can be installed.
 @param   update
          The update that was downloaded
void showUpdateDownloaded(in nsIUpdate update)
 Shows an error message UI telling the user about some kind of update
 failure, e.g. failure to apply patch.
 @param   update
          The nsIUpdate object which we could not install
void showUpdateError(in nsIUpdate update)
 Shows a list of all updates installed to date.
 @param   parent
          A parent window to anchor this window to. Can be null.
void showUpdateHistory(in nsIDOMWindow parent)
 Shows a message detailing the update which was installed.
 @param   update
          The nsIUpdate object which was just installed
void showUpdateInstalled(in nsIUpdate update)