MSvgtAppObserver Class Reference

class MSvgtAppObserver
MSvgtAppObserver is an interface class used by SVGT control to callback to the application. SVGTUIControl.lib
Since
3.0

Member Functions Documentation

AssignEmbededDataL(const TDesC &)

void AssignEmbededDataL ( const TDesC & aUri ) [pure virtual]
This method is called instead of NewFetchImageData in case the image is defined as part of the SVG content itself i.e. inline using base-64 encoding for eg.
Since
3.1 see MSvgRequestObserver::ImageDataReference

Parameters

const TDesC & aUri

CanShowDownload()

TBool CanShowDownload ( ) const [pure virtual]

This method is called to check from the client if Downloads option should be displayed.

Since
3.0

CanShowSave()

TBool CanShowSave ( ) [pure virtual]

This method is called to check from the client if Save option should be displayed.

Since
3.0

DisplayDownloadMenuL(void)

void DisplayDownloadMenuL ( void ) [pure virtual]
This method is called to notify the client that download menu has been selected in the UI dialog
Since
3.0

Parameters

void

DoSaveL(TInt)

void DoSaveL ( TInt aButtonid ) [pure virtual]
This method is called to perform the save operation. Note the Save functionality depends on the client invoking the dialog. E.g. Browser->SVGT-Viewer->Dialog then save results in Move operation to save memory. param aButtonId context in which save is called
Since
3.0

Parameters

TInt aButtonid

ExitWhenOrientationChange()

TBool ExitWhenOrientationChange ( ) [pure virtual]

FetchImage(const TDesC &, RFs &, RFile &)

TInt FetchImage ( const TDesC & aUri,
RFs & aSession,
RFile & aFileHandle
) [pure virtual]
This method is called to retrieve the absolute path of an image gvien the uri. The SVGT control requests the absolute path to provide the client with control of the location of the images.
Since
3.0 see MSvgRequestObserver::FetchImage

Parameters

const TDesC & aUri
RFs & aSession
RFile & aFileHandle

GetSmilFitValue(TDes &)

void GetSmilFitValue ( TDes & aSmilValue ) [pure virtual]
This method is called to get the SMIL fit value to be used by the engine.
Since
3.0

Parameters

TDes & aSmilValue

IsSavingDone()

TBool IsSavingDone ( ) [pure virtual]

This method is called to check from the client if Saving is done already

Since
3.0

LinkActivated(const TDesC &)

TBool LinkActivated ( const TDesC & aUri ) [pure virtual]

This method is called to notify the client that a link has been activated.

Since
3.0

Parameters

const TDesC & aUri

LinkActivatedWithShow(const TDesC &, const TDesC &)

TBool LinkActivatedWithShow ( const TDesC & aUri,
const TDesC & aShow
) [pure virtual]

This method is called to notify the client that a link has been activated. When Show is also present .

Since
3.0

Parameters

const TDesC & aUri
const TDesC & aShow

NewFetchImageData(const TDesC &)

TInt NewFetchImageData ( const TDesC & aUri ) [pure virtual]
This method is called to retrieve the absolute path of an image given the uri. The SVGT control requests the absolute path to provide the client with control of the location of the images. This function should be an asynchronous, i.e. it should not block. On completion of fetching of the file, it should notify the control using AssignImageData() function
Since
3.1 see MSvgRequestObserver::ImageDataReference

Parameters

const TDesC & aUri