CMsvPlainBodyTextEntry Class Reference

class CMsvPlainBodyTextEntry : public CBase

Used for handling the asynchronous storage of plainbody text chunks.

Inherits from

  • CMsvPlainBodyTextEntry

Constructor & Destructor Documentation

CMsvPlainBodyTextEntry()

CMsvPlainBodyTextEntry()[private]

Constructor.

~CMsvPlainBodyTextEntry()

~CMsvPlainBodyTextEntry()

Destructor.

Member Functions Documentation

AddChunkL(const TDesC8 &)

voidAddChunkL(const TDesC8 &aLineOfData)

Adds a chunk of body data to the intermediate buffer.If aLineOfData contains last chunk of data then it is directly written to store.

Parameters

const TDesC8 & aLineOfDatathe body data, ownership is taken.

ConstructL(TInt, CMsvServerEntry &, TUint, TUint)

voidConstructL(TIntaIs8Bit,
CMsvServerEntry &aServerEntry,
TUintaCharset,
TUintaDefaultCharset
)[private]

Creates an instance of CMsvPlainBodytext, that is used to store the bodytext .

Parameters

TInt aIs8Bit
CMsvServerEntry & aServerEntry
TUint aCharset
TUint aDefaultCharset

NewL(TInt, CMsvServerEntry &, TUint, TUint)

CMsvPlainBodyTextEntry *NewL(TIntaIs8Bit,
CMsvServerEntry &aServerEntry,
TUintaCharset,
TUintaDefaultCharset
)[static]

The NewL Factory function.

Parameters

TInt aIs8Bit
CMsvServerEntry & aServerEntry
TUint aCharset
TUint aDefaultCharset

TryCommitL()

voidTryCommitL()

Commit the plainbody text file to message store.

Member Enumerations Documentation

Enum TCommitData

Enum to indicate whether data has been committed to store.

Enumerators

ENoData
EUnCommittedData
ECommittedData

Member Data Documentation

enum CMsvPlainBodyTextEntry::TCommitData iCommittedData

enum CMsvPlainBodyTextEntry::TCommitDataiCommittedData[private]

Enum to indicate whether data has been committed to store.

CMsvPlainBodyText * iPlainBodyText

CMsvPlainBodyText *iPlainBodyText[private]

The store class for handling chunk storage.

HBufC8 * iPlainBodyTextCache

HBufC8 *iPlainBodyTextCache[private]

Cache to store incoming chunks.

CMsvStore * iStore

CMsvStore *iStore[private]