class MPbkBackgroundProcess |
Abstract process divided into steps.
Public Member Functions | |
---|---|
~MPbkBackgroundProcess () | |
TInt | HandleStepError ( TInt ) |
TBool | IsProcessDone () |
void | ProcessCanceled () |
void | ProcessFinished () |
void | StepL () |
TInt | TotalNumberOfSteps () |
TInt | HandleStepError | ( | TInt | aError | ) | [inline, virtual] |
Handles an error (leave) occurred in StepL. Default implementation returns aError.
TInt aError | code of the error that occurred. |
TBool | IsProcessDone | ( | ) | const [pure virtual] |
Returns true when this process is done.
void | ProcessFinished | ( | ) | [inline, virtual] |
Called back by the process driver when this process is finished.
void | StepL | ( | ) | [pure virtual] |
Executes one cycle of the process. Called by a process driver.
TInt | TotalNumberOfSteps | ( | ) | [inline, virtual] |
Returns the total number of steps in this process or -1 if not known.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.