|
||
Converter clients can supply a converter observer object by implementing
the MConverterUiObserver
interface. The object is passed
to the converter's ConvertL()
, ConvertObjectL()
,
ConvertAL()
or ConvertObjectAL()
function. It is used
for reporting on the progress of multi-step conversions and for requesting a
password from the client when the file being converted from is
password-protected.
It has the following functions:
virtual void MaxSteps(TInt aMax, TInt aObject)=0;
can be
implemented to get the maximum number of steps that the conversion operation
can take,
virtual TInt Result(TInt aResult, TInt aObject)=0;
can
be implemented to take some action following an error in the conversion,
virtual HBufC* QueryPasswordL(const TDesC& aClue)=0;
can be implemented to request a password from the user in order to access the
data.