Linux Mac OSX Windows

  
[uuid(a0757c31-eeac-11d1-9ec1-00aa002fb821)]
interface nsIAppShell : nsISupports

Methods

 Creates an application shell
void Create(inout int argc, inout string argv)
 After event dispatch execute app specific code
void DispatchNativeEvent(in PRBool aRealEvent, in voidPtr aEvent)
 Exit the handle event loop
void Exit()
 After event dispatch execute app specific code
void GetNativeEvent(in PRBoolRef aRealEvent, in voidPtrRef aEvent)
 An event queue has been created or destroyed. Hook or unhook it from
 your system, as necessary.
 @param aQueue the queue in question
 @param aListen PR_TRUE for a new queue wanting hooking up. PR_FALSE
                for a queue wanting to be unhooked.
void ListenToEventQueue(in nsIEventQueue aQueue, in PRBool aListen)
 Enter an event loop.
 Don't leave until application exits.
void Run()
 Prepare to stop processing events.  
void Spindown()
 Prepare to process events. 
void Spinup()