MDevSoundCIClientExtension Class Reference

class MDevSoundCIClientExtension

Mixins for client-side Custom Interface Extension.

Member Functions Documentation

CustomInterfaceExtension(TUid, TAny *&)

TInt CustomInterfaceExtension ( TUid aUid,
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 aUid UID of the required interface.
TAny *& aInterface Used to return pointer to the interface. Must be NULL if no matching interface.

PassDestructorKey(TUid)

void PassDestructorKey ( TUid aDestructorKey ) [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 aDestructorKey The Uid returned by REComSession::CreateImplementationL() or similar.

Release()

void Release ( ) [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 & aCustomCommand Reference to implementation of CI Extension Support interface.