diff -r 16e4b9007960 -r f5508c13dfe0 bluetoothappprofiles/avrcp/remconbeareravrcp/inc/avrcpfragmenter.h --- a/bluetoothappprofiles/avrcp/remconbeareravrcp/inc/avrcpfragmenter.h Wed Oct 13 13:15:31 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,52 +0,0 @@ -// Copyright (c) 2007-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 AVRCPFRAGMENTER_H -#define AVRCPFRAGMENTER_H - -/** -@file -@internalComponent -@released -*/ - -#define KAVRCPMinVendorDependentResponseLen 4 - -#include - -NONSHARABLE_CLASS(CAVRCPFragmenter) : public CBase - { -public: - static CAVRCPFragmenter* NewL(); - void Reset(); - void AssignPayload(const RBuf8& aPayload); - TBool InFragmentedState(); - TPtr8 GetNextFragmentHeader(); - TPtr8 GetNextFragment(); - TBool LastFragment(); - TInt GetPDU(); - ~CAVRCPFragmenter() { iPayload.Close(); } - -private: - CAVRCPFragmenter() {} - void Construct(); - -private: - RBuf8 iPayload; - TBool iInFragmentedState; - TInt iStart; - }; - -#endif // AVRCPFRAGMENTER_H