equal
deleted
inserted
replaced
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> |
|
24 |
22 |
25 // CLASS DECLARATION |
23 // CLASS DECLARATION |
26 |
24 |
27 /** |
25 /** |
28 * An interface to get notifcations when the audio routing changes |
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 */ |
29 */ |
30 class MMusEngAudioRoutingObserver |
30 class MMusEngAudioRoutingObserver |
31 { |
31 { |
32 |
32 |
33 public: |
33 public: |
34 |
34 |
35 /** |
35 /** |
36 * The audio routing has changed. |
36 * Indicates that some other application has changed audio routing. |
|
37 * @param aShowNote ETrue if notification of current change should be |
|
38 * shown. |
|
39 * |
37 */ |
40 */ |
38 virtual void AudioRoutingChanged() = 0; |
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; |
39 |
50 |
40 }; |
51 }; |
41 |
52 |
42 #endif // MUSENGAUDIOROUTINGOBSERVER_H |
53 #endif // INCLUDE GUARD |