mmsharing/mmshengine/inc/musengaudioroutingobserver.h
branchRCL_3
changeset 22 73a1feb507fb
parent 0 f0cf47e981f9
child 23 bc78a40cd63c
equal deleted inserted replaced
21:33a5d2bbf6fc 22:73a1feb507fb
    17 
    17 
    18 
    18 
    19 #ifndef MUSENGAUDIOROUTINGOBSERVER_H
    19 #ifndef MUSENGAUDIOROUTINGOBSERVER_H
    20 #define MUSENGAUDIOROUTINGOBSERVER_H
    20 #define MUSENGAUDIOROUTINGOBSERVER_H
    21 
    21 
       
    22 // INCLUDES
       
    23 #include <e32std.h>
    22 
    24 
    23 // CLASS DECLARATION
    25 // CLASS DECLARATION
    24 
    26 
    25 /**
    27 /**
    26 * An interface to be implemented by users of Multimedia Sharing Engine if 
    28 * An interface to get notifcations when the audio routing changes
    27 * they wish to be notified about changes in audio routing.
       
    28 *
       
    29 */
    29 */
    30 class MMusEngAudioRoutingObserver
    30 class MMusEngAudioRoutingObserver
    31     {
    31     {
    32 
    32 
    33     public:
    33     public:
    34 
    34 
    35         /**
    35         /**
    36         * Indicates that some other application has changed audio routing.
    36         * The audio routing has changed.
    37         * @param aShowNote ETrue if notification of current change should be
       
    38         *        shown.
       
    39         *
       
    40         */
    37         */
    41         virtual void AudioRoutingChanged( TBool aShowNote ) = 0;
    38         virtual void AudioRoutingChanged() = 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         
    39         
    51     };
    40     };
    52 
    41 
    53 #endif // INCLUDE GUARD
    42 #endif // MUSENGAUDIOROUTINGOBSERVER_H