bluetoothappprofiles/avrcp/remconbeareravrcp/inc/internalcommand.h
changeset 70 f5508c13dfe0
parent 67 16e4b9007960
child 71 083fd884d7dd
equal deleted inserted replaced
67:16e4b9007960 70:f5508c13dfe0
     1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef INTERNALCOMMAND_H
       
    17 #define INTERNALCOMMAND_H
       
    18 
       
    19 #include "avrcpcommand.h"
       
    20 
       
    21 const SymbianAvctp::TTransactionLabel KDummyTransactionLabel = 0;
       
    22 
       
    23 NONSHARABLE_CLASS(CInternalCommand) : public CAvrcpCommand
       
    24 	{
       
    25 public:
       
    26 	static CInternalCommand* NewL(TUid aInterfaceUid, 
       
    27 			TUint aId, 
       
    28 			TUint aOperationId,
       
    29 			const TDesC8& aCommandData);
       
    30 	
       
    31 	void ResetL(TUint& aId, const TDesC8& aCommandData);
       
    32 	virtual SymbianAvctp::TMessageType MessageType() const;
       
    33 	virtual const TDesC8& Data() const;
       
    34 	
       
    35 private:
       
    36 	CInternalCommand(TUid aInterfaceUid, 
       
    37 			TUint aId, 
       
    38 			TUint aOperationId);
       
    39 	~CInternalCommand();
       
    40 	void ConstructL(const TDesC8& aCommandData);
       
    41 	};
       
    42 
       
    43 #endif //INTERNALCOMMAND_H