CMsvPlainBodyTextEntry Class Reference

class CMsvPlainBodyTextEntry : public CBase

Used for handling the asynchronous storage of plainbody text chunks.

Inherits from

Constructor & Destructor Documentation

CMsvPlainBodyTextEntry()

CMsvPlainBodyTextEntry ( ) [private]

Constructor.

~CMsvPlainBodyTextEntry()

~CMsvPlainBodyTextEntry ( )

Destructor.

Member Functions Documentation

AddChunkL(const TDesC8 &)

void AddChunkL ( 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 & aLineOfData the body data, ownership is taken.

ConstructL(TInt, CMsvServerEntry &, TUint, TUint)

void ConstructL ( TInt aIs8Bit,
CMsvServerEntry & aServerEntry,
TUint aCharset,
TUint aDefaultCharset
) [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 ( TInt aIs8Bit,
CMsvServerEntry & aServerEntry,
TUint aCharset,
TUint aDefaultCharset
) [static]

The NewL Factory function.

Parameters

TInt aIs8Bit
CMsvServerEntry & aServerEntry
TUint aCharset
TUint aDefaultCharset

TryCommitL()

void TryCommitL ( )

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::TCommitData iCommittedData [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]