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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
25 #ifndef REMCONABSOLUTEVOLUMEAPICONTROLLEROBSERVER_H_
26 #define REMCONABSOLUTEVOLUMEAPICONTROLLEROBSERVER_H_
31 Clients must implement this interface in order to instantiate objects of type
32 CRemConAbsoluteVolumeController. This interface passes incoming responses
33 from RemCon to the client.
35 class MRemConAbsoluteVolumeControllerObserver
39 The current volume has been received.
41 @param aVolume The current relative volume on the target device.
42 @param aMaxVolume The maximum volume against which aVolume is relative.
43 @param aError The response error.
45 virtual void MrcavcoCurrentVolume(TUint32 aVolume,
50 The response for setting absolute volume.
52 @param aVolume The relative volume that has been set on the target device.
53 @param aMaxVolume The maximum volume against which aVolume is relative.
54 @param aError The response error.
56 virtual void MrcavcoSetAbsoluteVolumeResponse(TUint32 aVolume,
61 The error occurs for absolute volume notification.
63 When this is called, the client must call
64 RegisterAbsoluteVolumeNotification() to register again if the client
65 wants to receive the notification.
67 virtual void MrcavcoAbsoluteVolumeNotificationError() = 0;
71 #endif /*REMCONABSOLUTEVOLUMEAPICONTROLLEROBSERVER_H_*/