diff -r 095bea5f582e -r 0ac9a5310753 mmserv/tms/tmsserver/inc/tmsaudiotoneutility.h --- a/mmserv/tms/tmsserver/inc/tmsaudiotoneutility.h Tue Aug 31 15:43:02 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,91 +0,0 @@ -/* - * Copyright (c) 2009 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: Telephony Multimedia Service - * - */ - -#ifndef TMSAUDIOTONEUTILITY_H -#define TMSAUDIOTONEUTILITY_H - -#include - -namespace TMS { - -/** - * Interface to wrap CMdaAudioToneUtility. - * - */ -class TMSAudioToneUtility - { -public: - - virtual ~TMSAudioToneUtility() {} - - /** - * See CMdaAudioToneUtility::PrepareToPlayDesSequence. - */ - virtual void PrepareToPlayDesSequence(const TDesC8& aSequence) = 0; - - /** - * See CMdaAudioToneUtility::State. - */ - virtual TMdaAudioToneUtilityState State() = 0; - - /** - * See CMdaAudioToneUtility::CancelPlay. - */ - virtual void CancelPlay() = 0; - - /** - * See CMdaAudioToneUtility::MaxVolume. - */ - virtual TInt MaxVolume() = 0; - - /** - * See CMdaAudioToneUtility::SetVolume. - */ - virtual void SetVolume(TInt aVolume) = 0; - - /** - * See CMdaAudioToneUtility::SetRepeats. - */ - virtual void SetRepeats(TInt aRepeatNumberOfTimes, - const TTimeIntervalMicroSeconds& aTrailingSilence) = 0; - - /** - * See CMdaAudioToneUtility::SetPriority. - */ - virtual void SetPriority(TInt aPriority, TMdaPriorityPreference aPref) = 0; - - /** - * See CMdaAudioToneUtility::SetVolumeRamp. - */ - virtual void SetVolumeRamp( - const TTimeIntervalMicroSeconds& aRampDuration) = 0; - - /** - * See CMdaAudioToneUtility::Play. - */ - virtual void Play() = 0; - - /** - * See CMdaAudioToneUtility::CancelPrepare. - */ - virtual void CancelPrepare() = 0; - - }; - -} //namespace TMS - -#endif // TMSAUDIOTONEUTILITY_H