CSVGTViewerAppDownloads Class Reference

class CSVGTViewerAppDownloads : public CBase

This class declares the Downloads and the associated attributes.

Since
3.0

Inherits from

Constructor & Destructor Documentation

CSVGTViewerAppDownloads(TBool, TBool, TBool)

CSVGTViewerAppDownloads ( TBool aIsEmbedded,
TBool aIsSynchronous,
TBool aLinkFlag
) [private]

C++ default constructor.

Parameters

TBool aIsEmbedded
TBool aIsSynchronous
TBool aLinkFlag

~CSVGTViewerAppDownloads()

~CSVGTViewerAppDownloads ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

DownloadCompleted()

TBool DownloadCompleted ( ) const

This Function returns the flag iDownloadCompleted associated with the download

DownloadHandle()

RHttpDownload * DownloadHandle ( )

This Function returns the download handle associated with the download

EmbeddedMode()

TBool EmbeddedMode ( ) const

This Function returns the flag iEmbeddedMode associated with the download

FileName()

TFileName FileName ( ) const

This Function returns the filename associated with the download

ImageLinkFlag()

TBool ImageLinkFlag ( ) const

This Function returns the Image Link flag status associated with the download

LinkOffset()

TInt LinkOffset ( ) [static]

returns link offset.

NewL(TBool, TBool, TBool)

CSVGTViewerAppDownloads * NewL ( TBool aIsEmbedded,
TBool aIsSynchronous,
TBool aLinkFlag
) [static]

Two-phased constructor.

Parameters

TBool aIsEmbedded
TBool aIsSynchronous
TBool aLinkFlag Image flag to distinguish the Embeded & hyperlink.

NewLC(TBool, TBool, TBool)

CSVGTViewerAppDownloads * NewLC ( TBool aIsEmbedded,
TBool aIsSynchronous,
TBool aLinkFlag
) [static]

Two-phased constructor.

Parameters

TBool aIsEmbedded
TBool aIsSynchronous
TBool aLinkFlag Image flag to distinguish the Embeded & hyperlink.

QueLink()

TDblQueLink QueLink ( ) const

This Function returns the Link in the doubly linked list associated with the download

SetDownloadCompleted(TBool)

void SetDownloadCompleted ( TBool aDownloadCompleted )

This Function Sets the flag iDownloadCompleted associated with the download

Parameters

TBool aDownloadCompleted

SetDownloadHandle(RHttpDownload *)

void SetDownloadHandle ( RHttpDownload * aDownloadHandle )

This Function Sets the Download Handle associated with the download

Parameters

RHttpDownload * aDownloadHandle

SetEmbeddedMode(TBool)

void SetEmbeddedMode ( TBool aEmbeddedMode )

This Function Sets the flag EmbeddedMode associated with the download

Parameters

TBool aEmbeddedMode

SetFileName(const TDesC &)

void SetFileName ( const TDesC & aFileName )

This Function Sets the filename associated with the download

Parameters

const TDesC & aFileName

SetImageLinkFlag(TBool)

void SetImageLinkFlag ( TBool aLinkFlag )

This function sets the image link flag.

Parameters

TBool aLinkFlag Image flag to distinguish the Embeded & hyperlink.

SetSynchronousMode(TBool)

void SetSynchronousMode ( TBool aSynchronousMode )

This Function Sets the flag SynchronousMode associated with the download

Parameters

TBool aSynchronousMode

SynchronousMode()

TBool SynchronousMode ( ) const

This Function returns the flag iSynchronousMode associated with the download

Member Data Documentation

TBool iDownloadCompleted

TBool iDownloadCompleted [private]

TBool iEmbeddedMode

TBool iEmbeddedMode [private]

TFileName iFileName

TFileName iFileName [private]

RHttpDownload * iHttpDownload

RHttpDownload * iHttpDownload [private]

TBool iImageLinkFlag

TBool iImageLinkFlag [private]

TDblQueLink iLink

TDblQueLink iLink [private]

TBool iSynchronousMode

TBool iSynchronousMode [private]