tsrc/musenginestub/inc/musengaudioroutingobserver.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
     1 /*
       
     2 * Copyright (c) 2005 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 
       
    19 #ifndef MUSENGAUDIOROUTINGOBSERVER_H
       
    20 #define MUSENGAUDIOROUTINGOBSERVER_H
       
    21 
       
    22 
       
    23 // CLASS DECLARATION
       
    24 
       
    25 /**
       
    26 * An interface to be implemented by users of Multimedia Sharing Engine if 
       
    27 * they wish to be notified about changes in audio routing.
       
    28 *
       
    29 */
       
    30 class MMusEngAudioRoutingObserver
       
    31     {
       
    32 
       
    33     public:
       
    34 
       
    35         /**
       
    36         * Indicates that some other application has changed audio routing.
       
    37         * @param aShowNote ETrue if notification of current change should be
       
    38         *        shown.
       
    39         *
       
    40         */
       
    41         virtual void AudioRoutingChanged( TBool aShowNote ) = 0;
       
    42 
       
    43         /**
       
    44         * Observer is required to give information whether audio route change
       
    45         * is allowed currently.
       
    46         * @param ETrue if change is allowed, otherwise EFalse
       
    47         *
       
    48         */
       
    49         virtual TBool AudioRouteChangeAllowed() const = 0;
       
    50         
       
    51     };
       
    52 
       
    53 #endif // INCLUDE GUARD