mmsharing/mmshengine/inc/musengvolumechangeobserver.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 11 ff8a573c0e2e
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 MUSENGVOLUMECHANGEOBSERVER_H
       
    20 #define MUSENGVOLUMECHANGEOBSERVER_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32def.h>
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28 * An interface to be implemented by users of Multimedia Sharing Engine if 
       
    29 * they wish to be notified about volume level CenRep keys change
       
    30 *
       
    31 */
       
    32 class MMusEngVolumeChangeObserver
       
    33     {
       
    34     public: 
       
    35     
       
    36         /**
       
    37 	    * Indicates that volume level was changed either by some other 
       
    38 	    * application or due to audio route change
       
    39 	    * @param aVolume new volume level
       
    40 	    * @param aAudioRouteChanged indicates whether volume level changed due
       
    41 	    *        to audio route change
       
    42 	    */
       
    43         virtual void VolumeChanged( TInt aVolume, TBool aAudioRouteChanged ) = 0;        
       
    44     };
       
    45 
       
    46 #endif