voicerecorder/RecViewSrc/MVRVolumeChangeObserver.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 19 Aug 2010 09:57:40 +0300
branchRCL_3
changeset 19 2f5c9ee7098c
parent 0 845549f293a7
permissions -rw-r--r--
Revision: 201030 Kit: 201033

/*
* Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*     This class defines a audio volume change observer interface.
*
*/


#ifndef __MVRVOLUMECHANGEOBSERVER_H__
#define __MVRVOLUMECHANGEOBSERVER_H__

// INCLUDES
#include <e32def.h>

// CLASS DEFINITION
/**
* This class defines a audio volume change observer interface.
*/
class MVRVolumeChangeObserver 
	{
	public: // new methods

		/**
		* Called to notify a change in volume settings.
		* @param aStep Volume level in steps
		* @param aMaxSteps How many steps there are (10 usually).
		*/
		virtual void SetVolume( TInt aStep, TInt aMaxSteps ) = 0;
		
		/***
		* Indicates if volume can be set, because rinto tone
		* volume change has no effect if the tone is playing.
		*/
		virtual TBool CanSetVolume() = 0;
	};

#endif // __MVRVOLUMECHANGEOBSERVER_H__