CMmsMMBoxMessageHeaders Class Reference

class CMmsMMBoxMessageHeaders : public CBase

MMBox related headers present in message PDUs.

mmsutil.lib
Since
2.6

Inherits from

  • CMmsMMBoxMessageHeaders

Constructor & Destructor Documentation

CMmsMMBoxMessageHeaders()

CMmsMMBoxMessageHeaders()[private]

C++ default constructor.

~CMmsMMBoxMessageHeaders()

~CMmsMMBoxMessageHeaders()[virtual]

Destructor.

Member Functions Documentation

AppendKeywordItemL(TInt, const TDesC &)

IMPORT_C voidAppendKeywordItemL(TIntaToken,
const TDesC &aKeyword
)
Add item to keyword array Items are always appended (no sorting order defined). If item with specified keyword exists, token is updated.
Since
2.6

Parameters

TInt aTokenMMBox Operation connected with keyword (Add/Remove/Filter)
const TDesC & aKeywordKeyword connected to object

ConstructL()

voidConstructL()[private]

By default Symbian OS constructor is private.

ContentLocationList()

CDesC8Array &ContentLocationList()const [inline]

Give access to the content location array

DeleteKeywordItem(const TDesC &)

IMPORT_C voidDeleteKeywordItem(const TDesC &aKeyword)
Remove keyword item from MMBox flags array
Since
2.6

Parameters

const TDesC & aKeywordfirst item with this keyword is deleted.

ExternalizeL(RMsvWriteStream &)

voidExternalizeL(RMsvWriteStream &aStream)const
Externalize.
Since
2.6

Parameters

RMsvWriteStream & aStreamopened write stream

FindItemWithKeyword(const TDesC &)

IMPORT_C TIntFindItemWithKeyword(const TDesC &aKeyword)
Find item corresponding to given keyword from array
Since
2.6

Parameters

const TDesC & aKeyword

InternalizeL(RMsvReadStream &)

voidInternalizeL(RMsvReadStream &aStream)
Internalize.
Since
2.6

Parameters

RMsvReadStream & aStreamopened read stream

KeywordArray()

RPointerArray< CMmsMMBoxFlags > &KeywordArray()[inline]
Keyword array accessor
Since
2.6

MmsMMState()

TInt MmsMMState()const [inline]
Message MMBoxState accessor
Since
2.6

MmsStore()

TInt MmsStore()const [inline]
MMBox Store request accessor
Since
2.6

MmsStoreStatus()

TInt MmsStoreStatus()const [inline]
Status code from operation where message storing to MMBox was requested.
Since
2.6

MmsStoreStatusText()

IMPORT_C TPtrCMmsStoreStatusText()const
Store status text accessor.
Since
2.6

MmsStored()

TInt MmsStored()const [inline]
MMBox store state accessor
Since
2.6

NewL()

CMmsMMBoxMessageHeaders *NewL()[static]

Two-phased constructor.

Reset()

voidReset()[private]

Delete old data before internalizing

SetMMState(TInt)

voidSetMMState(TIntaMmsMMState)[inline]
Message MMBoxState mutator
Since
2.6

Parameters

TInt aMmsMMStatemessage MMBox State Draft/Sent/New/Retrieved/Forwarded

SetMmsStore(TInt)

voidSetMmsStore(TIntaMmsStore)[inline]
MMBox Store request mutator
Since
2.6

Parameters

TInt aMmsStoreShould message be stored to Mmbox? (KMmsYes/KMmsNo)

SetMmsStoreStatus(TInt)

voidSetMmsStoreStatus(TIntaMmsStoreStatus)[inline]
Set Status code from operation where message storing to MMBox was requested.
Since
2.6

Parameters

TInt aMmsStoreStatusMessage MMBox Store status (Success or error code)

SetMmsStoreStatusTextL(const TDesC &)

IMPORT_C voidSetMmsStoreStatusTextL(const TDesC &aText)
Store status text mutator.
Since
2.6

Parameters

const TDesC & aTextMMBox MmsStoreStatus text string,

SetMmsStored(TInt)

voidSetMmsStored(TIntaMmsStored)[inline]
MMBox store state mutator - needed by decode
Since
2.6

Parameters

TInt aMmsStoredHas MMS message been stored in MMBox? (KMmsYes/KMmsNo)

Size()

TInt Size()const

Member Data Documentation

CDesC8Array * iContentLocationArray

CDesC8Array *iContentLocationArray[private]

RPointerArray< CMmsMMBoxFlags > iKeywordArray

RPointerArray< CMmsMMBoxFlags >iKeywordArray[private]

TInt32 iMmsMMState

TInt32 iMmsMMState[private]

TInt32 iMmsStore

TInt32 iMmsStore[private]

TInt32 iMmsStoreStatus

TInt32 iMmsStoreStatus[private]

HBufC * iMmsStoreStatusText

HBufC *iMmsStoreStatusText[private]

TInt32 iMmsStored

TInt32 iMmsStored[private]