phoneengine/audiohandling/inc/cpeaudiofactory.h
changeset 37 ba76fc04e6c2
child 51 f39ed5e045e0
child 60 1eef62f5c541
equal deleted inserted replaced
36:2eacb6118286 37:ba76fc04e6c2
       
     1 /*
       
     2 * Copyright (c) 2002-2007 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:  This file contains the header file of the class CPEAudioFactory 
       
    15 *                which is used to create CTelephonyAudioRouting
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef CPEAUDIOFACTORY_H
       
    21 #define CPEAUDIOFACTORY_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 // CONSTANTS
       
    27 // None.
       
    28 
       
    29 // MACROS
       
    30 // None.
       
    31 
       
    32 // DATA TYPES
       
    33 // None.
       
    34 
       
    35 // FUNCTION PROTOTYPES
       
    36 // None.
       
    37 
       
    38 // FORWARD DECLARATIONS
       
    39 class CTelephonyAudioRouting;
       
    40 class MTelephonyAudioRoutingObserver;
       
    41 class CPEAudioToneUtility;
       
    42 class MMdaAudioToneObserver;
       
    43 
       
    44 
       
    45 // CLASS DECLARATION
       
    46 
       
    47 /**
       
    48 *  This file contains the header file of the class CPEAudioFactory, 
       
    49 *  which is used to create CTelephonyAudioRouting
       
    50 *
       
    51 *  @lib audiohandling.lib
       
    52 *  @since Series60_5.0
       
    53 */  
       
    54 
       
    55 NONSHARABLE_CLASS( CPEAudioFactory ) : public CBase
       
    56     {
       
    57     public: 
       
    58         
       
    59         IMPORT_C static CPEAudioFactory* NewLC();
       
    60                 
       
    61        
       
    62         /**
       
    63         * creates CTelephonyAudioRouting.
       
    64         * @since S60 v5.0
       
    65         * @param  aAudioRoutingObserver, needed when creating CTelephonyAudioRouting.
       
    66         */
       
    67         IMPORT_C virtual CTelephonyAudioRouting* CreateTelephonyAudioRoutingL( 
       
    68             MTelephonyAudioRoutingObserver& aAudioRoutingObserver );
       
    69         
       
    70         /**
       
    71          * Creates CPEAudioToneUtility.
       
    72          * @since S60 v5.0
       
    73          * @param aToneObserver Observer of the CMdaAudioToneUtility
       
    74          */
       
    75         IMPORT_C virtual CPEAudioToneUtility* CreateAudioToneUtilityL(
       
    76             MMdaAudioToneObserver& aToneObserver );
       
    77     
       
    78 protected:
       
    79         IMPORT_C CPEAudioFactory();
       
    80     };    
       
    81          
       
    82 #endif      // CPEAudioFactory_H  
       
    83             
       
    84 // End of File