CFdcPlugin Class Reference

class CFdcPlugin : public CBase

Base class for FDC plugins.

Inherits from

Constructor & Destructor Documentation

CFdcPlugin(MFdcPluginObserver &)

IMPORT_CCFdcPlugin(MFdcPluginObserver &aObserver)[protected]

Constructor

Parameters

MFdcPluginObserver & aObserver

~CFdcPlugin()

IMPORT_C~CFdcPlugin()[protected]

Destructor.

Member Functions Documentation

Extension_(TUint, TAny *&, TAny *)

IMPORT_C TIntExtension_(TUintaExtensionId,
TAny *&a0,
TAny *a1
)[protected, virtual]

From CBase.

Parameters

TUint aExtensionId
TAny *& a0
TAny * a1

GetInterface(TUid)

TAny *GetInterface(TUidaUid)[private, pure virtual]

Called by FDF to get a pointer to an object which implements the FDF API with UID aUid. This is a mechanism for allowing future change to the FDF API without breaking BC in existing (non-updated) FDF plugins.

Parameters

TUid aUid

NewL(TUid, MFdcPluginObserver &)

IMPORT_C CFdcPlugin *NewL(TUidaImplementationUid,
MFdcPluginObserver &aObserver
)[private, static]

Constructor.

Parameters

TUid aImplementationUidUID of implementation to create.
MFdcPluginObserver & aObserverHandle back onto the FDF for the FDC to use.

Observer()

IMPORT_C MFdcPluginObserver &Observer()[protected]

Accessor for the interface to the FDF.

Member Data Documentation

TUid iInstanceId

TUid iInstanceId[private]

UID set by ECOM when the instance is created. Used when the instance is destroyed.

MFdcPluginObserver & iObserver

MFdcPluginObserver &iObserver[private]

Interface for calls up to the FDF.

TAny * iPad

TAny *iPad[private]

Pad for BC-friendly future change.