CUsbmanExtensionPlugin Class Reference

class CUsbmanExtensionPlugin : public CBase

Inherits from

  • CUsbmanExtensionPlugin

Constructor & Destructor Documentation

CUsbmanExtensionPlugin(MUsbmanExtensionPluginObserver &)

IMPORT_CCUsbmanExtensionPlugin(MUsbmanExtensionPluginObserver &aObserver)[protected]

Constructor.

Parameters

MUsbmanExtensionPluginObserver & aObserverThe observer of the plugin.

~CUsbmanExtensionPlugin()

IMPORT_C~CUsbmanExtensionPlugin()

Destructor.

Member Functions Documentation

GetInterface(TUid)

TAny *GetInterface(TUidaUid)[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 TUidaImplementationUid,
MUsbmanExtensionPluginObserver &aObserver
)[static]

Constructor.

Parameters

const TUid aImplementationUidThe UID of the implementation.
MUsbmanExtensionPluginObserver & aObserverThe 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]