epoc32/include/mw/remconstatusapicontrollerobserver.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 /**
    17  @file
    18  @publishedAll
    19  @released
    20 */
    21 
    22 #ifndef REMCONSTATUSAPICONTROLLEROBSERVER_H
    23 #define REMCONSTATUSAPICONTROLLEROBSERVER_H
    24 
    25 #include <e32std.h>
    26 
    27 /**
    28 Interface to observe responses from a Status API controller.
    29 @publishedAll
    30 @released
    31 */
    32 class MRemConStatusApiControllerObserver
    33 	{
    34 public:
    35 	/**	A UnitInfo response has been received. 
    36 	
    37 	For details on the meanings on the fields please refer to the 
    38 	AV/C Digital Interface Command Set General Specification, 
    39 	section 11.2.1.
    40 	
    41 	If all values are zero there was an error with the command.
    42 	@param aVendorId The VendorId
    43 	@param aUnit Unit
    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.
    48 	*/
    49 	virtual void MrcsacoUnitInfoResponse(TInt aVendorId, 
    50 		TInt aUnit, 
    51 		TInt aUnitType, 
    52 		TInt aExtendedUnitType) = 0;
    53 
    54 	/** A SubunitInfo response has been received. 
    55 	
    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.
    59 	
    60 	If all values are zero there was an error with the command.
    61 	@param aPage Page
    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.
    66 	*/
    67 	virtual void MrcsacoSubunitInfoResponse(TInt aPage,
    68 		TInt aExtension,
    69 		TDesC8& aPageData) = 0;
    70 		
    71 	/**
    72  	 Returns a null aObject if the extension is not implemented, or 
    73  	 a pointer to another interface if it is.
    74  	 
    75 	 @param aInterface UID of the interface to return
    76 	 @param aObject the container for another interface as specified by aInterface
    77 	 */
    78 	IMPORT_C virtual void Mrcsaco_ExtensionInterfaceL(TUid aInterface, void*& aObject);
    79 	};
    80 
    81 #endif // REMCONSTATUSAPICONTROLLEROBSERVER_H