Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Private Member Functions | Private Attributes
nsCMSDecoder Class Reference

#include <nsCMS.h>

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

List of all members.

Public Types

enum  CalledFromType { calledFromList, calledFromObject }

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSICMSDECODER 
nsCMSDecoder ()
virtual ~nsCMSDecoder ()
void start (in NSSCMSContentCallback cb, in voidPtr arg)
void update (in string aBuf, in long aLen)
void finish (out nsICMSMessage msg)
void shutdown (CalledFromType calledFrom)
PRBool isAlreadyShutDown ()

Private Member Functions

virtual void virtualDestroyNSSReference ()
void destructorSafeDestroyNSSReference ()

Private Attributes

nsCOMPtr< nsIInterfaceRequestorm_ctx
NSSCMSDecoderContext * m_dcx

Detailed Description

Definition at line 98 of file nsCMS.h.


Member Enumeration Documentation

Enumerator:
calledFromList 
calledFromObject 

Definition at line 270 of file nsNSSShutDown.h.


Constructor & Destructor Documentation

Definition at line 751 of file nsCMS.cpp.

: m_dcx(nsnull)
{
}

Definition at line 756 of file nsCMS.cpp.

Here is the call graph for this function:


Member Function Documentation

Definition at line 771 of file nsCMS.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 298 of file nsNSSShutDown.h.

{ return mAlreadyShutDown; }

Here is the caller graph for this function:

void nsNSSShutDownObject::shutdown ( CalledFromType  calledFrom) [inline, inherited]

Definition at line 285 of file nsNSSShutDown.h.

  {
    if (!mAlreadyShutDown) {
      if (calledFromObject == calledFrom) {
        nsNSSShutDownList::forget(this);
      }
      if (calledFromList == calledFrom) {
        virtualDestroyNSSReference();
      }
      mAlreadyShutDown = PR_TRUE;
    }
  }

Here is the call graph for this function:

Here is the caller graph for this function:

void nsICMSDecoder::start ( in NSSCMSContentCallback  cb,
in voidPtr  arg 
) [inherited]
void nsICMSDecoder::update ( in string  aBuf,
in long  aLen 
) [inherited]

Implements nsNSSShutDownObject.

Definition at line 766 of file nsCMS.cpp.

Here is the call graph for this function:


Member Data Documentation

Definition at line 109 of file nsCMS.h.

NSSCMSDecoderContext* nsCMSDecoder::m_dcx [private]

Definition at line 110 of file nsCMS.h.


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