wvuing/wvaudiomanager/Inc/MCAAudioInterface.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: Audio interface
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MCCAAUDIOINTERFACE_H
       
    19 #define MCCAAUDIOINTERFACE_H
       
    20 
       
    21 
       
    22 #include <apgcli.h>
       
    23 #include <mdaaudiosampleplayer.h>
       
    24 #include <MdaAudioTonePlayer.h>
       
    25 #include <bldvariant.hrh>
       
    26 
       
    27 #include <centralrepository.h>
       
    28 #include <CenRepNotifyHandler.h>
       
    29 #include <barsc.h>
       
    30 #include <Profile.hrh>
       
    31 
       
    32 class MCAAudioManagerObserver;
       
    33 
       
    34 class MCAAudioInterface
       
    35 
       
    36     {
       
    37     public:
       
    38 
       
    39         virtual void PlayL() = 0;
       
    40 
       
    41         virtual void Stop() = 0;
       
    42 
       
    43         virtual void SetVolume( TInt aVolume ) = 0;
       
    44 
       
    45 
       
    46         virtual void SetRingingType( TProfileRingingType aRingingType ) = 0;
       
    47 
       
    48 
       
    49         virtual void SetVibra( TBool aVibra ) = 0;
       
    50 
       
    51         virtual void AddObserverL( const MCAAudioManagerObserver* aObserver ) = 0;
       
    52 
       
    53         virtual void RemoveObserver( const MCAAudioManagerObserver* aObserver ) = 0;
       
    54 
       
    55 
       
    56 
       
    57         virtual ~MCAAudioInterface() {};
       
    58 
       
    59 
       
    60     };
       
    61 
       
    62 
       
    63 #endif