nsIUpdatePrompt

IID:22b00276-ec23-4034-a764-395da539b4be
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

void checkForUpdates ( ) void showUpdateAvailable ( nsIUpdate update ) void showUpdateDownloaded ( nsIUpdate update ) void showUpdateError ( nsIUpdate update ) void showUpdateHistory ( nsIDOMWindow parent ) void showUpdateInstalled ( nsIUpdate update )

void checkForUpdates ( )

Shows a user interface that checks for and then displays the available updates.


void showUpdateAvailable ( nsIUpdate update )

Show a message advising that an update is available for download and install.

Arguments:
update: The update to be downloaded and installed

void showUpdateDownloaded ( 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.

Arguments:
update: The update that was downloaded

void showUpdateError ( nsIUpdate update )

Shows an error message UI telling the user about some kind of update failure, e.g. failure to apply patch.

Arguments:
update: The nsIUpdate object which we could not install

void showUpdateHistory ( nsIDOMWindow parent )

Shows a list of all updates installed to date.

Arguments:
parent: A parent window to anchor this window to. Can be null.

void showUpdateInstalled ( nsIUpdate update )

Shows a message detailing the update which was installed.

Arguments:
update: The nsIUpdate object which was just installed

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com