MCustomInterfaceSupport Class Reference

class MCustomInterfaceSupport

An interface to get Custom Interface.

Member Functions Documentation

RegisterObserver(MCustomInterfaceSupportObserver &)

TInt RegisterObserver ( MCustomInterfaceSupportObserver & aObserver ) [pure virtual]

Registers an interface support observer.

The observer will be notified when the custom interface has been removed .

Parameters

MCustomInterfaceSupportObserver & aObserver the observer reference to register.

RequestCustomInterface(TUid, TAny *&)

TInt RequestCustomInterface ( TUid aUid,
TAny *& aPtr
) [pure virtual]

Request custom interface associated with aUid. Whether multiple calls returns the same pointer and/or ownership is transferred depends on the specific uid.

Parameters

TUid aUid the Uid of the CI .
TAny *& aPtr on returns contains a pointer to the CI.

UnRegisterObserver(MCustomInterfaceSupportObserver &)

void UnRegisterObserver ( MCustomInterfaceSupportObserver & aObserver ) [pure virtual]

Unregisters an interface support observer.

Parameters

MCustomInterfaceSupportObserver & aObserver the observer reference to unregister.