MCalDataExchangeCallBack Class Reference

#include <app/caldataexchange.h>

class MCalDataExchangeCallBack
Public Member Functions
pure virtual voidCompleted()
virtual TInt NumberOfEntriesToHandleAtOnce()
pure virtual voidProgress(TInt)

Detailed Description

A call back class to show the progress of long-running operations.

When a long-running operation is carried out, this class is used to signal its progress, and when the function is complete.

Member Function Documentation

Completed ( )

voidCompleted()[pure virtual]

Progress callback.

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

NumberOfEntriesToHandleAtOnce ( )

TInt NumberOfEntriesToHandleAtOnce()[inline, virtual]

Progress ( TInt )

voidProgress(TIntaPercentageCompleted)[pure virtual]

Progress callback.

This calls the observing class with the percentage complete of the current operation. This also propagates any error to the observing class.

ParameterDescription
aPercentageCompletedThe percentage complete.