|
1 /* |
|
2 * Copyright (c) 2004-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: Interface to observe system events. |
|
15 * Implementer will be notified each time particular system component |
|
16 * state has changed. |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 #ifndef MFMRADIOSYSTEMEVENTDETECTOROBSERVER_H |
|
22 #define MFMRADIOSYSTEMEVENTDETECTOROBSERVER_H |
|
23 |
|
24 // CLASS DECLARATION |
|
25 /** |
|
26 * |
|
27 * Observer for the call and network state. Implementer will be notified each time the state has changed |
|
28 */ |
|
29 class MFMRadioSystemEventDetectorObserver |
|
30 { |
|
31 public: // New functions |
|
32 |
|
33 /** |
|
34 * This callback notifies when networks comes up. |
|
35 */ |
|
36 virtual void NetworkUpCallbackL() = 0; |
|
37 |
|
38 /** |
|
39 * This callback notifies when network goes down. |
|
40 */ |
|
41 virtual void NetworkDownCallbackL() = 0; |
|
42 |
|
43 /** |
|
44 * This callback notifies when audio resources become available. |
|
45 */ |
|
46 virtual void AudioResourcesAvailableL() = 0; |
|
47 |
|
48 /** |
|
49 * This callback notifies when audio auto resuming is forbidden. |
|
50 */ |
|
51 virtual void AudioAutoResumeForbiddenL() = 0; |
|
52 |
|
53 /** |
|
54 * This callback notifies when call becomes active. |
|
55 */ |
|
56 virtual void CallActivatedCallbackL() = 0; |
|
57 |
|
58 /** |
|
59 * This callback notifies when call becomes deactive. |
|
60 */ |
|
61 virtual void CallDeactivatedCallbackL() = 0; |
|
62 |
|
63 }; |
|
64 |
|
65 #endif // MFMRADIOSYSTEMEVENTDETECTOROBSERVER_H |
|
66 |
|
67 // End of File |