Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
nsAppShellCocoa Class Reference

#include <nsAppShellCocoa.h>

Inheritance diagram for nsAppShellCocoa:
Inheritance graph
[legend]
Collaboration diagram for nsAppShellCocoa:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsAppShellCocoa ()
virtual ~nsAppShellCocoa ()
void Create (inout int argc, inout string argv)
 Creates an application shell.
void Run ()
 Enter an event loop.
void Spinup ()
 Prepare to process events.
void Spindown ()
 Prepare to stop processing events.
void ListenToEventQueue (in nsIEventQueue aQueue, in PRBool aListen)
 An event queue has been created or destroyed.
void GetNativeEvent (in PRBoolRef aRealEvent, in voidPtrRef aEvent)
 After event dispatch execute app specific code.
void DispatchNativeEvent (in PRBool aRealEvent, in voidPtr aEvent)
 After event dispatch execute app specific code.
void Exit ()
 Exit the handle event loop.

Private Attributes

NSAutoreleasePool * mainPool

Detailed Description

Definition at line 53 of file nsAppShellCocoa.h.


Constructor & Destructor Documentation

Definition at line 61 of file nsAppShellCocoa.mm.

{
  mainPool = [[NSAutoreleasePool alloc] init];
}

Definition at line 71 of file nsAppShellCocoa.mm.

{
  [mainPool release];
}

Member Function Documentation

void nsIAppShell::Create ( inout int  argc,
inout string  argv 
) [inherited]

Creates an application shell.

Here is the caller graph for this function:

void nsIAppShell::DispatchNativeEvent ( in PRBool  aRealEvent,
in voidPtr  aEvent 
) [inherited]

After event dispatch execute app specific code.

void nsIAppShell::Exit ( ) [inherited]

Exit the handle event loop.

Implemented in nsAppShell, and nsAppShell.

Here is the caller graph for this function:

void nsIAppShell::GetNativeEvent ( in PRBoolRef  aRealEvent,
in voidPtrRef  aEvent 
) [inherited]

After event dispatch execute app specific code.

void nsIAppShell::ListenToEventQueue ( in nsIEventQueue  aQueue,
in PRBool  aListen 
) [inherited]

An event queue has been created or destroyed.

Hook or unhook it from your system, as necessary.

Parameters:
aQueuethe queue in question
aListenPR_TRUE for a new queue wanting hooking up. PR_FALSE for a queue wanting to be unhooked.
void nsIAppShell::Run ( ) [inherited]

Enter an event loop.

Don't leave until application exits.

Implemented in nsAppShell, and nsAppShell.

Here is the caller graph for this function:

void nsIAppShell::Spindown ( ) [inherited]

Prepare to stop processing events.

Implemented in nsAppShell, and nsAppShell.

Here is the caller graph for this function:

void nsIAppShell::Spinup ( ) [inherited]

Prepare to process events.

Implemented in nsAppShell, and nsAppShell.

Here is the caller graph for this function:


Member Data Documentation

NSAutoreleasePool* nsAppShellCocoa::mainPool [private]

Definition at line 63 of file nsAppShellCocoa.h.


The documentation for this class was generated from the following files: