class MNcdInstallOperationObserver |
Observer interface for install operations
Install operation users should implement this interface to be able to receive callbacks.
Public Member Functions | |
---|---|
void | InstallProgress(MNcdInstallOperation &, TNcdProgress) |
void | OperationComplete(MNcdInstallOperation &, TInt) |
void | QueryReceived(MNcdInstallOperation &, MNcdQuery *) |
Protected Member Functions | |
---|---|
~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.
void | InstallProgress | ( | MNcdInstallOperation & | aOperation, |
TNcdProgress | aProgress | |||
) | [pure virtual] |
Called when install has progressed.
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.
MNcdInstallOperation & aOperation | The operation that sent the event. |
TNcdProgress aProgress | Progress of the operation. |
void | OperationComplete | ( | MNcdInstallOperation & | aOperation, |
TInt | aError | |||
) | [pure virtual] |
Called when an operation has been completed.
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. |
void | QueryReceived | ( | MNcdInstallOperation & | aOperation, |
MNcdQuery * | aQuery | |||
) | [pure virtual] |
Called when a query has been received for an operation.
Querys need to be completed with MNcdOperation::CompleteQueryL() to continue the operation! Alternatively, the operation must be cancelled.
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. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.