Back to index

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

List of all members.

Public Member Functions

 mozInlineSpellResume (const mozInlineSpellStatus &status)
nsresult Post (nsCOMPtr< nsIEventQueueService > *aEventQueueService)

Public Attributes

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

Detailed Description

Definition at line 482 of file mozInlineSpellChecker.cpp.


Constructor & Destructor Documentation

Definition at line 507 of file mozInlineSpellChecker.cpp.

  : mStatus(aStatus)
{
  PL_InitEvent(this, aStatus.mSpellChecker, HandleSpellCheckResumePLEvent,
               DestroySpellCheckResumePLEvent);
}

Here is the call graph for this function:


Member Function Documentation

Definition at line 521 of file mozInlineSpellChecker.cpp.

{
  nsresult rv;

  // get the event queue, creating the service if necessary
  if (! *aEventQueueService) {
    *aEventQueueService = do_GetService(NS_EVENTQUEUESERVICE_CONTRACTID, &rv);
    NS_ENSURE_SUCCESS(rv, rv);
  }
  nsCOMPtr<nsIEventQueue> eventQueue;
  (*aEventQueueService)->
    GetSpecialEventQueue(nsIEventQueueService::UI_THREAD_EVENT_QUEUE,
                         getter_AddRefs(eventQueue));
  if (!eventQueue) {
    return NS_ERROR_FAILURE;
  }

  // post
  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.

Definition at line 486 of file mozInlineSpellChecker.cpp.

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: