Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsAsyncWriteErrorDisplayer Class Reference
Inheritance diagram for nsAsyncWriteErrorDisplayer:
Inheritance graph
[legend]
Collaboration diagram for nsAsyncWriteErrorDisplayer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsAsyncWriteErrorDisplayer ()
nsresult Post ()

Public Attributes

PRCList link
PLHandleEventProc handler
PLDestroyEventProc destructor
voidowner
voidsynchronousResult
PRLocklock
PRCondVarcondVar
PRBool handled

Detailed Description

Definition at line 1589 of file mozStorageAsyncIO.cpp.


Constructor & Destructor Documentation

Definition at line 1646 of file mozStorageAsyncIO.cpp.

Here is the call graph for this function:


Member Function Documentation

Definition at line 1658 of file mozStorageAsyncIO.cpp.

{
  nsresult rv;

  nsCOMPtr<nsIEventQueueService> eventQueueService =
    do_GetService("@mozilla.org/event-queue-service;1", &rv);
  NS_ENSURE_SUCCESS(rv, rv);

  nsCOMPtr<nsIEventQueue> eventQueue;
  eventQueueService->
    GetSpecialEventQueue(nsIEventQueueService::UI_THREAD_EVENT_QUEUE,
                         getter_AddRefs(eventQueue));
  if (!eventQueue)
    return NS_ERROR_FAILURE;

  rv = eventQueue->PostEvent(this);
  if (NS_FAILED(rv)) {
    PL_DestroyEvent(this);
    return rv;
  }

  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

PRCondVar * PLEvent::condVar [inherited]

Definition at line 514 of file nsIEventQueueService.idl.

Definition at line 510 of file nsIEventQueueService.idl.

PRBool PLEvent::handled [inherited]

Definition at line 515 of file nsIEventQueueService.idl.

Definition at line 509 of file nsIEventQueueService.idl.

PRCList PLEvent::link [inherited]

Definition at line 508 of file nsIEventQueueService.idl.

PRLock * PLEvent::lock [inherited]

Definition at line 513 of file nsIEventQueueService.idl.

void * PLEvent::owner [inherited]

Definition at line 511 of file nsIEventQueueService.idl.

Definition at line 512 of file nsIEventQueueService.idl.


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