1 // Copyright (c) 2004-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
22 #ifndef REMCONSTATUSAPICONTROLLEROBSERVER_H
23 #define REMCONSTATUSAPICONTROLLEROBSERVER_H
28 Interface to observe responses from a Status API controller.
32 class MRemConStatusApiControllerObserver
35 /** A UnitInfo response has been received.
37 For details on the meanings on the fields please refer to the
38 AV/C Digital Interface Command Set General Specification,
41 If all values are zero there was an error with the command.
42 @param aVendorId The VendorId
44 @param aUnitType UnitType
45 @param aExtendedUnitType Extended Unit type. This data is only
46 valid if Unit type is 0x1e. The second byte is only valid
47 if the first byte is 0xff.
49 virtual void MrcsacoUnitInfoResponse(TInt aVendorId,
52 TInt aExtendedUnitType) = 0;
54 /** A SubunitInfo response has been received.
56 For details on the meanings on the fields please
57 refer to the AV/C Digital Interface Command Set
58 General Specification, section 11.2.2.
60 If all values are zero there was an error with the command.
62 @param aExtension Extension.
63 @param aPageData Page Data. This data remains valid only for
64 the duration of this call. If the client wishes to store
65 the data it must be copied.
67 virtual void MrcsacoSubunitInfoResponse(TInt aPage,
69 TDesC8& aPageData) = 0;
72 Returns a null aObject if the extension is not implemented, or
73 a pointer to another interface if it is.
75 @param aInterface UID of the interface to return
76 @param aObject the container for another interface as specified by aInterface
78 IMPORT_C virtual void Mrcsaco_ExtensionInterfaceL(TUid aInterface, void*& aObject);
81 #endif // REMCONSTATUSAPICONTROLLEROBSERVER_H