Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Attributes | Private Member Functions
nsRegistryNode Struct Reference
Inheritance diagram for nsRegistryNode:
Inheritance graph
[legend]
Collaboration diagram for nsRegistryNode:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSIREGISTRYNODE 
nsRegistryNode (HREG hReg, char *name, RKEY childKey)

Public Attributes

readonly attribute string nameUTF8
readonly attribute wstring name
readonly attribute nsRegistryKey key

Protected Attributes

HREG mReg
char mName [MAXREGPATHLEN]
RKEY mChildKey

Private Member Functions

 ~nsRegistryNode ()

Detailed Description

Definition at line 192 of file nsRegistry.cpp.


Constructor & Destructor Documentation

nsRegistryNode::nsRegistryNode ( HREG  hReg,
char *  name,
RKEY  childKey 
)

Definition at line 1766 of file nsRegistry.cpp.

    : mReg( hReg ), mChildKey( childKey ) {

    PR_ASSERT(name != nsnull);
    strcpy(mName, name);

#ifdef EXTRA_THREADSAFE
    mregLock = PR_NewLock();
#endif
    
    return;
}

Here is the call graph for this function:

Definition at line 1779 of file nsRegistry.cpp.

{
#ifdef EXTRA_THREADSAFE
    if (mregLock) {
        PR_DestroyLock(mregLock);
    }
#endif
}

Here is the call graph for this function:


Member Data Documentation

Definition at line 131 of file nsIRegistry.idl.

Definition at line 208 of file nsRegistry.cpp.

Definition at line 207 of file nsRegistry.cpp.

Definition at line 206 of file nsRegistry.cpp.

readonly attribute wstring nsIRegistryNode::name [inherited]

Definition at line 130 of file nsIRegistry.idl.

Definition at line 129 of file nsIRegistry.idl.


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