phoneengine/audiohandling/inc/cpeaudiotoneutility.h
changeset 36 2eacb6118286
parent 30 ebdbd102c78a
child 37 ba76fc04e6c2
--- a/phoneengine/audiohandling/inc/cpeaudiotoneutility.h	Fri May 14 15:51:57 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,93 +0,0 @@
-/*
-* Copyright (c) 2008-2008 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:  Interface for playing audio tones.
-*
-*/
-
-
-#ifndef CPEAUDIOTONEUTILITY_H
-#define CPEAUDIOTONEUTILITY_H
-
-#include <e32base.h>
-#include <mdaaudiotoneplayer.h>
-
-/**
- *  Interface to wrap CMdaAudioToneUtility.
- *  
- *  @lib AudioHandling
- *  @since S60 5.0
- */
-class CPEAudioToneUtility : public CBase
-    {
-
-public:
-    /**
-     * 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::SetVolumeRamp.
-     */
-    virtual void Play() = 0;
-
-    /**
-     * See CMdaAudioToneUtility::CancelPrepare.
-     */
-    virtual void CancelPrepare() = 0;
-
-    };
-    
-#endif // CPEAUDIOTONEUTILITY_H