CRemConTrackInfoController Class Reference

class CRemConTrackInfoController : public CRemConInterfaceBase

Client-instantiable type supporting sending TrackInfo API commands.

Inherits from

Constructor & Destructor Documentation

CRemConTrackInfoController(CRemConInterfaceSelector &, MRemConTrackInfoControllerObserver &)

CRemConTrackInfoController(CRemConInterfaceSelector &aInterfaceSelector,
MRemConTrackInfoControllerObserver &aObserver
)[private]

The following section of code is included to allow internal back to back testing of this component within Symbian Software Ltd. It will only be compiled in specially configured test builds. It will never be available in any release and so should never be used outside of Symbian owned test code. Constructor.

Parameters

CRemConInterfaceSelector & aInterfaceSelectorThe interface selector.
MRemConTrackInfoControllerObserver & aObserverThe observer of this interface.

~CRemConTrackInfoController()

IMPORT_C~CRemConTrackInfoController()

Destructor.

Member Functions Documentation

GetInterfaceIf(TUid)

TAny *GetInterfaceIf(TUidaUid)[private, virtual]

Called by the interface selector to get a pointer to an object which implements the interface API with UID aUid. This is a mechanism for allowing future change to the interface API without breaking BC in existing (non-updated) interfaces.

Parameters

TUid aUid

MrcibNewMessage(TUint, const TDesC8 &)

voidMrcibNewMessage(TUintaOperationId,
const TDesC8 &aData
)[private]

Parameters

TUint aOperationId
const TDesC8 & aData

NewL(CRemConInterfaceSelector &, MRemConTrackInfoControllerObserver &)

IMPORT_C CRemConTrackInfoController *NewL(CRemConInterfaceSelector &aInterfaceSelector,
MRemConTrackInfoControllerObserver &aObserver
)[static]

Factory function.

Parameters

CRemConInterfaceSelector & aInterfaceSelectorThe interface selector. The client must have created one of these first.
MRemConTrackInfoControllerObserver & aObserverThe observer of this interface.

SetTrackName(TRequestStatus &, const TDesC &, TUint &)

IMPORT_C voidSetTrackName(TRequestStatus &aStatus,
const TDesC &aTrackName,
TUint &aNumRemotes
)
Sends a 'set track name' command. Only one command per controller session can be outstanding at any one time.
panic
USER 23, if the length of aTrackName is greater than 58 Characters.

Parameters

TRequestStatus & aStatusUsed by RemCon to indicate completion of the send request.
const TDesC & aTrackNameThe track name.
TUint & aNumRemotesOn success, will contain the number of remotes the command was sent to.

Member Data Documentation

MRemConTrackInfoControllerObserver & iObserver

MRemConTrackInfoControllerObserver &iObserver[private]

TBuf8< KMaxName > iOutData

TBuf8< KMaxName >iOutData[private]