bluetoothappprofiles/avrcp/remconbeareravrcp/inc/passthroughhelper.h
changeset 70 f5508c13dfe0
parent 67 16e4b9007960
child 71 083fd884d7dd
--- a/bluetoothappprofiles/avrcp/remconbeareravrcp/inc/passthroughhelper.h	Wed Oct 13 13:15:31 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-// Copyright (c) 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 PASSTHROUGHHELPER_H
-#define PASSTHROUGHHELPER_H
-
-#include <e32base.h>
-
-class CRcpRouter;
-class MRemConControlCommandInterface;
-class CControlCommand;
-NONSHARABLE_CLASS(CPassthroughHelper) : public CBase
-	{
-public:
-	static CPassthroughHelper* NewL(CRcpRouter& aRouter, MRemConControlCommandInterface& aCommandInterface, CDeltaTimer& aTimer);
-	~CPassthroughHelper();
-	
-	void Disconnect();
-	
-	void HandlePassthrough(CControlCommand& aCommand); // FIXME for now
-private:
-	CPassthroughHelper(CRcpRouter& aRouter, MRemConControlCommandInterface& aCommandInterface, CDeltaTimer& aTimer);
-	void ConstructL();
-	
-	void Respond(CControlCommand& aCommand, TInt aErr);
-	void HandledCommand(CControlCommand& aCommand);
-
-	void NewPress(CControlCommand& aCommand);
-	void BalanceHandledCommand(CControlCommand& aCommand);
-	
-	// Timer functions
-	void HoldExpiry(CControlCommand& aCommand);
-	void ReleaseExpiry(CControlCommand& aCommand);
-	void StartHoldTimer(CControlCommand& aCommand);
-	void StartReleaseTimer(CControlCommand& aCommand);
-	
-	// Delta timer callback functions
-	static TInt HoldExpiry(TAny* aExpiryInfo);
-	static TInt ReleaseExpiry(TAny* aExpiryInfo);
-
-private:
-	CRcpRouter& iRouter;
-	MRemConControlCommandInterface& iCommandInterface;
-	CDeltaTimer& iTimer;
-	CControlCommand* iPreviousPassthrough;
-	};
-
-#endif // PASSTHROUGHHELPER_H