CBTServiceParameterList Class Reference

class CBTServiceParameterList : public CBase

A class holding paths to different types of files.

In case of an XHTML file the list collects paths to objects referenced in the file.

In case of an image the list resolves the MIME types and displayable names of the images.

BtServiceUtils.lib
Since
Series 60 2.6

Inherits from

Constructor & Destructor Documentation

CBTServiceParameterList()

CBTServiceParameterList ( ) [private]

C++ default constructor.

~CBTServiceParameterList()

~CBTServiceParameterList ( ) [virtual]

Destructor.

Member Functions Documentation

AddImageL(const TDesC &)

IMPORT_C void AddImageL ( const TDesC & aFilePath )
Adds an image file path to the list.
Since
Series 60 2.6

Parameters

const TDesC & aFilePath A full path and file name.

AddImageL(RFile)

IMPORT_C void AddImageL ( RFile aFile )
Adds an image file path to the list.
Since
Series 60 2.6

Parameters

RFile aFile file handle to be send.

AddObjectL(const TDesC &)

IMPORT_C void AddObjectL ( const TDesC & aFilePath )
Adds an object file path to the list.
Since
Series 60 2.6

Parameters

const TDesC & aFilePath A full path and file name.

AddObjectL(RFile)

IMPORT_C void AddObjectL ( RFile aFile )
Adds an object file path to the list.
Since
Series 60 2.6

Parameters

RFile aFile file handle to be send .

AddXhtmlL(const TDesC &)

IMPORT_C void AddXhtmlL ( const TDesC & aFilePath )
Adds an xhtml file path to the list.
Since
Series 60 2.6

Parameters

const TDesC & aFilePath A full path and file name.

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

HasAnyReferencedObjects()

TBool HasAnyReferencedObjects ( ) const

Checks whether the list has any xhtml-files with referenced objects.

ImageAtL(TInt)

TBTSUImageParam ImageAtL ( TInt aIndex ) const

Returns a copy of an element of the list from the given index.

Parameters

TInt aIndex The index.

ImageCount()

TInt ImageCount ( ) const

Return the number of image file paths in the list.

ImageListSize()

TInt ImageListSize ( ) const

Return the size of images in the list.

MarkAsSendL(TInt)

void MarkAsSendL ( TInt aIndex )

Reset image filehandle

Parameters

TInt aIndex The index.

NewL()

IMPORT_C CBTServiceParameterList * NewL ( ) [static]

Two-phased constructor.

NewLC()

IMPORT_C CBTServiceParameterList * NewLC ( ) [static]

ObjectAtL(TInt)

RFile & ObjectAtL ( TInt aIndex )

Returns a copy of an element of the list from the given index.

Parameters

TInt aIndex The index.

ObjectCount()

TInt ObjectCount ( ) const

Return the number of object file paths in the list.

ObjectListSizeL()

TInt ObjectListSizeL ( ) const

Return the size of objects in the list.

RemoveImageL(TInt)

void RemoveImageL ( TInt aIndex )

Remove image from list.

Parameters

TInt aIndex The index.

RemovedImageCount()

TInt RemovedImageCount ( )

Return count of removed image

ResetImageHandleL(TInt)

void ResetImageHandleL ( TInt aIndex )

Reset image filehandle

Parameters

TInt aIndex The index.

ResetObjectHandleL(TInt)

void ResetObjectHandleL ( TInt aIndex )

Reset object filehandle

Parameters

TInt aIndex The index.

XhtmlAt(TInt)

TBTSUXhtmlParam XhtmlAt ( TInt aIndex ) const

Returns a copy of an element of the list from the given index.

Parameters

TInt aIndex The index.

XhtmlCount()

TInt XhtmlCount ( ) const

Return the number of xhtml file paths in the list.

Member Data Documentation

RFs iFileSession

RFs iFileSession [private]

RArray< TBTSUImageParam > iImageList

RArray < TBTSUImageParam > iImageList [private]

RArray< RFile > iObjectList

RArray < RFile > iObjectList [private]

TInt iRemovedImageCount

TInt iRemovedImageCount [private]

RArray< TBTSUXhtmlParam > iXhtmlList

RArray < TBTSUXhtmlParam > iXhtmlList [private]