CMmsMMBoxMessageHeaders Class Reference

class CMmsMMBoxMessageHeaders : public CBase

MMBox related headers present in message PDUs.

mmsutil.lib
Since
2.6

Inherits from

Constructor & Destructor Documentation

CMmsMMBoxMessageHeaders()

CMmsMMBoxMessageHeaders ( ) [private]

C++ default constructor.

~CMmsMMBoxMessageHeaders()

~CMmsMMBoxMessageHeaders ( ) [virtual]

Destructor.

Member Functions Documentation

AppendKeywordItemL(TInt, const TDesC &)

IMPORT_C void AppendKeywordItemL ( TInt aToken,
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 aToken MMBox Operation connected with keyword (Add/Remove/Filter)
const TDesC & aKeyword Keyword connected to object

ConstructL()

void ConstructL ( ) [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 void DeleteKeywordItem ( const TDesC & aKeyword )
Remove keyword item from MMBox flags array
Since
2.6

Parameters

const TDesC & aKeyword first item with this keyword is deleted.

ExternalizeL(RMsvWriteStream &)

void ExternalizeL ( RMsvWriteStream & aStream ) const
Externalize .
Since
2.6

Parameters

RMsvWriteStream & aStream opened write stream

FindItemWithKeyword(const TDesC &)

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

Parameters

const TDesC & aKeyword

InternalizeL(RMsvReadStream &)

void InternalizeL ( RMsvReadStream & aStream )
Internalize .
Since
2.6

Parameters

RMsvReadStream & aStream opened 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 TPtrC MmsStoreStatusText ( ) 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()

void Reset ( ) [private]

Delete old data before internalizing

SetMMState(TInt)

void SetMMState ( TInt aMmsMMState ) [inline]
Message MMBoxState mutator
Since
2.6

Parameters

TInt aMmsMMState message MMBox State Draft/Sent/New/Retrieved/Forwarded

SetMmsStore(TInt)

void SetMmsStore ( TInt aMmsStore ) [inline]
MMBox Store request mutator
Since
2.6

Parameters

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

SetMmsStoreStatus(TInt)

void SetMmsStoreStatus ( TInt aMmsStoreStatus ) [inline]
Set Status code from operation where message storing to MMBox was requested.
Since
2.6

Parameters

TInt aMmsStoreStatus Message MMBox Store status (Success or error code)

SetMmsStoreStatusTextL(const TDesC &)

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

Parameters

const TDesC & aText MMBox MmsStoreStatus text string,

SetMmsStored(TInt)

void SetMmsStored ( TInt aMmsStored ) [inline]
MMBox store state mutator - needed by decode
Since
2.6

Parameters

TInt aMmsStored Has 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]