nsISupports
Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)void checkForUpdates(); |
void showUpdateAvailable(in nsIUpdate update); |
void showUpdateDownloaded(in nsIUpdate update, [optional] in boolean background); |
void showUpdateError(in nsIUpdate update); |
void showUpdateHistory(in nsIDOMWindow parent); |
void showUpdateInstalled(); |
Presents a user interface that checks for and displays the available updates.
void checkForUpdates();
None.
Shows a message advising the user that an update is available to be downloaded and installed. If the app.update.silent preference is true
or the user interface is already displayed the call will be a no-op.
void showUpdateAvailable( in nsIUpdate update );
update
nsIUpdate
describing the update that's available.Shows a message advising the user that an update has been downloaded, and that the user should restart the application in order to install it. If background is true
(for example the download was not user initiated) and the app.update.silent preference is true
the call will be a no-op.
void showUpdateDownloaded(
in nsIUpdate update,
in boolean background Optional
);
update
nsIUpdate
describing the update that was downloaded.background
Optional true
, presents a less-obtrusive, non-modal notification alert.Displays an error message telling the user about an update failure, such as a failure to successfully apply a patch. If the app.update.silent preference is true
the call will be a no-op.
void showUpdateError( in nsIUpdate update );
update
nsIUpdate
describing the update that failed to install. The nsIUpdate
object will not be the actual update when the error occurred during an update check and will instead be an nsIUpdate
object with the error information for the update check.Shows a list of all updates that have been installed to date.
void showUpdateHistory( in nsIDOMWindow parent );
parent
nsIDOMWindow
indicating the parent window to which to anchor the update list window. This can be null
.Shows a message detailing the update that was just installed successfully. If the app.update.silent preference is true
, the app.update.showInstalledUI preference is false
, or the user interface is already displayed the call will be a no-op.
void showUpdateInstalled(
in nsIUpdate update Obsolete since Gecko 1.9.1
);
update
Obsolete since Gecko 1.9.1nsIUpdate
describing the update that was installed.