Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
ListenerCaller Class Reference
Collaboration diagram for ListenerCaller:
Collaboration graph

List of all members.

Public Member Functions

 ListenerCaller (nsIEventQueue *aQueue, nsresult *rv)
 ~ListenerCaller ()

Private Attributes

nsCOMPtr< nsIEventQueueListenermListener

Detailed Description

Definition at line 70 of file nsEventQueue.cpp.

Constructor & Destructor Documentation

ListenerCaller::ListenerCaller ( nsIEventQueue aQueue,
nsresult rv 
) [inline]

Definition at line 72 of file nsEventQueue.cpp.

                                                      : mQueue(aQueue)
    mListener = do_GetService(NS_EVENT_QUEUE_LISTENER_CONTRACTID);
    // There might be no listener...  but if so, warn
    if (mListener) {
      *rv = mListener->WillProcessEvents(mQueue);
    } else {
      NS_WARNING("No event queue listener?");
      *rv = NS_OK;

Here is the call graph for this function:

Definition at line 84 of file nsEventQueue.cpp.

    if (mListener) {

Member Data Documentation

Definition at line 92 of file nsEventQueue.cpp.

Definition at line 91 of file nsEventQueue.cpp.

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