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

  • CBTServiceParameterList

Constructor & Destructor Documentation

CBTServiceParameterList()

CBTServiceParameterList()[private]

C++ default constructor.

~CBTServiceParameterList()

~CBTServiceParameterList()[virtual]

Destructor.

Member Functions Documentation

AddImageL(const TDesC &)

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

Parameters

const TDesC & aFilePathA full path and file name.

AddImageL(RFile)

IMPORT_C voidAddImageL(RFileaFile)
Adds an image file path to the list.
Since
Series 60 2.6

Parameters

RFile aFilefile handle to be send.

AddObjectL(const TDesC &)

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

Parameters

const TDesC & aFilePathA full path and file name.

AddObjectL(RFile)

IMPORT_C voidAddObjectL(RFileaFile)
Adds an object file path to the list.
Since
Series 60 2.6

Parameters

RFile aFilefile handle to be send .

AddXhtmlL(const TDesC &)

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

Parameters

const TDesC & aFilePathA full path and file name.

ConstructL()

voidConstructL()[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(TIntaIndex)const

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

Parameters

TInt aIndexThe 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)

voidMarkAsSendL(TIntaIndex)

Reset image filehandle

Parameters

TInt aIndexThe index.

NewL()

IMPORT_C CBTServiceParameterList *NewL()[static]

Two-phased constructor.

NewLC()

IMPORT_C CBTServiceParameterList *NewLC()[static]

ObjectAtL(TInt)

RFile &ObjectAtL(TIntaIndex)

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

Parameters

TInt aIndexThe 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)

voidRemoveImageL(TIntaIndex)

Remove image from list.

Parameters

TInt aIndexThe index.

RemovedImageCount()

TInt RemovedImageCount()

Return count of removed image

ResetImageHandleL(TInt)

voidResetImageHandleL(TIntaIndex)

Reset image filehandle

Parameters

TInt aIndexThe index.

ResetObjectHandleL(TInt)

voidResetObjectHandleL(TIntaIndex)

Reset object filehandle

Parameters

TInt aIndexThe index.

XhtmlAt(TInt)

TBTSUXhtmlParam XhtmlAt(TIntaIndex)const

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

Parameters

TInt aIndexThe 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]