@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 [noscript] nsIWebBrowserChrome createChromeWindow2 ( nsIWebBrowserChrome parent , PRUint32 chromeFlags , PRUint32 contextFlags , nsIURI uri , out PRBool cancel )
nsIAppStartup void createHiddenWindow ( )
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.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com