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 & aObserverthe observer reference to register.

RequestCustomInterface(TUid, TAny *&)

TInt RequestCustomInterface(TUidaUid,
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 aUidthe Uid of the CI .
TAny *& aPtron returns contains a pointer to the CI.

UnRegisterObserver(MCustomInterfaceSupportObserver &)

voidUnRegisterObserver(MCustomInterfaceSupportObserver &aObserver)[pure virtual]

Unregisters an interface support observer.

Parameters

MCustomInterfaceSupportObserver & aObserverthe observer reference to unregister.