Back to index

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

#include <nsComponentManager.h>

Collaboration diagram for AutoRegEntry:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AutoRegEntry (const nsACString &name, PRInt64 *modDate)
 ~AutoRegEntry ()
const nsDependentCString GetName ()
PRInt64 GetDate ()
void SetDate (PRInt64 *date)
PRBool Modified (PRInt64 *date)
char * GetOptionalData ()
void SetOptionalData (const char *data)

Private Attributes

char * mName
PRUint32 mNameLen
char * mData
PRInt64 mModDate

Detailed Description

Definition at line 335 of file nsComponentManager.h.


Constructor & Destructor Documentation

AutoRegEntry::AutoRegEntry ( const nsACString &  name,
PRInt64 modDate 
)

Definition at line 966 of file nsComponentManager.cpp.

                                                                   :
    mName(ToNewCString(name)),
    mNameLen(name.Length()),
    mData(nsnull),
    mModDate(*modDate)
{
}

Definition at line 974 of file nsComponentManager.cpp.


Member Function Documentation

Definition at line 343 of file nsComponentManager.h.

{return mModDate;}

Here is the caller graph for this function:

Definition at line 341 of file nsComponentManager.h.

Here is the caller graph for this function:

char* AutoRegEntry::GetOptionalData ( ) [inline]

Definition at line 349 of file nsComponentManager.h.

{return mData;};

Here is the caller graph for this function:

Definition at line 981 of file nsComponentManager.cpp.

{
    return !LL_EQ(*date, mModDate);
}
void AutoRegEntry::SetDate ( PRInt64 date) [inline]

Definition at line 344 of file nsComponentManager.h.

{ mModDate = *date;}

Definition at line 987 of file nsComponentManager.cpp.

{
    if (mData)
        PL_strfree(mData);

    if (!data) {
        mData = nsnull;
        return;
    }

    mData = PL_strdup(data);
}

Here is the caller graph for this function:


Member Data Documentation

char* AutoRegEntry::mData [private]

Definition at line 355 of file nsComponentManager.h.

Definition at line 356 of file nsComponentManager.h.

char* AutoRegEntry::mName [private]

Definition at line 353 of file nsComponentManager.h.

Definition at line 354 of file nsComponentManager.h.


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