MNcdInstallOperationObserver Class Reference

class MNcdInstallOperationObserver

Observer interface for install operations

Install operation users should implement this interface to be able to receive callbacks.

MNcdInstallOperation

Constructor & Destructor Documentation

~MNcdInstallOperationObserver()

~MNcdInstallOperationObserver ( ) [protected, inline, virtual]

Destructor

An empty virtual destructor is implemented to prevent deletion of a class object through this interface. Observer should not be deleted by the one that is observed.

Member Functions Documentation

InstallProgress(MNcdInstallOperation &, TNcdProgress)

void InstallProgress ( MNcdInstallOperation & aOperation,
TNcdProgress aProgress
) [pure virtual]

Called when install has progressed.

Note:

This will be called only once per an installed file. The reason for this is that the install process is handled outside of Catalogs Engine in the platform installer.

Parameters

MNcdInstallOperation & aOperation The operation that sent the event.
TNcdProgress aProgress Progress of the operation.

OperationComplete(MNcdInstallOperation &, TInt)

void OperationComplete ( MNcdInstallOperation & aOperation,
TInt aError
) [pure virtual]

Called when an operation has been completed.

Parameters

MNcdInstallOperation & aOperation The operation that sent the event.
TInt aError Error code for operation completion. KErrNone for successful completion, KErrAbort if the user cancelled the operation, otherwise a system wide error code.

QueryReceived(MNcdInstallOperation &, MNcdQuery *)

void QueryReceived ( MNcdInstallOperation & aOperation,
MNcdQuery * aQuery
) [pure virtual]

Called when a query has been received for an operation.

Note:

Querys need to be completed with MNcdOperation::CompleteQueryL() to continue the operation! Alternatively, the operation must be cancelled.

MNcdOperation MNcdQuery MNcdOperation::CompleteQueryL()

Parameters

MNcdInstallOperation & aOperation Uncounted reference to the operation that sent the event.
MNcdQuery * aQuery Pointer to the query that must be completed. Counted, Release() must be called after use.