epoc32/include/mw/remconstatusapicontrollerobserver.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
equal deleted inserted replaced
2:2fe1408b6811 3:e1b950c65cb4
       
     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 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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 
       
    18 /**
       
    19  @file
       
    20  @publishedAll
       
    21  @released
       
    22 */
       
    23 
       
    24 #ifndef REMCONSTATUSAPICONTROLLEROBSERVER_H
       
    25 #define REMCONSTATUSAPICONTROLLEROBSERVER_H
       
    26 
       
    27 #include <e32std.h>
       
    28 
       
    29 /**
       
    30 Interface to observe responses from a Status API controller.
       
    31 @publishedAll
       
    32 @released
       
    33 */
       
    34 class MRemConStatusApiControllerObserver
       
    35 	{
       
    36 public:
       
    37 	/**	A UnitInfo response has been received. 
       
    38 	
       
    39 	For details on the meanings on the fields please refer to the 
       
    40 	AV/C Digital Interface Command Set General Specification, 
       
    41 	section 11.2.1.
       
    42 	
       
    43 	If all values are zero there was an error with the command.
       
    44 	@param aVendorId The VendorId
       
    45 	@param aUnit Unit
       
    46 	@param aUnitType UnitType
       
    47 	@param aExtendedUnitType Extended Unit type. This data is only 
       
    48 		valid if Unit type is 0x1e. The second byte is only valid 
       
    49 		if the first byte is 0xff.
       
    50 	*/
       
    51 	virtual void MrcsacoUnitInfoResponse(TInt aVendorId, 
       
    52 		TInt aUnit, 
       
    53 		TInt aUnitType, 
       
    54 		TInt aExtendedUnitType) = 0;
       
    55 
       
    56 	/** A SubunitInfo response has been received. 
       
    57 	
       
    58 	For details on the meanings on the fields please
       
    59 	refer to the AV/C Digital Interface Command Set
       
    60 	General Specification, section 11.2.2.
       
    61 	
       
    62 	If all values are zero there was an error with the command.
       
    63 	@param aPage Page
       
    64 	@param aExtension Extension.
       
    65 	@param aPageData Page Data. This data remains valid only for
       
    66 		the duration of this call.  If the client wishes to store
       
    67 		the data it must be copied.
       
    68 	*/
       
    69 	virtual void MrcsacoSubunitInfoResponse(TInt aPage,
       
    70 		TInt aExtension,
       
    71 		TDesC8& aPageData) = 0;
       
    72 		
       
    73 	/**
       
    74  	 Returns a null aObject if the extension is not implemented, or 
       
    75  	 a pointer to another interface if it is.
       
    76  	 
       
    77 	 @param aInterface UID of the interface to return
       
    78 	 @param aObject the container for another interface as specified by aInterface
       
    79 	 */
       
    80 	IMPORT_C virtual void Mrcsaco_ExtensionInterfaceL(TUid aInterface, void*& aObject);
       
    81 	};
       
    82 
       
    83 #endif // REMCONSTATUSAPICONTROLLEROBSERVER_H