bluetoothappprofiles/avrcp/remconbeareravrcp/inc/remconcommandinterface.h
changeset 0 f63038272f30
child 6 6a29d5ad0713
equal deleted inserted replaced
-1:000000000000 0:f63038272f30
       
     1 // Copyright (c) 2008-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 REMCONCOMMANDINTERFACE_H
       
    17 #define REMCONCOMMANDINTERFACE_H
       
    18 
       
    19 #include <e32base.h>
       
    20 #include <remcon/clientid.h>
       
    21 
       
    22 class CControlCommand;
       
    23 class CAvrcpCommand;
       
    24 class TBTDevAddr;
       
    25 class TRemConAddress;
       
    26 
       
    27 NONSHARABLE_CLASS(MRemConCommandInterface)
       
    28 	{
       
    29 public:
       
    30 	virtual void MrcciNewCommand(CAvrcpCommand& aCommand) = 0;
       
    31 	virtual void MrcciNewCommand(CAvrcpCommand& aCommand, const TRemConClientId& aClientId) = 0;
       
    32 
       
    33 	virtual TUint MrcciNewTransactionId() = 0;
       
    34 	};
       
    35 
       
    36 NONSHARABLE_CLASS(MRemConBulkCommandInterface) : public MRemConCommandInterface
       
    37 	{
       
    38 public:
       
    39 	virtual TInt MrcbciSetAddressedClient(const TRemConAddress& aAddr, const TRemConClientId& aClient) = 0;
       
    40 	virtual void MrcbciRemoveAddressing(const TRemConAddress& aAddr) = 0;
       
    41 	};
       
    42 
       
    43 NONSHARABLE_CLASS(MRemConControlCommandInterface) : public MRemConCommandInterface
       
    44 	{
       
    45 public:
       
    46 	virtual void MrccciNewNotifyCommand(CAvrcpCommand& aCommand) = 0;
       
    47 	virtual void MrccciNewNotifyCommand(CAvrcpCommand& aCommand, const TRemConClientId& aClientId) = 0;
       
    48 
       
    49 	virtual void MrccciNewResponse(CAvrcpCommand& aCommand) = 0;
       
    50 	virtual void MrccciNewNotifyResponse(CControlCommand& aCommand) = 0;
       
    51 	
       
    52 	virtual void MrccciSetAddressedClient(const TRemConClientId& aClient) = 0;
       
    53 
       
    54 	};
       
    55 
       
    56 #endif //REMCONCOMMANDINTERFACE_H