WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

@mozilla.org/toolkit/app-startup;1

This component implements the following interfaces:

Constants

Attempt to quit if all windows are closed.
PRUint32 nsIAppStartup.eConsiderQuit = 1
Try to close all windows, then quit if successful.
PRUint32 nsIAppStartup.eAttemptQuit = 2
Quit, damnit!
PRUint32 nsIAppStartup.eForceQuit = 3
Restart the application after quitting. The application will be restarted with the same profile and an empty command line.
PRUint32 nsIAppStartup.eRestart = 16
Definitions for contextFlags
PRUint32 nsIWindowCreator2.PARENT_IS_LOADING_OR_RUNNING_TIMEOUT = 1

Methods

InterfaceMethod
nsIWindowCreator nsIWebBrowserChrome createChromeWindow ( nsIWebBrowserChrome parent , PRUint32 chromeFlags )
nsIWindowCreator2 nsIWebBrowserChrome createChromeWindow2 ( nsIWebBrowserChrome parent , PRUint32 chromeFlags , PRUint32 contextFlags , nsIURI uri , out PRBool cancel )
nsIAppStartup void createHiddenWindow ( )
nsIAppStartup void destroyHiddenWindow ( )
nsIAppStartup void enterLastWindowClosingSurvivalArea ( )
nsIAppStartup void exitLastWindowClosingSurvivalArea ( )
nsISupportsWeakReference nsIWeakReference GetWeakReference ( )
nsIObserver void observe ( nsISupports subject , char* topic , PRUnichar* data )
nsIAppStartup void quit ( PRUint32 mode )
nsIAppStartup void run ( )

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com