CSendAsAccounts Class Reference

class CSendAsAccounts : public CBase

Provides human-readable names and IDs for the list of accounts for a given message type.

Inherits from

Constructor & Destructor Documentation

CSendAsAccounts()

CSendAsAccounts()[private]

~CSendAsAccounts()

IMPORT_C~CSendAsAccounts()[virtual]

Member Functions Documentation

Account(TInt)

IMPORT_C TSendAsAccountAccount(TIntaIndex)const

Parameters

TInt aIndex

AccountFromNameL(const TDesC &)

IMPORT_C TSendAsAccountAccountFromNameL(const TDesC &aName)const

Parameters

const TDesC & aName

AccountNames()

IMPORT_C const MDesCArray &AccountNames()const

AppendAccountL(const TDesC &, TSendAsAccount)

IMPORT_C voidAppendAccountL(const TDesC &aAccountName,
TSendAsAccountaAccount
)

Parameters

const TDesC & aAccountName
TSendAsAccount aAccount

ConstructL()

voidConstructL()[private]

Count()

IMPORT_C TIntCount()const

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aWriteStream)const

Parameters

RWriteStream & aWriteStream

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aReadStream)

Parameters

RReadStream & aReadStream

MessageType()

IMPORT_C TUidMessageType()const

NameFromAccountL(const TSendAsAccount)

IMPORT_C TPtrCNameFromAccountL(const TSendAsAccountaAccount)const

Parameters

const TSendAsAccount aAccount

NewL()

IMPORT_C CSendAsAccounts *NewL()[static]

RemoveAccount(TInt)

IMPORT_C voidRemoveAccount(TIntaIndex)

Parameters

TInt aIndex

Reset()

IMPORT_C voidReset()

SetMessageType(TUid)

IMPORT_C voidSetMessageType(TUidaMessageType)

Parameters

TUid aMessageType

Size()

IMPORT_C TIntSize()const

Member Data Documentation

CDesCArrayFlat * iAccountNames

CDesCArrayFlat *iAccountNames[private]

RArray< TSendAsAccount > iAccounts

RArray< TSendAsAccount >iAccounts[private]

TUid iMessageType

TUid iMessageType[private]