bluetoothappprofiles/avrcp/remconbeareravrcp/inc/avrcpremotedevice.h
changeset 42 b72428996822
parent 0 f63038272f30
equal deleted inserted replaced
32:19bd632b5100 42:b72428996822
    22 @released
    22 @released
    23 */
    23 */
    24 
    24 
    25 #include <e32std.h>
    25 #include <e32std.h>
    26 
    26 
    27 class CRemConBearerAvrcp;
    27 class MRemConControlCommandInterface;
    28 class MIncomingCommandHandler;
    28 class MIncomingCommandHandler;
    29 class MOutgoingCommandHandler;
    29 class MOutgoingCommandHandler;
    30 class CRcpIncomingCommandHandler;
    30 class CRcpIncomingCommandHandler;
    31 class CRcpOutgoingCommandHandler;
    31 class CRcpOutgoingCommandHandler;
    32 class CRcpRouter;
    32 class CRcpRouter;
    39 NONSHARABLE_CLASS(CRcpRemoteDevice) : public CBase
    39 NONSHARABLE_CLASS(CRcpRemoteDevice) : public CBase
    40 	{
    40 	{
    41 public:
    41 public:
    42 	static CRcpRemoteDevice* NewL(const TBTDevAddr& aAddr,
    42 	static CRcpRemoteDevice* NewL(const TBTDevAddr& aAddr,
    43 		CRcpRouter& aRouter, 
    43 		CRcpRouter& aRouter, 
    44 		CRemConBearerAvrcp& aBearer,
    44 		MRemConControlCommandInterface& aCommandInterface,
    45 		MRemConBearerObserver& aObserver,
    45 		MRemConBearerObserver& aObserver,
    46 		CDeltaTimer& aTimer,
    46 		CDeltaTimer& aTimer,
    47 		CAvrcpPlayerInfoManager& aPlayerInfoManager);
    47 		CAvrcpPlayerInfoManager& aPlayerInfoManager);
    48 		
    48 		
    49 	virtual ~CRcpRemoteDevice();
    49 	virtual ~CRcpRemoteDevice();
    56 	MOutgoingCommandHandler& OutgoingHandler() const;
    56 	MOutgoingCommandHandler& OutgoingHandler() const;
    57 
    57 
    58 private:
    58 private:
    59 	CRcpRemoteDevice(const TBTDevAddr& aAddr,
    59 	CRcpRemoteDevice(const TBTDevAddr& aAddr,
    60 		CRcpRouter& aRouter, 
    60 		CRcpRouter& aRouter, 
    61 		CRemConBearerAvrcp& aBearer,
    61 		MRemConControlCommandInterface& aCommandInterface,
    62 		CDeltaTimer& aTimer);
    62 		CDeltaTimer& aTimer);
    63 		
    63 		
    64 	void ConstructL(MRemConBearerObserver& aObserver,
    64 	void ConstructL(MRemConBearerObserver& aObserver,
    65 					CAvrcpPlayerInfoManager& aPlayerInfoManager);
    65 					CAvrcpPlayerInfoManager& aPlayerInfoManager);
    66 
    66 
    71 	
    71 	
    72 	CRcpIncomingCommandHandler*		iIncoming;
    72 	CRcpIncomingCommandHandler*		iIncoming;
    73 	CRcpOutgoingCommandHandler*		iOutgoing;
    73 	CRcpOutgoingCommandHandler*		iOutgoing;
    74 
    74 
    75 	CRcpRouter&						iRouter;
    75 	CRcpRouter&						iRouter;
    76 	CRemConBearerAvrcp&				iBearer;
    76 	MRemConControlCommandInterface& iCommandInterface;
    77 	CDeltaTimer&					iTimer;
    77 	CDeltaTimer&					iTimer;
    78 	};
    78 	};
    79 
    79 
    80 
    80 
    81 #endif // AVRCPREMOTEDEVICE_H
    81 #endif // AVRCPREMOTEDEVICE_H