CFdcPlugin Class Reference

class CFdcPlugin : public CBase

Base class for FDC plugins.

Inherits from

Constructor & Destructor Documentation

CFdcPlugin(MFdcPluginObserver &)

IMPORT_C CFdcPlugin ( MFdcPluginObserver & aObserver ) [protected]

Constructor

Parameters

MFdcPluginObserver & aObserver

~CFdcPlugin()

IMPORT_C ~CFdcPlugin ( ) [protected]

Destructor.

Member Functions Documentation

Extension_(TUint, TAny *&, TAny *)

IMPORT_C TInt Extension_ ( TUint aExtensionId,
TAny *& a0,
TAny * a1
) [protected, virtual]

From CBase .

Parameters

TUint aExtensionId
TAny *& a0
TAny * a1

GetInterface(TUid)

TAny * GetInterface ( TUid aUid ) [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 ( TUid aImplementationUid,
MFdcPluginObserver & aObserver
) [private, static]

Constructor.

Parameters

TUid aImplementationUid UID of implementation to create.
MFdcPluginObserver & aObserver Handle 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.