|
1 /* |
|
2 * Copyright (c) 2006-2007 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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef IRACTIVEIDLEENGNOTIFYHANDLER_H |
|
20 #define IRACTIVEIDLEENGNOTIFYHANDLER_H |
|
21 |
|
22 #include "irpubsubkeys.h" |
|
23 |
|
24 class CIRMetaData; |
|
25 |
|
26 /** |
|
27 * Observer interface for CIRActiveIdleEng. |
|
28 * The observer is notified about the changes in relevant keys through this interface. |
|
29 */ |
|
30 NONSHARABLE_CLASS(MIRActiveIdleEngNotifyHandler) |
|
31 { |
|
32 |
|
33 public: |
|
34 |
|
35 /** |
|
36 * Invoked when a new channel has been tuned into. |
|
37 */ |
|
38 virtual void HandleChannelChangeL() = 0; |
|
39 |
|
40 /** |
|
41 * Invoked when a new channel has been tuned into. |
|
42 * @param aVolume The index of the volume level. |
|
43 */ |
|
44 virtual void HandleVolumeChangeL( TInt aVolume ) = 0; |
|
45 |
|
46 /** |
|
47 * Invoked when a new channel has been tuned into. |
|
48 */ |
|
49 virtual void HandlePlayStopL( TIRStopPlayState aState ) = 0; |
|
50 |
|
51 /** |
|
52 * Invoked when the application's running state has changed. |
|
53 * @param aRunningState The new running state. |
|
54 */ |
|
55 virtual void HandleApplicationRunningStateChangeL( |
|
56 TIRPSApplicationRunningState aRunningState ) = 0; |
|
57 |
|
58 /** |
|
59 * Invoked when meta data is received. |
|
60 * |
|
61 * @param aMetaData The meta data that was received. |
|
62 */ |
|
63 virtual void HandleMetaDataReceivedL( const CIRMetaData& aMetaData ) = 0; |
|
64 |
|
65 /** |
|
66 * Invoked when buffering starts or stops |
|
67 * |
|
68 * @param aValue The state of buffering |
|
69 */ |
|
70 virtual void HandleBufferingStateL(TIRBufferingState aState) = 0; |
|
71 |
|
72 }; |
|
73 |
|
74 #endif//IRACTIVEIDLEENGNOTIFYHANDLER_H |
|
75 |