class MConverterUiObserver |
Interface implemented by the client of a conversion operation to observe conversion progress.
Public Member Functions | |
---|---|
void | MaxSteps(TInt, TInt) |
HBufC * | QueryPasswordL(const TDesC &) |
IMPORT_C void | Reserved1_Conv_Obs() |
TInt | Result(TInt, TInt) |
Public Member Enumerations | |
---|---|
enum | TAction { ERetain, ERemove, ERepeat } |
enum | TResult { ESuccess, EPartialSuccess, EFailure } |
void | MaxSteps | ( | TInt | aMax, |
TInt | aObject | |||
) | [pure virtual] |
Gets the maximum number of steps that the conversion operation can take.
The conversion may complete in less than this number of steps (for example if an error occurs or the action is cancelled).
Each step is a call to CConverterBase2::DoConvert(), although during synchronous conversions this is transparent to the client code.
HBufC * | QueryPasswordL | ( | const TDesC & | aClue | ) | [pure virtual] |
Queries the client for a password in order to access the data.
const TDesC & aClue | Data with a meaning that is specific to each converter: it could for example indicate where the password is stored. |
TInt | Result | ( | TInt | aResult, |
TInt | aObject | |||
) | [pure virtual] |
Alerts the client to an error in conversion.
Describes the actions that the converter should take.
ERetain |
Keep already converted data. |
ERemove |
Delete converted data. |
ERepeat |
Reconvert data. |
Describes the result of a conversion operation.
ESuccess |
Conversion succeeded. |
EPartialSuccess |
Conversion partially succeeded. |
EFailure |
Conversion failed. |
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.