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.
The password entered.
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.
A TAction value that indicates what action the converter should take.