Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIEventQueue Interface Reference

import "nsIEventQueue.idl";

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

List of all members.

Public Member Functions

void initEvent (in PLEventPtr aEvent, in voidPtr owner, in PLHandleEventProc handler, in PLDestroyEventProc destructor)
void postSynchronousEvent (in PLEventPtr aEvent, out voidPtr aResult)
boolean pendingEvents ()
void processPendingEvents ()
void eventLoop ()
void eventAvailable (in PRBoolRef aResult)
PLEventPtr getEvent ()
void handleEvent (in PLEventPtr aEvent)
PLEventPtr waitForEvent ()
PRInt32 getEventQueueSelectFD ()
void init (in boolean aNative)
void initFromPRThread (in PRThreadPtr thread, in boolean aNative)
void initFromPLQueue (in PLEventQueuePtr aQueue)
void enterMonitor ()
void exitMonitor ()
void revokeEvents (in voidPtr owner)
 Revoke events in this event queue and all other event queues for this thread that have |owner| as the event owner.
PLEventQueuePtr getPLEventQueue ()
boolean isQueueNative ()
void stopAcceptingEvents ()
void postEvent (in PLEventPtr aEvent)
 Method for posting an asynchronous event to the event target.
boolean isOnCurrentThread ()
 This method returns true if the event target is the current thread.

Detailed Description

Definition at line 69 of file nsIEventQueue.idl.


Member Function Documentation

void nsIEventQueue::initEvent ( in PLEventPtr  aEvent,
in voidPtr  owner,
in PLHandleEventProc  handler,
in PLDestroyEventProc  destructor 
)

This method returns true if the event target is the current thread.

void nsIEventTarget::postEvent ( in PLEventPtr  aEvent) [inherited]

Method for posting an asynchronous event to the event target.

If this method succeeds, then the event will be dispatched on the target thread.

Parameters:
aEventThe event to dispatched.
void nsIEventQueue::postSynchronousEvent ( in PLEventPtr  aEvent,
out voidPtr  aResult 
)
void nsIEventQueue::revokeEvents ( in voidPtr  owner)

Revoke events in this event queue and all other event queues for this thread that have |owner| as the event owner.


The documentation for this interface was generated from the following file: