Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <remcontrackinfocontroller.h>
Link against: remconextapi1.lib

Class CRemConTrackInfoController

class CRemConTrackInfoController : public CRemConInterfaceBase, public MRemConInterfaceIf;

Description

Client-instantiable type supporting sending TrackInfo API commands.

Derivation

Members

Defined in CRemConTrackInfoController:


Construction and destruction


NewL(CRemConInterfaceSelector &,MRemConTrackInfoControllerObserver &)

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

Description

Factory function.

Parameters

CRemConInterfaceSelector &aInterfaceSelector

The interface selector. The client must have created one of these first.

MRemConTrackInfoControllerObserver &aObserver

The observer of this interface.

Return value

CRemConTrackInfoController *

A new CRemConTrackInfoController, owned by the interface selector.


~CRemConTrackInfoController()

IMPORT_C ~CRemConTrackInfoController();

Description

Destructor.

[Top]


Member functions


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

IMPORT_C void SetTrackName(TRequestStatus &aStatus, const TDesC &aTrackName, TUint &aNumRemotes);

Description

Sends a 'set track name' command. Only one command per controller session can be outstanding at any one time.

Parameters

TRequestStatus &aStatus

Used by RemCon to indicate completion of the send request.

const TDesC16 &aTrackName

The track name.

TUint &aNumRemotes

On success, will contain the number of remotes the command was sent to.

Panic codes

USER

23, if the length of aTrackName is greater than 58 Characters.


GetInterfaceIf(TUid)

private: virtual TAny* GetInterfaceIf(TUid aUid);

Description

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

Return value

TAny *


MrcibNewMessage(TUint,const TDesC8 &)

private: virtual void MrcibNewMessage(TUint aOperationId, const TDesC8 &aData);

Description

Called when a message comes in for this interface.

Parameters

TUint aOperationId

The interface-specific operation id.

const TDesC8 &aData

Any operation-specific data.