|
1 /* |
|
2 * Copyright (c) 2002 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 * Defines abstract interface |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __MLogsSystemAgent_H_ |
|
21 #define __MLogsSystemAgent_H_ |
|
22 |
|
23 // INCLUDES |
|
24 |
|
25 // MACROS |
|
26 |
|
27 // DATA TYPES |
|
28 |
|
29 // FUNCTION PROTOTYPES |
|
30 |
|
31 // FORWARD DECLARATIONS |
|
32 class MLogsCallObserver; |
|
33 class MLogsObserver; |
|
34 |
|
35 // CLASS DECLARATION |
|
36 |
|
37 /** |
|
38 * |
|
39 */ |
|
40 class MLogsSystemAgent |
|
41 { |
|
42 public: |
|
43 |
|
44 virtual ~MLogsSystemAgent() {}; |
|
45 |
|
46 public: |
|
47 |
|
48 /** |
|
49 * Indicates current GPRS connection status |
|
50 * |
|
51 * @return ETrue if active, EFalse if not |
|
52 */ |
|
53 virtual TBool GprsConnectionActive() = 0; |
|
54 |
|
55 |
|
56 /** |
|
57 * Indicates current voice, video, voip etc call status |
|
58 * |
|
59 * @return KErrNone, if retrieving status was successful |
|
60 */ |
|
61 //TInt CallActive( TBool &aValue ); TERO |
|
62 |
|
63 |
|
64 /** |
|
65 * Returns ALS support indication |
|
66 * |
|
67 * @return ETrue if supported, EFalse if not |
|
68 */ |
|
69 virtual TBool AlsSupport() = 0; |
|
70 |
|
71 /** |
|
72 * Sets observer for Call Status changes. |
|
73 * |
|
74 */ |
|
75 // virtual void SetCallObserver( MLogsCallObserver* aCallObserver ) = 0; |
|
76 |
|
77 /** |
|
78 * Resets missed Poc call notification |
|
79 */ |
|
80 virtual void ResetNewMissedPocCalls() = 0; |
|
81 |
|
82 }; |
|
83 |
|
84 |
|
85 #endif |
|
86 |
|
87 // End of File __MLogsSystemAgent_H_ |