internetradio2.0/uiinc/iraudioroutingobserver.h
changeset 0 09774dfdd46b
equal deleted inserted replaced
-1:000000000000 0:09774dfdd46b
       
     1 /*
       
     2 * Copyright (c) 2005-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:  Header for MIRAudioRoutingObserver. Interface for observing 
       
    15 *                audio routing events
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef MIRAUDIOROUTINGOBSERVER_H
       
    21 #define MIRAUDIOROUTINGOBSERVER_H
       
    22 
       
    23 #include "vraudioutils.hrh"
       
    24 
       
    25 /**
       
    26  *  Interface for observing audio routing events.
       
    27  *
       
    28  *  Implementer will be notified when audio routing changes
       
    29  *  between IHF and headset.
       
    30  *
       
    31  */
       
    32 class MIRAudioRoutingObserver
       
    33     {
       
    34     
       
    35 public:  // Methods
       
    36 
       
    37 	/**
       
    38 	 * Notifies of a requested audio routing change. Changes requested
       
    39 	 * by other applications do not generate a notification.
       
    40 	 *
       
    41 	 * @param aOutputSource Current audio output source
       
    42 	 */
       
    43     virtual void AudioRoutingChangedL(
       
    44         TVROutputDestination aOutputDestination) = 0;
       
    45 
       
    46     };
       
    47 
       
    48 #endif      // MIRAUDIOROUTINGOBSERVER_H