bluetoothappprofiles/avrcp/absolutevolumeapi/public/absolutevolumeapitargetobserver.h
changeset 70 f5508c13dfe0
parent 67 16e4b9007960
child 71 083fd884d7dd
equal deleted inserted replaced
67:16e4b9007960 70:f5508c13dfe0
     1 // Copyright (c) 2008-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 
       
    18 /**
       
    19  @file
       
    20  @publishedAll
       
    21  @released
       
    22 */
       
    23 
       
    24 #ifndef REMCONABSOLUTEVOLUMEAPITARGETOBSERVER_H
       
    25 #define REMCONABSOLUTEVOLUMEAPITARGETOBSERVER_H
       
    26 
       
    27 #include <e32base.h>
       
    28 
       
    29 /**
       
    30 Clients must implement this interface in order to instantiate objects of type 
       
    31 CRemConAbsoluteVolumeTarget. This interface passes incoming commands from 
       
    32 RemCon to the client.
       
    33 */
       
    34 NONSHARABLE_CLASS(MRemConAbsoluteVolumeTargetObserver)
       
    35 	{
       
    36 public:
       
    37     /** 
       
    38 	This is called when the controller wishes to set absolute volume on the 
       
    39 	client. Response must be provided by the client by calling 
       
    40 	CRemConAbsoluteVolumeTarget::SetAbsoluteVolumeResponse()
       
    41 	
       
    42 	@see CRemConAbsoluteVolumeTarget::SetAbsoluteVolumeResponse()
       
    43 	@param aVolume The relative volume.
       
    44 	@param aMaxVolume The maximum volume against which aVolume is relative.
       
    45 	*/
       
    46 	virtual void MrcavtoSetAbsoluteVolumeRequest(TUint32 aVolume, 
       
    47 			TUint32 aMaxVolume) = 0;
       
    48 	};
       
    49 
       
    50 #endif // REMCONABSOLUTEVOLUMEAPITARGETOBSERVER_H