Back to index

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

#include <nsLegacyCheck.h>

Collaboration diagram for nsLegacyCheck:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsLegacyCheck (char *aFilename, char *aMessage)
 ~nsLegacyCheck ()
char * GetFilename ()
char * GetMessage ()
int SetNext (nsLegacyCheck *aNext)
nsLegacyCheckGetNext ()

Private Attributes

char * mFilename
char * mMessage
nsLegacyCheckmNext

Detailed Description

Definition at line 46 of file nsLegacyCheck.h.


Constructor & Destructor Documentation

nsLegacyCheck::nsLegacyCheck ( char *  aFilename,
char *  aMessage 
)

Definition at line 43 of file nsLegacyCheck.cpp.

                                                            :
    mFilename(aFilename),
    mMessage(aMessage),
    mNext(NULL)
{
}

Definition at line 50 of file nsLegacyCheck.cpp.

{
#ifdef DEBUG
    if (mFilename)
        printf("%s %d: Freeing %s\n", __FILE__, __LINE__, mFilename);
#endif
    XI_IF_FREE(mFilename);
    XI_IF_FREE(mMessage);
}

Member Function Documentation

Definition at line 61 of file nsLegacyCheck.cpp.

{
    return mFilename;
}

Definition at line 67 of file nsLegacyCheck.cpp.

{
    return mMessage;
}

Definition at line 84 of file nsLegacyCheck.cpp.

{
    return mNext;
}

Here is the caller graph for this function:

Definition at line 73 of file nsLegacyCheck.cpp.

{
    if (!aNext)
        return E_PARAM;

    mNext = aNext;

    return OK;
}

Member Data Documentation

char* nsLegacyCheck::mFilename [private]

Definition at line 58 of file nsLegacyCheck.h.

char* nsLegacyCheck::mMessage [private]

Definition at line 59 of file nsLegacyCheck.h.

Definition at line 60 of file nsLegacyCheck.h.


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