Back to index

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

List of all members.

Public Member Functions

 nsSimpleMimeConverterStub (const char *aContentType)
virtual ~nsSimpleMimeConverterStub ()
NS_DECL_ISUPPORTS NS_IMETHOD GetContentType (char **contentType)
NS_IMETHOD CreateContentTypeHandlerClass (const char *contentType, contentTypeHandlerInitStruct *initString, MimeObjectClass **objClass)

Private Attributes

nsCString mContentType

Detailed Description

Definition at line 176 of file nsSimpleMimeConverterStub.cpp.

Constructor & Destructor Documentation

Definition at line 179 of file nsSimpleMimeConverterStub.cpp.

Definition at line 180 of file nsSimpleMimeConverterStub.cpp.

{ }

Member Function Documentation

Implements nsIMimeContentTypeHandler.

Definition at line 199 of file nsSimpleMimeConverterStub.cpp.

    *objClass = (MimeObjectClass *)&mimeSimpleStubClass;
    (*objClass)->superclass = (MimeObjectClass *)XPCOM_GetmimeInlineTextClass();
    if (!(*objClass)->superclass)
        return NS_ERROR_UNEXPECTED;;

    initStruct->force_inline_display = PR_TRUE;
    return NS_OK;;

Here is the call graph for this function:

NS_DECL_ISUPPORTS NS_IMETHOD nsSimpleMimeConverterStub::GetContentType ( char **  contentType) [inline, virtual]

Implements nsIMimeContentTypeHandler.

Definition at line 184 of file nsSimpleMimeConverterStub.cpp.

        *contentType = ToNewCString(mContentType);
        return *contentType ? NS_OK : NS_ERROR_OUT_OF_MEMORY;

Here is the call graph for this function:

Member Data Documentation

Definition at line 193 of file nsSimpleMimeConverterStub.cpp.

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