Back to index

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

#include <nsSetupType.h>

Collaboration diagram for nsSetupType:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsSetupType ()
 ~nsSetupType ()
int SetDescShort (char *aDescShort)
char * GetDescShort ()
int SetDescLong (char *aDescLong)
char * GetDescLong ()
int SetComponent (nsComponent *aComponent)
int UnsetComponent (nsComponent *aComponent)
nsComponentListGetComponents ()
int SetNext (nsSetupType *aSetupType)
nsSetupTypeGetNext ()
 nsSetupType ()
 ~nsSetupType ()
int SetDescShort (char *aDescShort)
char * GetDescShort ()
int SetDescLong (char *aDescLong)
char * GetDescLong ()
int SetComponent (nsComponent *aComponent)
int UnsetComponent (nsComponent *aComponent)
nsComponentListGetComponents ()
int SetNext (nsSetupType *aSetupType)
nsSetupTypeGetNext ()

Private Attributes

char * mDescShort
char * mDescLong
nsComponentListmComponents
nsSetupTypemNext

Detailed Description

Definition at line 50 of file nsSetupType.h.


Constructor & Destructor Documentation

Definition at line 42 of file nsSetupType.cpp.

Definition at line 50 of file nsSetupType.cpp.


Member Function Documentation

Definition at line 128 of file nsSetupType.cpp.

{
    if (mComponents)
        return mComponents;

    return NULL;
}

Here is the caller graph for this function:

Definition at line 92 of file nsSetupType.cpp.

{
    if (mDescLong)
        return mDescLong;

    return NULL;
}

Here is the caller graph for this function:

Definition at line 72 of file nsSetupType.cpp.

{
    if (mDescShort)
        return mDescShort;

    return NULL;
}

Here is the caller graph for this function:

Definition at line 148 of file nsSetupType.cpp.

{
    if (mNext)
        return mNext;

    return NULL;
}

Here is the caller graph for this function:

Definition at line 101 of file nsSetupType.cpp.

{
    if (!aComponent)
        return E_PARAM;

    if (!mComponents)
        mComponents = new nsComponentList();

    if (!mComponents)
        return E_MEM;

    return mComponents->AddComponent(aComponent);
}

Here is the call graph for this function:

Here is the caller graph for this function:

int nsSetupType::SetDescLong ( char *  aDescLong)
int nsSetupType::SetDescLong ( char *  aDescLong)

Definition at line 81 of file nsSetupType.cpp.

{
    if (!aDescLong)
        return E_PARAM;
    
    mDescLong = aDescLong;

    return OK;
}

Here is the caller graph for this function:

int nsSetupType::SetDescShort ( char *  aDescShort)

Definition at line 61 of file nsSetupType.cpp.

{
    if (!aDescShort)
        return E_PARAM;
    
    mDescShort = aDescShort;

    return OK;
}

Here is the caller graph for this function:

int nsSetupType::SetDescShort ( char *  aDescShort)

Definition at line 137 of file nsSetupType.cpp.

{
    if (!aSetupType)
        return E_PARAM;

    mNext = aSetupType;

    return OK;
}

Here is the caller graph for this function:

Definition at line 116 of file nsSetupType.cpp.

{
    if (!aComponent)
        return E_PARAM;

    if (!mComponents)
        return OK;

    return mComponents->RemoveComponent(aComponent);
}

Here is the call graph for this function:


Member Data Documentation

Definition at line 72 of file nsSetupType.h.

char * nsSetupType::mDescLong [private]

Definition at line 71 of file nsSetupType.h.

char * nsSetupType::mDescShort [private]

Definition at line 70 of file nsSetupType.h.

Definition at line 73 of file nsSetupType.h.


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