CUsbmanExtensionPlugin Class Reference

class CUsbmanExtensionPlugin : public CBase

Inherits from

Constructor & Destructor Documentation

CUsbmanExtensionPlugin(MUsbmanExtensionPluginObserver &)

IMPORT_C CUsbmanExtensionPlugin ( MUsbmanExtensionPluginObserver & aObserver ) [protected]

Constructor.

Parameters

MUsbmanExtensionPluginObserver & aObserver The observer of the plugin.

~CUsbmanExtensionPlugin()

IMPORT_C ~CUsbmanExtensionPlugin ( )

Destructor.

Member Functions Documentation

GetInterface(TUid)

TAny * GetInterface ( TUid aUid ) [pure virtual]

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

Parameters

TUid aUid

NewL(const TUid, MUsbmanExtensionPluginObserver &)

IMPORT_C CUsbmanExtensionPlugin * NewL ( const TUid aImplementationUid,
MUsbmanExtensionPluginObserver & aObserver
) [static]

Constructor.

Parameters

const TUid aImplementationUid The UID of the implementation.
MUsbmanExtensionPluginObserver & aObserver The observer of the plugin.

Observer()

IMPORT_C MUsbmanExtensionPluginObserver & Observer ( ) [protected]

Accessor for the observer.

Member Data Documentation

TUid iInstanceId

TUid iInstanceId [private]

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

MUsbmanExtensionPluginObserver & iObserver

MUsbmanExtensionPluginObserver & iObserver [private]