1 /* |
|
2 * Copyright (c) 2007-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: Declarations for class MCSPCommonInfo |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef MCSPCOMMONINFO_H |
|
21 #define MCSPCOMMONINFO_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32std.h> |
|
25 #include <etelmm.h> // for ciphering status |
|
26 #include <rmmcustomapi.h> |
|
27 #include <mccpcall.h> // For CCCPCallParameters |
|
28 #include <mccecall.h> |
|
29 |
|
30 |
|
31 class CSPCall; |
|
32 class MCCPCallCommandHandling; |
|
33 class MCCPCSCall; |
|
34 |
|
35 // CLASS DECLARATION |
|
36 |
|
37 |
|
38 /** |
|
39 * Observer interface for indicating P&S changes |
|
40 * |
|
41 */ |
|
42 class MCSPCommonInfo |
|
43 { |
|
44 public: // New functions |
|
45 |
|
46 /** |
|
47 * Makes the request. Note that ERequestTypeDial is made with a |
|
48 * separate MakeDialRequest function. |
|
49 * |
|
50 * @param aRequest type of request |
|
51 * @return ETrue if active, EFalse if not |
|
52 */ |
|
53 virtual void GetCallWaitingL( const CCCECallParameters& iParams, |
|
54 TBool& aCallWaitingStatus ) = 0; |
|
55 |
|
56 /** |
|
57 * Diagnostic error fetching. |
|
58 * @param aCallName name of call |
|
59 * @return diagnostic error code |
|
60 */ |
|
61 virtual TInt GetDiagnosticError( TName& aCallName ) = 0; |
|
62 |
|
63 |
|
64 /** |
|
65 * Network security status. |
|
66 * @since Series60_4.0 |
|
67 * @return true if calls use secured connection |
|
68 */ |
|
69 virtual TBool NetworkSecurityStatus() const = 0; |
|
70 |
|
71 |
|
72 /** |
|
73 * Remote alerting tone playing status. |
|
74 * @return tone status (tone type/not played) |
|
75 */ |
|
76 virtual RMmCustomAPI::TRemoteAlertingToneStatus GetRemoteAlertingToneStatus() = 0; |
|
77 |
|
78 /** |
|
79 * Initializes with current settings. |
|
80 * @param aParams call params |
|
81 */ |
|
82 virtual void InitializeCallParameters( RMobileCall::TMobileCallParamsV7& aParams ) = 0; |
|
83 |
|
84 /** |
|
85 * Initializes with current settings. |
|
86 * @param aParams call params |
|
87 */ |
|
88 virtual void InitializeDataCallParameters( |
|
89 RMobileCall::TMobileHscsdCallParamsV1& aParams ) = 0; |
|
90 |
|
91 /** |
|
92 * Indicates that client call has been created. |
|
93 * @param aCall client call pointer |
|
94 */ |
|
95 virtual void IndicateClientCall( MCCPCSCall* aCall ) = 0; |
|
96 |
|
97 /** |
|
98 * Indicates incoming call. |
|
99 * @param aCall MT call |
|
100 * @return system wide error code |
|
101 */ |
|
102 virtual TInt IndicateIncomingCall( MCCPCSCall* aCall ) = 0; |
|
103 |
|
104 /** |
|
105 * Notify data port name of a loaned data port. |
|
106 * @param aDataPort |
|
107 */ |
|
108 virtual void NotifyDataPortName( TName& aDataPortName ) = 0; |
|
109 |
|
110 /** |
|
111 * Indicates active hangup command. |
|
112 * @param aCall MT call |
|
113 * @return system wide error code |
|
114 */ |
|
115 virtual TInt IndicateActiveHangup( MCCPCallCommandHandling& aCall ) = 0; |
|
116 |
|
117 /** |
|
118 * Indicates hangup command complete. |
|
119 * @param aCall MT call |
|
120 * @return system wide error code |
|
121 */ |
|
122 virtual TInt IndicateHangupComplete( MCCPCallCommandHandling& aCall ) = 0; |
|
123 |
|
124 /** |
|
125 * Indicates dial command. |
|
126 * @param aCall MT call |
|
127 * @return system wide error code |
|
128 */ |
|
129 virtual TInt IndicateDialRequest( MCCPCallCommandHandling& aCall ) = 0; |
|
130 |
|
131 /** |
|
132 * Indicates answer command. |
|
133 * @param aCall MT call |
|
134 * @return system wide error code |
|
135 */ |
|
136 virtual TInt IndicateAnswerRequest( MCCPCallCommandHandling& aCall ) = 0; |
|
137 |
|
138 /** |
|
139 * Secure specified status. |
|
140 * @since Series60_5.0 |
|
141 * @return ETrue if specified |
|
142 */ |
|
143 virtual TBool SecureSpecified() const = 0; |
|
144 |
|
145 /** |
|
146 * Don't report termination error |
|
147 * @since Series60_5.0 |
|
148 * @return system wide error code |
|
149 */ |
|
150 virtual TInt DontReportTerminationError() = 0; |
|
151 |
|
152 }; |
|
153 |
|
154 #endif // MCSPCOMMONINFO_H |
|
155 |
|
156 // End of File |
|