radioengine/utils/api/mradioaudioroutingobserver.h
branchRCL_3
changeset 20 93c594350b9a
parent 19 cce62ebc198e
equal deleted inserted replaced
19:cce62ebc198e 20:93c594350b9a
     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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MRADIOAUDIOROUTINGOBSERVER_H
       
    19 #define MRADIOAUDIOROUTINGOBSERVER_H
       
    20 
       
    21 #include "radioenginedef.h"
       
    22 
       
    23 /**
       
    24  *  Interface for observing audio routing events.
       
    25  *
       
    26  *  Implementer will be notified when audio routing changes
       
    27  *  between IHF and headset.
       
    28  *
       
    29  */
       
    30 NONSHARABLE_CLASS( MRadioAudioRoutingObserver )
       
    31     {
       
    32 public:
       
    33 
       
    34     /**
       
    35      * Notifies of a requested audio routing change. Changes requested
       
    36      * by other applications do not generate a notification.
       
    37      *
       
    38      * @param aRoute Current audio route
       
    39      */
       
    40     virtual void AudioRouteChangedL( RadioEngine::TRadioAudioRoute aRoute ) = 0;
       
    41 
       
    42     };
       
    43 
       
    44 #endif // MRADIOAUDIOROUTINGOBSERVER_H