#include <app/calprogresscallback.h>
class MCalProgressCallBack |
Public Member Functions | |
---|---|
pure virtual void | Completed(TInt) |
pure virtual TBool | NotifyProgress() |
pure virtual void | Progress(TInt) |
A call back class to show the progress of long-running operations.
When a long-running operation is carried out on the instance view or the entry view, this class is used to signal its progress, and when the function is complete.
void | Completed | ( | TInt | aError | ) | [pure virtual] |
Progress callback.
This calls the observing class when the current operation is finished.
Parameter | Description |
---|---|
aError | The error if the operation failed, or KErrNone if successful. |
TBool | NotifyProgress | ( | ) | [pure virtual] |
Asks the observing class whether progress callbacks are required. This is called once only to check if callbacks are enabled.
Returns: If the observing class returns EFalse, then the Progress() function will not be called.
void | Progress | ( | TInt | aPercentageCompleted | ) | [pure virtual] |
Progress callback.
This calls the observing class with the percentage complete of the current operation.
Parameter | Description |
---|---|
aPercentageCompleted | The percentage complete. |