audiostubs/devsoundextensions_stubs/mmfaudioserverfactorystub/inc/telephonyaudioroutingmanagerstub.h
branchRCL_3
changeset 44 b5894bb67e73
parent 35 37b610eb7fe3
equal deleted inserted replaced
35:37b610eb7fe3 44:b5894bb67e73
     1 /*
       
     2 * Copyright (c) 2006 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 Stubs -  CTelephonyAudioRoutingManagerStub class declaration.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef TELEPHONYAUDIOROUTINGMANAGERSTUB_H
       
    19 #define TELEPHONYAUDIOROUTINGMANAGERSTUB_H
       
    20 
       
    21 #include <MTelephonyAudioRoutingPolicyObserver.h>
       
    22 
       
    23 // FORWARD DECLARATIONS
       
    24 class CTelephonyAudioRoutingManager;
       
    25 
       
    26 // CLASS DECLARATION
       
    27 class CTelephonyAudioRoutingManagerStub :
       
    28     public CBase,
       
    29     public MTelephonyAudioRoutingPolicyObserver
       
    30     {
       
    31     public:
       
    32         // Construct/destruct
       
    33         static CTelephonyAudioRoutingManagerStub* NewL();
       
    34         ~CTelephonyAudioRoutingManagerStub();
       
    35 
       
    36     private:
       
    37         // Construct/destruct
       
    38         CTelephonyAudioRoutingManagerStub();
       
    39         void ConstructL();
       
    40 
       
    41     // From MTelephonyAudioRoutingPolicyObserver
       
    42     virtual void OutputChangeRequested(
       
    43          CTelephonyAudioRoutingManager&
       
    44          aTelephonyAudioRoutingManager,
       
    45          CTelephonyAudioRouting::TAudioOutput aOutput);
       
    46 
       
    47     private:
       
    48         CTelephonyAudioRoutingManager* iTelephonyAudioRoutingMan;
       
    49         RArray<CTelephonyAudioRouting::TAudioOutput> iAudioOutput;
       
    50     };
       
    51 
       
    52 
       
    53 #endif /* TELEPHONYAUDIOROUTINGMANAGERSTUB_H */