MConverterUiObserver Class Reference

class MConverterUiObserver

Interface implemented by the client of a conversion operation to observe conversion progress.

CConverterBase2

Member Functions Documentation

MaxSteps(TInt, TInt)

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.

Parameters

TInt aMax Maximum number of conversion steps.
TInt aObject Index that identifies an embedded object when one is being converted.

QueryPasswordL(const TDesC &)

HBufC * QueryPasswordL ( const TDesC & aClue ) [pure virtual]

Queries the client for a password in order to access the data.

Parameters

const TDesC & aClue Data with a meaning that is specific to each converter: it could for example indicate where the password is stored.

Reserved1_Conv_Obs()

IMPORT_C void Reserved1_Conv_Obs ( ) [virtual]

Result(TInt, TInt)

TInt Result ( TInt aResult,
TInt aObject
) [pure virtual]

Alerts the client to an error in conversion.

Parameters

TInt aResult A TResult value indicating the conversion state.
TInt aObject Index that identifies an embedded object when one is being converted.

Member Enumerations Documentation

Enum TAction

Describes the actions that the converter should take.

Enumerators

ERetain

Keep already converted data.

ERemove

Delete converted data.

ERepeat

Reconvert data.

Enum TResult

Describes the result of a conversion operation.

Enumerators

ESuccess

Conversion succeeded.

EPartialSuccess

Conversion partially succeeded.

EFailure

Conversion failed.