MDevSoundCIClientExtension Class Reference

class MDevSoundCIClientExtension

Mixins for client-side Custom Interface Extension.

Member Functions Documentation

CustomInterfaceExtension(TUid, TAny *&)

TInt CustomInterfaceExtension(TUidaUid,
TAny *&aInterface
)[pure virtual]

Called to obtain a pointer to the Custom Interface Extension. This allows a Custom or Extension Interface, that uses a pattern different to the standard Custom Interface, to be implemented. Note that ownership of the interface will depend on the UID.

Parameters

TUid aUidUID of the required interface.
TAny *& aInterfaceUsed to return pointer to the interface. Must be NULL if no matching interface.

PassDestructorKey(TUid)

voidPassDestructorKey(TUidaDestructorKey)[pure virtual]

Called by framework during construction (after Setup) and is used to pass a destructor key for ECom. The passed UID must be retained for the lifetime of the plugin and, on a subsequent call to Release(), REComSession::DestroyedImplementation() must be called by the plugin, using the stored UID.

Parameters

TUid aDestructorKeyThe Uid returned by REComSession::CreateImplementationL() or similar.

Release()

voidRelease()[pure virtual]

Equivalent to destructor. Called to destroy plugin.

Setup(MCustomCommand &)

TInt Setup(MCustomCommand &aCustomCommand)[pure virtual]

Must be called after successfully creating ECOM implementation.

Parameters

MCustomCommand & aCustomCommandReference to implementation of CI Extension Support interface.