Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <calprogresscallback.h>

Class MCalProgressCallBack

class MCalProgressCallBack;

Description

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.

Members

Defined in MCalProgressCallBack:

Related Topics


Member functions


Progress(TInt)

virtual void Progress(TInt aPercentageCompleted)=0;

Description

Progress callback.

This calls the observing class with the percentage complete of the current operation.

Parameters

TInt aPercentageCompleted

The percentage complete.


Completed(TInt)

virtual void Completed(TInt aError)=0;

Description

Progress callback.

This calls the observing class when the current operation is finished.

Parameters

TInt aError

The error if the operation failed, or KErrNone if successful.


NotifyProgress()

virtual TBool NotifyProgress()=0;

Description

Asks the observing class whether progress callbacks are required. This is called once only to check if callbacks are enabled.

Return value

TBool

If the observing class returns EFalse, then the MCalProgressCallBack::Progress(TInt) function will not be called.