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 virtual void MrcciCommandExpired(TUint aTransactionId) = 0; |
|
35 }; |
|
36 |
|
37 NONSHARABLE_CLASS(MRemConBulkCommandInterface) : public MRemConCommandInterface |
|
38 { |
|
39 public: |
|
40 virtual TInt MrcbciSetAddressedClient(const TRemConAddress& aAddr, const TRemConClientId& aClient) = 0; |
|
41 virtual void MrcbciRemoveAddressing(const TRemConAddress& aAddr) = 0; |
|
42 }; |
|
43 |
|
44 NONSHARABLE_CLASS(MRemConControlCommandInterface) : public MRemConCommandInterface |
|
45 { |
|
46 public: |
|
47 virtual void MrccciNewNotifyCommand(CAvrcpCommand& aCommand) = 0; |
|
48 virtual void MrccciNewNotifyCommand(CAvrcpCommand& aCommand, const TRemConClientId& aClientId) = 0; |
|
49 |
|
50 virtual void MrccciNewResponse(CAvrcpCommand& aCommand) = 0; |
|
51 virtual void MrccciNewNotifyResponse(CControlCommand& aCommand) = 0; |
|
52 |
|
53 virtual void MrccciSetAddressedClient(const TRemConClientId& aClient) = 0; |
|
54 virtual void MrccciRegisterForLocalAddressedClientUpdates() = 0; |
|
55 virtual void MrccciUnregisterForLocalAddressedClientUpdates() = 0; |
|
56 }; |
|
57 |
|
58 #endif //REMCONCOMMANDINTERFACE_H |
|