Back to index

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

List of all members.

Public Member Functions

 nsGnomeVFSSetContentTypeEvent (nsIChannel *channel, const char *contentType)
 PR_STATIC_CALLBACK (void *) EventHandler(PLEvent *ev)
 PR_STATIC_CALLBACK (void) EventDestructor(PLEvent *ev)

Public Attributes

PRCList link
PLHandleEventProc handler
PLDestroyEventProc destructor
PRBool handled

Private Attributes

nsCString mContentType

Detailed Description

Definition at line 621 of file nsGnomeVFSProtocolHandler.cpp.

Constructor & Destructor Documentation

nsGnomeVFSSetContentTypeEvent::nsGnomeVFSSetContentTypeEvent ( nsIChannel channel,
const char *  contentType 
) [inline]

Definition at line 624 of file nsGnomeVFSProtocolHandler.cpp.

      : mContentType(contentType)
      // stash channel reference in owner field.  no AddRef here!  see note
      // in SetContentTypeOfchannel.
      PL_InitEvent(this, channel, EventHandler, EventDestructor);

Here is the call graph for this function:

Member Function Documentation

Definition at line 632 of file nsGnomeVFSProtocolHandler.cpp.

      nsGnomeVFSSetContentTypeEvent *self = (nsGnomeVFSSetContentTypeEvent *) ev;
      ((nsIChannel *) self->owner)->SetContentType(self->mContentType);
      return nsnull;

Definition at line 639 of file nsGnomeVFSProtocolHandler.cpp.

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 646 of file nsGnomeVFSProtocolHandler.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: