Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
24 #ifndef REMCONGROUPNAVIGATIONTARGET_H
25 #define REMCONGROUPNAVIGATIONTARGET_H
29 #include <remconcoreapi.h>
30 #include <remcon/avrcpspec.h>
32 #include <remcon/remcongroupnavigation.h>
33 #include <remcon/remconinterfacebase.h>
34 #include <remcon/remconinterfaceif.h>
36 class MRemConGroupNavigationTargetObserver;
37 class CRemConInterfaceSelector;
40 Client-instantiable type supporting sending Battery Status responses.
42 NONSHARABLE_CLASS(CRemConGroupNavigationApiTarget) : public CRemConInterfaceBase,
43 public MRemConInterfaceIf
48 @see CRemConInterfaceSelector
49 @param aInterfaceSelector The interface selector. The client must have
50 created one of these first.
51 @param aObserver The observer of this interface.
52 @return A new CRemConGroupNavigationApiTarget, owned by the interface selector.
54 IMPORT_C static CRemConGroupNavigationApiTarget* NewL(CRemConInterfaceSelector& aInterfaceSelector,
55 MRemConGroupNavigationTargetObserver& aObserver);
58 IMPORT_C ~CRemConGroupNavigationApiTarget();
61 /** Send a 'next group' response.
62 Called by the client after receiving a MRemConGroupNavigationTargetObserver::MrcgntoNextGroup().
63 @param aStatus Used by RemCon to indicate completion of the send request.
64 aStatus may be NULL if no completion indication required.
65 @param aError The response error.
67 IMPORT_C void NextGroupResponse(TRequestStatus*& aStatus, TInt aError);
69 /** Send a 'previous group' response.
70 Called by the client after receiving a MRemConGroupNavigationTargetObserver::MrcgntoPreviousGroup().
71 @param aStatus Used by RemCon to indicate completion of the send request.
72 aStatus may be NULL if no completion indication required.
73 @param aError The response error.
75 IMPORT_C void PreviousGroupResponse(TRequestStatus*& aStatus, TInt aError);
80 @param aInterfaceSelector The interface selector.
81 @param aObserver The observer of this interface.
83 CRemConGroupNavigationApiTarget(CRemConInterfaceSelector& aInterfaceSelector,
84 MRemConGroupNavigationTargetObserver& aObserver);
86 void SendGroupResponse(TGroupNavigationPassthroughOperationIds aId, TRequestStatus*& aStatus, TInt aError);
90 private: // from CRemConInterfaceBase
91 TAny* GetInterfaceIf(TUid aUid);
93 private: // from MRemConInterfaceIf
94 void MrcibNewMessage(TUint aOperationId, const TDesC8& aData);
97 MRemConGroupNavigationTargetObserver& iObserver;
102 RBufWriteStream iStream;
106 #endif // REMCONGROUPNAVIGATIONTARGET_H