diff -r 16e4b9007960 -r f5508c13dfe0 bluetoothappprofiles/avrcp/remconbeareravrcp/inc/avrcpremotedevice.h --- a/bluetoothappprofiles/avrcp/remconbeareravrcp/inc/avrcpremotedevice.h Wed Oct 13 13:15:31 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,81 +0,0 @@ -// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). -// All rights reserved. -// This component and the accompanying materials are made available -// under the terms of "Eclipse Public License v1.0" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -#ifndef AVRCPREMOTEDEVICE_H -#define AVRCPREMOTEDEVICE_H - -/** -@file -@internalComponent -@released -*/ - -#include - -class MRemConControlCommandInterface; -class MIncomingCommandHandler; -class MOutgoingCommandHandler; -class CRcpIncomingCommandHandler; -class CRcpOutgoingCommandHandler; -class CRcpRouter; -class MRemConBearerObserver; -/** -CRcpRemoteDevice represents one remote RCP device. It manages -the sending and receiving of commands between that device and the -local device. -*/ -NONSHARABLE_CLASS(CRcpRemoteDevice) : public CBase - { -public: - static CRcpRemoteDevice* NewL(const TBTDevAddr& aAddr, - CRcpRouter& aRouter, - MRemConControlCommandInterface& aCommandInterface, - MRemConBearerObserver& aObserver, - CDeltaTimer& aTimer, - CAvrcpPlayerInfoManager& aPlayerInfoManager); - - virtual ~CRcpRemoteDevice(); - - void Disconnect(TBool aClearQueue); - - // Utility - const TBTDevAddr& RemoteAddress() const; - MIncomingCommandHandler& IncomingHandler() const; - MOutgoingCommandHandler& OutgoingHandler() const; - -private: - CRcpRemoteDevice(const TBTDevAddr& aAddr, - CRcpRouter& aRouter, - MRemConControlCommandInterface& aCommandInterface, - CDeltaTimer& aTimer); - - void ConstructL(MRemConBearerObserver& aObserver, - CAvrcpPlayerInfoManager& aPlayerInfoManager); - -public: - TDblQueLink iLink; // Used by bearer and router to manage remotes -private: - TBTDevAddr iDevice; - - CRcpIncomingCommandHandler* iIncoming; - CRcpOutgoingCommandHandler* iOutgoing; - - CRcpRouter& iRouter; - MRemConControlCommandInterface& iCommandInterface; - CDeltaTimer& iTimer; - }; - - -#endif // AVRCPREMOTEDEVICE_H