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)

voidInstallProgress(MNcdInstallOperation &aOperation,
TNcdProgressaProgress
)[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 & aOperationThe operation that sent the event.
TNcdProgress aProgressProgress of the operation.

OperationComplete(MNcdInstallOperation &, TInt)

voidOperationComplete(MNcdInstallOperation &aOperation,
TIntaError
)[pure virtual]

Called when an operation has been completed.

Parameters

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

QueryReceived(MNcdInstallOperation &, MNcdQuery *)

voidQueryReceived(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 & aOperationUncounted reference to the operation that sent the event.
MNcdQuery * aQueryPointer to the query that must be completed. Counted, Release() must be called after use.