Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Attributes | Friends
nsAbAutoCompleteParam Class Reference

#include <nsAbAutoCompleteSession.h>

Inheritance diagram for nsAbAutoCompleteParam:
Inheritance graph
[legend]
Collaboration diagram for nsAbAutoCompleteParam:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS nsAbAutoCompleteParam (const PRUnichar *nickName, const PRUnichar *displayName, const PRUnichar *firstName, const PRUnichar *lastName, const PRUnichar *emailAddress, const PRUnichar *notes, const PRUnichar *dirName, PRUint32 aPopularityIndex, PRBool isMailList)
virtual ~nsAbAutoCompleteParam ()

Protected Attributes

PRUnicharmNickName
PRUnicharmDisplayName
PRUnicharmFirstName
PRUnicharmLastName
PRUnicharmEmailAddress
PRUnicharmNotes
PRUnicharmDirName
PRUint32 mPopularityIndex
PRBool mIsMailList

Friends

class nsAbAutoCompleteSession

Detailed Description

Definition at line 129 of file nsAbAutoCompleteSession.h.


Constructor & Destructor Documentation

NS_DECL_ISUPPORTS nsAbAutoCompleteParam::nsAbAutoCompleteParam ( const PRUnichar nickName,
const PRUnichar displayName,
const PRUnichar firstName,
const PRUnichar lastName,
const PRUnichar emailAddress,
const PRUnichar notes,
const PRUnichar dirName,
PRUint32  aPopularityIndex,
PRBool  isMailList 
) [inline]

Definition at line 134 of file nsAbAutoCompleteSession.h.

  {
    const PRUnichar *empty = EmptyString().get();

    mNickName = nsCRT::strdup(nickName ? nickName : empty);
    mDisplayName = nsCRT::strdup(displayName ? displayName : empty);
    mFirstName = nsCRT::strdup(firstName ? firstName : empty);
    mLastName = nsCRT::strdup(lastName ? lastName : empty);
    mEmailAddress = nsCRT::strdup(emailAddress ? emailAddress : empty);
    mNotes = nsCRT::strdup(notes ? notes : empty);
    mDirName = nsCRT::strdup(dirName ? dirName : empty);
    mIsMailList = isMailList;
    mPopularityIndex = aPopularityIndex;
  }
virtual nsAbAutoCompleteParam::~nsAbAutoCompleteParam ( ) [inline, virtual]

Friends And Related Function Documentation

friend class nsAbAutoCompleteSession [friend]

Definition at line 180 of file nsAbAutoCompleteSession.h.


Member Data Documentation

Definition at line 175 of file nsAbAutoCompleteSession.h.

Definition at line 170 of file nsAbAutoCompleteSession.h.

Definition at line 173 of file nsAbAutoCompleteSession.h.

Definition at line 171 of file nsAbAutoCompleteSession.h.

Definition at line 177 of file nsAbAutoCompleteSession.h.

Definition at line 172 of file nsAbAutoCompleteSession.h.

Definition at line 166 of file nsAbAutoCompleteSession.h.

Definition at line 174 of file nsAbAutoCompleteSession.h.

Definition at line 176 of file nsAbAutoCompleteSession.h.


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