MCalDataExchangeCallBack Class Reference

class MCalDataExchangeCallBack

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.

Public Member Functions
voidCompleted()
TInt NumberOfEntriesToHandleAtOnce()
voidProgress(TInt)

Member Functions 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.

Parameters

TInt aPercentageCompletedThe percentage complete.