MAknBackgroundProcess Class Reference

#include <mw/AknWaitNoteWrapper.h>

class MAknBackgroundProcess
Public Member Functions
virtual TInt CycleError(TInt)
virtual voidDialogDismissedL(TInt)
pure virtual TBool IsProcessDone()
virtual voidProcessFinished()
pure virtual voidStepL()

Detailed Description

Abstract process divided into steps.

Member Function Documentation

CycleError ( TInt )

TInt CycleError(TIntaError)[inline, virtual]

Handles error occurred in StepL

ParameterDescription
aErrorerror code that occurred

Returns: translated error code. If this is != KErrNone process will be stopped.

DialogDismissedL ( TInt )

voidDialogDismissedL(TInt)[inline, virtual]

Callback when the dialog is dismissed

IsProcessDone ( )

TBool IsProcessDone()const [pure virtual]

Return true when the process is done.

ProcessFinished ( )

voidProcessFinished()[inline, virtual]

Callback when the process is finished.

StepL ( )

voidStepL()[pure virtual]

Completes one cycle of the process.