|
1 /* |
|
2 * Copyright (c) 2008 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: CCE call info interface |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef MCCECALLINFO_H |
|
21 #define MCCECALLINFO_H |
|
22 |
|
23 #include <cccpcallparameters.h> |
|
24 #include "mccecallobserver.h" |
|
25 |
|
26 /** |
|
27 * Interface for calls info |
|
28 * |
|
29 * |
|
30 * @lib cce.dll |
|
31 * @since S60 v3.2 |
|
32 */ |
|
33 class MCCECallInfo |
|
34 { |
|
35 |
|
36 public: |
|
37 |
|
38 /** |
|
39 * Implementation id info |
|
40 * |
|
41 * @since S60 v3.2 |
|
42 * @return Implementation id of call |
|
43 */ |
|
44 virtual const TUid ImplementationUid() const = 0; |
|
45 |
|
46 /** |
|
47 * State of the call. |
|
48 * |
|
49 * @since S60 5.0 |
|
50 * @return State of the call. |
|
51 */ |
|
52 virtual CCPCall::TCallState State() const = 0; |
|
53 |
|
54 /** |
|
55 * Direction of the call. |
|
56 * |
|
57 * @since S60 5.0 |
|
58 * @return Direction of the call. |
|
59 */ |
|
60 virtual CCPCall::TCallDirection Direction() const = 0; |
|
61 |
|
62 /** |
|
63 * Type of the call. |
|
64 * |
|
65 * @since S60 5.0 |
|
66 * @return Type of the call. |
|
67 */ |
|
68 virtual CCPCall::TCallType CallType() const = 0; |
|
69 |
|
70 /** |
|
71 * Service id of the call. |
|
72 * |
|
73 * @since S60 5.0 |
|
74 * @return Service id. |
|
75 */ |
|
76 virtual TUint32 ServiceId() const = 0; |
|
77 |
|
78 /** |
|
79 * Call index of the call. |
|
80 * |
|
81 * @since S60 5.0 |
|
82 * @return Call index. |
|
83 */ |
|
84 virtual TInt CallIndex() const = 0; |
|
85 |
|
86 /** |
|
87 * Returns if call is an emergency call or not. |
|
88 * @since Series 60 5.2 |
|
89 * @param None. |
|
90 * @return TBool ETrue call is emergency call else EFalse. |
|
91 */ |
|
92 virtual TBool IsEmergency() const = 0; |
|
93 }; |
|
94 |
|
95 #endif // MCCECALLINFO_H |
|
96 |
|
97 // End of File |
|
98 |