CMsgStoreAddress Class Reference

class CMsgStoreAddress : public CBase

Simple convinent on-heap class to encapsulate the {email address, display name} pair used as address fields (From, Sender, To, Cc, Bcc) in a message.

This class is created because on-stack class RMsgStoreAddress does not work very well when the caller is expecting an ARRAY of ADDRESS to be returned.

Inherits from

Constructor & Destructor Documentation

CMsgStoreAddress()

CMsgStoreAddress()[private]

~CMsgStoreAddress()

IMPORT_C~CMsgStoreAddress()[virtual]

Member Functions Documentation

ConstructL(const TDesC &, const TDesC &)

voidConstructL(const TDesC &aEmailAddress,
const TDesC &aDisplayName
)[private]

Parameters

const TDesC & aEmailAddress
const TDesC & aDisplayName

DisplayName()

IMPORT_C const TDesC &DisplayName()

EmailAddress()

IMPORT_C const TDesC &EmailAddress()

NewL(const TDesC &, const TDesC &)

IMPORT_C CMsgStoreAddress *NewL(const TDesC &aEmailAddress,
const TDesC &aDisplayName
)[static]

Parameters

const TDesC & aEmailAddress
const TDesC & aDisplayName

Member Data Documentation

RBuf iDisplayName

RBuf iDisplayName[private]

RBuf iEmailAddress

RBuf iEmailAddress[private]