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