williamr@2: // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: // All rights reserved. williamr@2: // This component and the accompanying materials are made available williamr@2: // 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 williamr@2: // which accompanies this distribution, and is available williamr@2: // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: // williamr@2: // Initial Contributors: williamr@2: // Nokia Corporation - initial contribution. williamr@2: // williamr@2: // Contributors: williamr@2: // williamr@2: // Description: williamr@2: // williamr@2: williamr@2: williamr@2: williamr@2: /** williamr@2: @file williamr@2: @publishedAll williamr@2: @released williamr@2: */ williamr@2: williamr@2: #ifndef REMCONSTATUSAPICONTROLLEROBSERVER_H williamr@2: #define REMCONSTATUSAPICONTROLLEROBSERVER_H williamr@2: williamr@2: #include williamr@2: williamr@2: /** williamr@2: Interface to observe responses from a Status API controller. williamr@2: @publishedAll williamr@2: @released williamr@2: */ williamr@2: class MRemConStatusApiControllerObserver williamr@2: { williamr@2: public: williamr@2: /** A UnitInfo response has been received. williamr@2: williamr@2: For details on the meanings on the fields please refer to the williamr@2: AV/C Digital Interface Command Set General Specification, williamr@2: section 11.2.1. williamr@2: williamr@2: If all values are zero there was an error with the command. williamr@2: @param aVendorId The VendorId williamr@2: @param aUnit Unit williamr@2: @param aUnitType UnitType williamr@2: @param aExtendedUnitType Extended Unit type. This data is only williamr@2: valid if Unit type is 0x1e. The second byte is only valid williamr@2: if the first byte is 0xff. williamr@2: */ williamr@2: virtual void MrcsacoUnitInfoResponse(TInt aVendorId, williamr@2: TInt aUnit, williamr@2: TInt aUnitType, williamr@2: TInt aExtendedUnitType) = 0; williamr@2: williamr@2: /** A SubunitInfo response has been received. williamr@2: williamr@2: For details on the meanings on the fields please williamr@2: refer to the AV/C Digital Interface Command Set williamr@2: General Specification, section 11.2.2. williamr@2: williamr@2: If all values are zero there was an error with the command. williamr@2: @param aPage Page williamr@2: @param aExtension Extension. williamr@2: @param aPageData Page Data. This data remains valid only for williamr@2: the duration of this call. If the client wishes to store williamr@2: the data it must be copied. williamr@2: */ williamr@2: virtual void MrcsacoSubunitInfoResponse(TInt aPage, williamr@2: TInt aExtension, williamr@2: TDesC8& aPageData) = 0; williamr@2: williamr@2: /** williamr@2: Returns a null aObject if the extension is not implemented, or williamr@2: a pointer to another interface if it is. williamr@2: williamr@2: @param aInterface UID of the interface to return williamr@2: @param aObject the container for another interface as specified by aInterface williamr@2: */ williamr@2: IMPORT_C virtual void Mrcsaco_ExtensionInterfaceL(TUid aInterface, void*& aObject); williamr@2: }; williamr@2: williamr@2: #endif // REMCONSTATUSAPICONTROLLEROBSERVER_H