CConverterBase2 Class Reference

class CConverterBase2 : public CConverterBase

Base Class for Ecom Style Converters The methods in CConverterBase2 are inherited from CConverterBase

There are two flavours of conversion methods:

the synchronous interfaces, ConvertL() and ConvertObjectL(), which perform the specified conversion and then return

the asynchronous interfaces, ConvertAL() and ConvertObjectAL(), which initialise the converter object, and allow the client code to call DoConvertL() a number of times until the conversion is complete or abandoned.

Inherits from

Constructor & Destructor Documentation

~CConverterBase2()

IMPORT_C~CConverterBase2()[virtual]

Member Functions Documentation

CancelConvert()

IMPORT_C voidCancelConvert()[virtual]

Capabilities()

IMPORT_C TIntCapabilities()[virtual]

ConvertAL(const TFileName &, const TFileName &, MConverterUiObserver *)

IMPORT_C voidConvertAL(const TFileName &aSourceFile,
const TFileName &aTargetFile,
MConverterUiObserver *aObserver = NULL
)[virtual]

Parameters

const TFileName & aSourceFile
const TFileName & aTargetFile
MConverterUiObserver * aObserver = NULL

ConvertL(const TFileName &, const TFileName &, MConverterUiObserver *)

IMPORT_C voidConvertL(const TFileName &aSourceFile,
const TFileName &aTargetFile,
MConverterUiObserver *aObserver = NULL
)[virtual]

Parameters

const TFileName & aSourceFile
const TFileName & aTargetFile
MConverterUiObserver * aObserver = NULL

ConvertObjectAL(RReadStream &, RWriteStream &, MConverterUiObserver *)

IMPORT_C voidConvertObjectAL(RReadStream &aReadStream,
RWriteStream &aWriteStream,
MConverterUiObserver *aObserver = NULL
)[virtual]

Parameters

RReadStream & aReadStream
RWriteStream & aWriteStream
MConverterUiObserver * aObserver = NULL

ConvertObjectL(RReadStream &, RWriteStream &, MConverterUiObserver *)

IMPORT_C voidConvertObjectL(RReadStream &aReadStream,
RWriteStream &aWriteStream,
MConverterUiObserver *aObserver = NULL
)[virtual]

Parameters

RReadStream & aReadStream
RWriteStream & aWriteStream
MConverterUiObserver * aObserver = NULL

CreateConverterL(TUid)

CConverterBase2 *CreateConverterL(TUidaImplUid)[static]

Parameters

TUid aImplUid

DoConvertL()

IMPORT_C TBoolDoConvertL()[virtual]

EmbeddedObjectL(TDataType &)

IMPORT_C CConverterBase *EmbeddedObjectL(TDataType &aType)[virtual]

Parameters

TDataType & aType

ExtendedInterfaceL(TUid, CBase *&)

IMPORT_C voidExtendedInterfaceL(TUidaInterfaceUid,
CBase *&aInterface
)[virtual]

Parameters

TUid aInterfaceUid
CBase *& aInterface

GetEmbeddedFileName(TFileName &)

IMPORT_C TBoolGetEmbeddedFileName(TFileName &aFileName)[virtual]

Parameters

TFileName & aFileName

Reserved_1()

IMPORT_C voidReserved_1()[virtual]

Reserved_2()

IMPORT_C voidReserved_2()[virtual]

Uid()

TUid Uid()[pure virtual]

Gets the converter's UID.

Converter's UID

Member Data Documentation

TUid iDestructionKey

TUid iDestructionKey[private]

TInt iSpare

TInt iSpare[private]