|
24
|
1 |
// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
|
2 |
// All rights reserved.
|
|
|
3 |
// This component and the accompanying materials are made available
|
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
|
5 |
// which accompanies this distribution, and is available
|
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
|
7 |
//
|
|
|
8 |
// Initial Contributors:
|
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
|
10 |
//
|
|
|
11 |
// Contributors:
|
|
|
12 |
//
|
|
|
13 |
// Description:
|
|
|
14 |
// This file contains all the interfaces classes that can be implemented by
|
|
|
15 |
// the Licensee LTSY relating to Phone related features.
|
|
|
16 |
//
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
/**
|
|
|
22 |
@file
|
|
|
23 |
@publishedPartner
|
|
|
24 |
@released
|
|
|
25 |
*/
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
#ifndef MLTSYDISPATCHPHONEINTERFACE_H_
|
|
|
29 |
#define MLTSYDISPATCHPHONEINTERFACE_H_
|
|
|
30 |
|
|
|
31 |
#include <ctsy/ltsy/mltsydispatchinterface.h>
|
|
|
32 |
#include <etelmm.h>
|
|
|
33 |
#include <ctsy/rmmcustomapi.h>
|
|
|
34 |
|
|
|
35 |
class MLtsyDispatchPhoneBootNotifyModemStatusReady : public MLtsyDispatchInterface
|
|
|
36 |
{
|
|
|
37 |
public:
|
|
|
38 |
|
|
|
39 |
static const TInt KLtsyDispatchPhoneBootNotifyModemStatusReadyApiId = KDispatchPhoneFuncUnitId+1;
|
|
|
40 |
|
|
|
41 |
/**
|
|
|
42 |
* The CTSY Dispatcher shall invoke this function on receiving the EMmTsyBootNotifyModemStatusReadyIPC
|
|
|
43 |
* request from the CTSY.
|
|
|
44 |
*
|
|
|
45 |
* It is a request call that is completed by invoking CCtsyDispatcherCallback::CallbackPhoneBootNotifyModemStatusReadyComp()
|
|
|
46 |
*
|
|
|
47 |
* Implementation of this interface should indicate when the
|
|
|
48 |
* Modem is ready for requests made from the CTSY.
|
|
|
49 |
*
|
|
|
50 |
* @return KErrNone on success otherwise another error code indicating the
|
|
|
51 |
* failure.
|
|
|
52 |
*/
|
|
|
53 |
virtual TInt HandleBootNotifyModemStatusReadyReqL() = 0;
|
|
|
54 |
|
|
|
55 |
}; // class MLtsyDispatchPhoneBootNotifyModemStatusReady
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
class MLtsyDispatchPhoneBootNotifySimStatusReady : public MLtsyDispatchInterface
|
|
|
59 |
{
|
|
|
60 |
public:
|
|
|
61 |
|
|
|
62 |
static const TInt KLtsyDispatchPhoneBootNotifySimStatusReadyApiId = KDispatchPhoneFuncUnitId+2;
|
|
|
63 |
|
|
|
64 |
/**
|
|
|
65 |
* The CTSY Dispatcher shall invoke this function on receiving the EMmTsyBootNotifySimStatusReadyIPC
|
|
|
66 |
* request from the CTSY.
|
|
|
67 |
*
|
|
|
68 |
* It is a request call that is completed by invoking CCtsyDispatcherCallback::CallbackPhoneBootNotifySimStatusReadyComp()
|
|
|
69 |
*
|
|
|
70 |
* Implementation of this interface should indicate when the SIM is ready
|
|
|
71 |
* for requests made from the CTSY.
|
|
|
72 |
* For example, any caching of data has been completed.
|
|
|
73 |
*
|
|
|
74 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
75 |
* failure.
|
|
|
76 |
*/
|
|
|
77 |
virtual TInt HandleBootNotifySimStatusReadyReqL() = 0;
|
|
|
78 |
|
|
|
79 |
}; // class MLtsyDispatchPhoneBootNotifySimStatusReady
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
class MLtsyDispatchPhoneGetFdnStatus : public MLtsyDispatchInterface
|
|
|
83 |
{
|
|
|
84 |
public:
|
|
|
85 |
|
|
|
86 |
static const TInt KLtsyDispatchPhoneGetFdnStatusApiId = KDispatchPhoneFuncUnitId + 3;
|
|
|
87 |
|
|
|
88 |
/**
|
|
|
89 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneGetFdnStatus
|
|
|
90 |
* request from the CTSY.
|
|
|
91 |
*
|
|
|
92 |
* It is a request call that is completed by invoking CCtsyDispatcherCallback::CallbackPhoneGetFdnStatusComp()
|
|
|
93 |
*
|
|
|
94 |
* Implementation of this interface should get the current FDN status.
|
|
|
95 |
*
|
|
|
96 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
97 |
* failure.
|
|
|
98 |
*/
|
|
|
99 |
virtual TInt HandleGetFdnStatusReqL() = 0;
|
|
|
100 |
|
|
|
101 |
}; // class MLtsyDispatchPhoneGetFdnStatus
|
|
|
102 |
|
|
|
103 |
|
|
|
104 |
class MLtsyDispatchPhoneGetHomeNetwork : public MLtsyDispatchInterface
|
|
|
105 |
{
|
|
|
106 |
public:
|
|
|
107 |
|
|
|
108 |
static const TInt KLtsyDispatchPhoneGetHomeNetworkApiId = KDispatchPhoneFuncUnitId + 4;
|
|
|
109 |
|
|
|
110 |
/**
|
|
|
111 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneGetHomeNetwork
|
|
|
112 |
* request from the CTSY.
|
|
|
113 |
*
|
|
|
114 |
* It is a request call that is completed by invoking CCtsyDispatcherCallback::CallbackPhoneGetHomeNetworkComp()
|
|
|
115 |
*
|
|
|
116 |
* Implementation of this interface should get the current home network.
|
|
|
117 |
*
|
|
|
118 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
119 |
* failure.
|
|
|
120 |
*/
|
|
|
121 |
virtual TInt HandleGetHomeNetworkReqL() = 0;
|
|
|
122 |
|
|
|
123 |
}; // class MLtsyDispatchPhoneGetHomeNetwork
|
|
|
124 |
|
|
|
125 |
|
|
|
126 |
class MLtsyDispatchPhoneGetNetworkRegistrationStatus : public MLtsyDispatchInterface
|
|
|
127 |
{
|
|
|
128 |
public:
|
|
|
129 |
|
|
|
130 |
static const TInt KLtsyDispatchPhoneGetNetworkRegistrationStatusApiId = KDispatchPhoneFuncUnitId + 5;
|
|
|
131 |
|
|
|
132 |
/**
|
|
|
133 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneGetNetworkRegistrationStatus
|
|
|
134 |
* request from the CTSY.
|
|
|
135 |
*
|
|
|
136 |
* It is a request call that is completed by invoking CCtsyDispatcherCallback::CallbackPhoneGetNetworkRegistrationStatusComp()
|
|
|
137 |
*
|
|
|
138 |
* Implementation of this interface should get the current network registration status.
|
|
|
139 |
*
|
|
|
140 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
141 |
* failure.
|
|
|
142 |
*/
|
|
|
143 |
virtual TInt HandleGetNetworkRegistrationStatusReqL() = 0;
|
|
|
144 |
|
|
|
145 |
}; // class MLtsyDispatchPhoneGetNetworkRegistrationStatus
|
|
|
146 |
|
|
|
147 |
|
|
|
148 |
class MLtsyDispatchPhoneSimRefreshRegister : public MLtsyDispatchInterface
|
|
|
149 |
{
|
|
|
150 |
public:
|
|
|
151 |
|
|
|
152 |
static const TInt KLtsyDispatchPhoneSimRefreshRegisterApiId = KDispatchPhoneFuncUnitId + 6;
|
|
|
153 |
|
|
|
154 |
/**
|
|
|
155 |
* The CTSY Dispatcher shall invoke this function on receiving the EMmTsySimRefreshRegisterIPC
|
|
|
156 |
* request from the CTSY.
|
|
|
157 |
*
|
|
|
158 |
* It is a request call that is completed by invoking CCtsyDispatcherCallback::CallbackPhoneSimRefreshRegisterComp()
|
|
|
159 |
*
|
|
|
160 |
* Implementation of this interface should return whether registering for refresh indications on a list of SIM files was successful.
|
|
|
161 |
* Note: When the LTSY needs to notify the CTSY of a refresh CCtsyDispatcherCallback::CallbackPhoneSimRefreshNowInd() should be invoked.
|
|
|
162 |
*
|
|
|
163 |
* @param aFilesToRegister Bitmask containing list of files to register for refresh indications.
|
|
|
164 |
* The list of possible files is specified in TCacheFileTypes.
|
|
|
165 |
*
|
|
|
166 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
167 |
* failure.
|
|
|
168 |
*/
|
|
|
169 |
virtual TInt HandleSimRefreshRegisterReqL(TUint16 aFilesToRegister) = 0;
|
|
|
170 |
|
|
|
171 |
}; // class MLtsyDispatchPhoneSimRefreshRegister
|
|
|
172 |
|
|
|
173 |
|
|
|
174 |
|
|
|
175 |
class MLtsyDispatchPhoneGetServiceProviderName : public MLtsyDispatchInterface
|
|
|
176 |
{
|
|
|
177 |
public:
|
|
|
178 |
|
|
|
179 |
static const TInt KLtsyDispatchPhoneGetServiceProviderNameApiId = KDispatchPhoneFuncUnitId + 7;
|
|
|
180 |
|
|
|
181 |
/**
|
|
|
182 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneGetServiceProviderName
|
|
|
183 |
* request from the CTSY.
|
|
|
184 |
*
|
|
|
185 |
* It is a request call that is completed by invoking
|
|
|
186 |
* CCtsyDispatcherCallback::CallbackPhoneGetServiceProviderNameComp()
|
|
|
187 |
*
|
|
|
188 |
* The service provider information to be returned is in the form RMobilePhone::TMobilePhoneServiceProviderNameV2.
|
|
|
189 |
*
|
|
|
190 |
*
|
|
|
191 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
192 |
* failure.
|
|
|
193 |
*/
|
|
|
194 |
virtual TInt HandleGetServiceProviderNameReqL() = 0;
|
|
|
195 |
|
|
|
196 |
}; // class MLtsyDispatchPhoneGetServiceProviderName
|
|
|
197 |
|
|
|
198 |
|
|
|
199 |
|
|
|
200 |
class MLtsyDispatchPhoneGetPhoneId : public MLtsyDispatchInterface
|
|
|
201 |
{
|
|
|
202 |
public:
|
|
|
203 |
|
|
|
204 |
static const TInt KLtsyDispatchPhoneGetPhoneIdApiId = KDispatchPhoneFuncUnitId + 8;
|
|
|
205 |
|
|
|
206 |
/**
|
|
|
207 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneGetPhoneId
|
|
|
208 |
* request from the CTSY.
|
|
|
209 |
*
|
|
|
210 |
* It is a request call that is completed by invoking
|
|
|
211 |
* CCtsyDispatcherCallback::CallbackPhoneGetPhoneIdComp()
|
|
|
212 |
*
|
|
|
213 |
* Implementation of this interface should get the phone's identity as described by the
|
|
|
214 |
* fields in RMobilePhone::TMobilePhoneIdentityV1.
|
|
|
215 |
*
|
|
|
216 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
217 |
* failure.
|
|
|
218 |
*/
|
|
|
219 |
virtual TInt HandleGetPhoneIdReqL() = 0;
|
|
|
220 |
|
|
|
221 |
}; // class MLtsyDispatchPhoneGetPhoneId
|
|
|
222 |
|
|
|
223 |
|
|
|
224 |
|
|
|
225 |
class MLtsyDispatchPhoneGetDetectedNetworks : public MLtsyDispatchInterface
|
|
|
226 |
{
|
|
|
227 |
public:
|
|
|
228 |
|
|
|
229 |
static const TInt KLtsyDispatchPhoneGetDetectedNetworksApiId = KDispatchPhoneFuncUnitId + 9;
|
|
|
230 |
|
|
|
231 |
/**
|
|
|
232 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneGetDetectedNetworksV2Phase1
|
|
|
233 |
* request from the CTSY.
|
|
|
234 |
*
|
|
|
235 |
* It is a request call that is completed by invoking
|
|
|
236 |
* CCtsyDispatcherCallback::CallbackPhoneGetDetectedNetworksComp()
|
|
|
237 |
*
|
|
|
238 |
* Implementation of this interface should get the current detected networks.
|
|
|
239 |
*
|
|
|
240 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
241 |
* failure.
|
|
|
242 |
*/
|
|
|
243 |
virtual TInt HandleGetDetectedNetworksReqL() = 0;
|
|
|
244 |
|
|
|
245 |
}; // class MLtsyDispatchPhoneGetDetectedNetworks
|
|
|
246 |
|
|
|
247 |
|
|
|
248 |
|
|
|
249 |
class MLtsyDispatchPhoneGetDetectedNetworksCancel : public MLtsyDispatchInterface
|
|
|
250 |
{
|
|
|
251 |
public:
|
|
|
252 |
|
|
|
253 |
static const TInt KLtsyDispatchPhoneGetDetectedNetworksCancelApiId = KDispatchPhoneFuncUnitId + 10;
|
|
|
254 |
|
|
|
255 |
/**
|
|
|
256 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneGetDetectedNetworksCancel
|
|
|
257 |
* request from the CTSY.
|
|
|
258 |
*
|
|
|
259 |
* It is a request call that is completed by invoking
|
|
|
260 |
* CCtsyDispatcherCallback::CallbackPhoneGetDetectedNetworksCancelComp()
|
|
|
261 |
*
|
|
|
262 |
* Implementation of this interface should cancel a pending retrieval of the detected networks.
|
|
|
263 |
*
|
|
|
264 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
265 |
* failure.
|
|
|
266 |
*/
|
|
|
267 |
virtual TInt HandleGetDetectedNetworksCancelReqL() = 0;
|
|
|
268 |
|
|
|
269 |
}; // class MLtsyDispatchPhoneGetDetectedNetworksCancel
|
|
|
270 |
|
|
|
271 |
|
|
|
272 |
|
|
|
273 |
class MLtsyDispatchPhoneSelectNetwork : public MLtsyDispatchInterface
|
|
|
274 |
{
|
|
|
275 |
public:
|
|
|
276 |
|
|
|
277 |
static const TInt KLtsyDispatchPhoneSelectNetworkApiId = KDispatchPhoneFuncUnitId + 11;
|
|
|
278 |
|
|
|
279 |
/**
|
|
|
280 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneSelectNetwork
|
|
|
281 |
* request from the CTSY.
|
|
|
282 |
*
|
|
|
283 |
* It is a request call that is completed by invoking
|
|
|
284 |
* CCtsyDispatcherCallback::CallbackPhoneSelectNetworkComp()
|
|
|
285 |
*
|
|
|
286 |
* Implementation of this interface should attempt a network selection.
|
|
|
287 |
*
|
|
|
288 |
* @param aIsManual Specifies whether phone should use a manual or automatic network selection method.
|
|
|
289 |
* @param aNetworkManualSelection If aIsManual==ETrue, then this parameter contain the user's manually selected network.
|
|
|
290 |
*
|
|
|
291 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
292 |
* failure.
|
|
|
293 |
*/
|
|
|
294 |
virtual TInt HandleSelectNetworkReqL(TBool aIsManual, const RMobilePhone::TMobilePhoneNetworkManualSelection& aNetworkManualSelection) = 0;
|
|
|
295 |
|
|
|
296 |
}; // class MLtsyDispatchPhoneSelectNetwork
|
|
|
297 |
|
|
|
298 |
|
|
|
299 |
|
|
|
300 |
class MLtsyDispatchPhoneSelectNetworkCancel : public MLtsyDispatchInterface
|
|
|
301 |
{
|
|
|
302 |
public:
|
|
|
303 |
|
|
|
304 |
static const TInt KLtsyDispatchPhoneSelectNetworkCancelApiId = KDispatchPhoneFuncUnitId + 12;
|
|
|
305 |
|
|
|
306 |
/**
|
|
|
307 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneSelectNetworkCancel
|
|
|
308 |
* request from the CTSY.
|
|
|
309 |
*
|
|
|
310 |
* It is a request call that is completed by invoking
|
|
|
311 |
* CCtsyDispatcherCallback::CallbackPhoneSelectNetworkCancelComp()
|
|
|
312 |
*
|
|
|
313 |
* Implementation of this interface should cancel a pending network selection.
|
|
|
314 |
*
|
|
|
315 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
316 |
* failure.
|
|
|
317 |
*/
|
|
|
318 |
virtual TInt HandleSelectNetworkCancelReqL() = 0;
|
|
|
319 |
|
|
|
320 |
}; // class MLtsyDispatchPhoneSelectNetworkCancel
|
|
|
321 |
|
|
|
322 |
|
|
|
323 |
|
|
|
324 |
class MLtsyDispatchPhoneSetNetworkSelectionSetting : public MLtsyDispatchInterface
|
|
|
325 |
{
|
|
|
326 |
public:
|
|
|
327 |
|
|
|
328 |
static const TInt KLtsyDispatchPhoneSetNetworkSelectionSettingApiId = KDispatchPhoneFuncUnitId + 13;
|
|
|
329 |
|
|
|
330 |
/**
|
|
|
331 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneSetNetworkSelectionSetting
|
|
|
332 |
* request from the CTSY.
|
|
|
333 |
*
|
|
|
334 |
* It is a request call that is completed by invoking
|
|
|
335 |
* CCtsyDispatcherCallback::CallbackPhoneSetNetworkSelectionSettingComp()
|
|
|
336 |
*
|
|
|
337 |
* Implementation of this interface should set the new network selection.
|
|
|
338 |
* Note: The completion of this will also invoke the network selection change
|
|
|
339 |
* notifier in the CTSY (EMobilePhoneNotifyNetworkSelectionSettingChange).
|
|
|
340 |
*
|
|
|
341 |
* @param aPhoneNetworkSelection The new network selection setting.
|
|
|
342 |
*
|
|
|
343 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
344 |
* failure.
|
|
|
345 |
*/
|
|
|
346 |
virtual TInt HandleSetNetworkSelectionSettingReqL(const RMobilePhone::TMobilePhoneNetworkSelectionV1& aPhoneNetworkSelection) = 0;
|
|
|
347 |
|
|
|
348 |
}; // class MLtsyDispatchPhoneSetNetworkSelectionSetting
|
|
|
349 |
|
|
|
350 |
|
|
|
351 |
class MLtsyDispatchPhoneGetCurrentNetworkInfo : public MLtsyDispatchInterface
|
|
|
352 |
{
|
|
|
353 |
public:
|
|
|
354 |
|
|
|
355 |
static const TInt KLtsyDispatchPhoneGetCurrentNetworkInfoApiId = KDispatchPhoneFuncUnitId + 14;
|
|
|
356 |
|
|
|
357 |
/**
|
|
|
358 |
* The CTSY Dispatcher shall invoke this function after a NotifyModemReadyReceived event occurs,
|
|
|
359 |
* normally during phone boot-up. It is an internal call.
|
|
|
360 |
*
|
|
|
361 |
* It is a request call that is completed by invoking CCtsyDispatcherCallback::CallbackPhoneGetCurrentNetworkInfoComp()
|
|
|
362 |
*
|
|
|
363 |
* Implementation of this interface should get the current network information.
|
|
|
364 |
*
|
|
|
365 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
366 |
* failure.
|
|
|
367 |
*/
|
|
|
368 |
virtual TInt HandleGetCurrentNetworkInfoReqL() = 0;
|
|
|
369 |
|
|
|
370 |
}; // class MLtsyDispatchPhoneGetCurrentNetworkInfo
|
|
|
371 |
|
|
|
372 |
|
|
|
373 |
class MLtsyDispatchPhoneGetNetworkMode : public MLtsyDispatchInterface
|
|
|
374 |
{
|
|
|
375 |
public:
|
|
|
376 |
|
|
|
377 |
static const TInt KLtsyDispatchPhoneGetNetworkModeApiId = KDispatchPhoneFuncUnitId + 15;
|
|
|
378 |
|
|
|
379 |
/**
|
|
|
380 |
* The CTSY Dispatcher shall invoke this function after a NotifyModemReadyReceived event occurs,
|
|
|
381 |
* normally during phone boot-up. It is an internal call.
|
|
|
382 |
*
|
|
|
383 |
* It is a request call that is completed by invoking CCtsyDispatcherCallback::CallbackPhoneGetNetworkModeComp()
|
|
|
384 |
*
|
|
|
385 |
* Implementation of this interface should get the current network information.
|
|
|
386 |
*
|
|
|
387 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
388 |
* failure.
|
|
|
389 |
*/
|
|
|
390 |
virtual TInt HandleGetNetworkModeReqL() = 0;
|
|
|
391 |
|
|
|
392 |
}; // class MLtsyDispatchPhoneGetNetworkMode
|
|
|
393 |
|
|
|
394 |
|
|
|
395 |
class MLtsyDispatchPhoneGetNitzInfo : public MLtsyDispatchInterface
|
|
|
396 |
{
|
|
|
397 |
public:
|
|
|
398 |
|
|
|
399 |
static const TInt KLtsyDispatchPhoneGetNitzInfoApiId = KDispatchPhoneFuncUnitId + 16;
|
|
|
400 |
|
|
|
401 |
/**
|
|
|
402 |
* The CTSY Dispatcher shall invoke this function after a NotifyModemReadyReceived event occurs,
|
|
|
403 |
* normally during phone boot-up. It is an internal call.
|
|
|
404 |
*
|
|
|
405 |
* It is a request call that is completed by invoking CCtsyDispatcherCallback::CallbackPhoneGetNitzInfoComp()
|
|
|
406 |
*
|
|
|
407 |
* Implementation of this interface should get the current network NITZ information.
|
|
|
408 |
*
|
|
|
409 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
410 |
* failure.
|
|
|
411 |
*/
|
|
|
412 |
virtual TInt HandleGetNitzInfoReqL() = 0;
|
|
|
413 |
|
|
|
414 |
}; // class MLtsyDispatchPhoneGetNitzInfo
|
|
|
415 |
|
|
|
416 |
class MLtsyDispatchPhoneGetSignalStrength : public MLtsyDispatchInterface
|
|
|
417 |
{
|
|
|
418 |
public:
|
|
|
419 |
|
|
|
420 |
static const TInt KLtsyDispatchPhoneGetSignalStrengthApiId = KDispatchPhoneFuncUnitId + 17;
|
|
|
421 |
|
|
|
422 |
/**
|
|
|
423 |
* The CTSY Dispatcher shall invoke this function after a NotifyModemReadyReceived event occurs,
|
|
|
424 |
* normally during phone boot-up. It is an internal call.
|
|
|
425 |
*
|
|
|
426 |
* It is a request call that is completed by invoking CCtsyDispatcherCallback::CallbackPhoneGetSignalStrengthComp()
|
|
|
427 |
*
|
|
|
428 |
* Implementation of this interface should get the current network signal strength information.
|
|
|
429 |
*
|
|
|
430 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
431 |
* failure.
|
|
|
432 |
*/
|
|
|
433 |
virtual TInt HandleGetSignalStrengthReqL() = 0;
|
|
|
434 |
|
|
|
435 |
}; // class MLtsyDispatchPhoneGetSignalStrength
|
|
|
436 |
|
|
|
437 |
class MLtsyDispatchPhoneGetBatteryInfo : public MLtsyDispatchInterface
|
|
|
438 |
{
|
|
|
439 |
public:
|
|
|
440 |
|
|
|
441 |
static const TInt KLtsyDispatchPhoneGetBatteryInfoApiId = KDispatchPhoneFuncUnitId + 18;
|
|
|
442 |
|
|
|
443 |
/**
|
|
|
444 |
* The CTSY Dispatcher shall invoke this function after a NotifyModemReadyReceived event occurs,
|
|
|
445 |
* normally during phone boot-up. It is an internal call.
|
|
|
446 |
*
|
|
|
447 |
* It is a request call that is completed by invoking CCtsyDispatcherCallback::CallbackPhoneGetBatteryInfoComp()
|
|
|
448 |
*
|
|
|
449 |
* Implementation of this interface should get the current battery information.
|
|
|
450 |
*
|
|
|
451 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
452 |
* failure.
|
|
|
453 |
*/
|
|
|
454 |
virtual TInt HandleGetBatteryInfoReqL() = 0;
|
|
|
455 |
|
|
|
456 |
}; // class MLtsyDispatchPhoneGetBatteryInfo
|
|
|
457 |
|
|
|
458 |
class MLtsyDispatchPhoneNspsWakeup : public MLtsyDispatchInterface
|
|
|
459 |
{
|
|
|
460 |
public:
|
|
|
461 |
|
|
|
462 |
static const TInt KLtsyDispatchPhoneNspsWakeupApiId = KDispatchPhoneFuncUnitId + 19;
|
|
|
463 |
|
|
|
464 |
/**
|
|
|
465 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomNetWakeupIPC
|
|
|
466 |
* request from the CTSY.
|
|
|
467 |
*
|
|
|
468 |
* It is a request call that is completed by invoking
|
|
|
469 |
* CCtsyDispatcherCallback::CallbackPhoneNspsWakeupComp().
|
|
|
470 |
*
|
|
|
471 |
* Implementation of this interface should wake the phone from a NSPS (No Service Power Save) state.
|
|
|
472 |
*
|
|
|
473 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
474 |
* failure.
|
|
|
475 |
*/
|
|
|
476 |
virtual TInt HandleNspsWakeupReqL() = 0;
|
|
|
477 |
|
|
|
478 |
}; // class MLtsyDispatchPhoneNspsWakeup
|
|
|
479 |
|
|
|
480 |
class MLtsyDispatchPhoneSetSystemNetworkMode : public MLtsyDispatchInterface
|
|
|
481 |
{
|
|
|
482 |
public:
|
|
|
483 |
|
|
|
484 |
static const TInt KLtsyDispatchPhoneSetSystemNetworkModeApiId = KDispatchPhoneFuncUnitId + 20;
|
|
|
485 |
|
|
|
486 |
/**
|
|
|
487 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomSetSystemNetworkModeIPC
|
|
|
488 |
* request from the CTSY.
|
|
|
489 |
*
|
|
|
490 |
* It is a request call that is completed by invoking
|
|
|
491 |
* CCtsyDispatcherCallback::CallbackPhoneSetSystemNetworkModeComp().
|
|
|
492 |
*
|
|
|
493 |
* Implementation of this interface should set the system network mode.
|
|
|
494 |
*
|
|
|
495 |
* @param aMode The new mode to set the system network to.
|
|
|
496 |
*
|
|
|
497 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
498 |
* failure.
|
|
|
499 |
*/
|
|
|
500 |
virtual TInt HandleSetSystemNetworkModeReqL(RMmCustomAPI::TNetworkModeCaps aMode) = 0;
|
|
|
501 |
|
|
|
502 |
}; // class MLtsyDispatchPhoneSetSystemNetworkMode
|
|
|
503 |
|
|
|
504 |
class MLtsyDispatchPhoneGetCurrentSystemNetworkModes : public MLtsyDispatchInterface
|
|
|
505 |
{
|
|
|
506 |
public:
|
|
|
507 |
|
|
|
508 |
static const TInt KLtsyDispatchPhoneGetCurrentSystemNetworkModesApiId = KDispatchPhoneFuncUnitId + 21;
|
|
|
509 |
|
|
|
510 |
/**
|
|
|
511 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomGetCurrentSystemNetworkModesIPC
|
|
|
512 |
* request from the CTSY.
|
|
|
513 |
*
|
|
|
514 |
* It is a request call that is completed by invoking
|
|
|
515 |
* CCtsyDispatcherCallback::CallbackPhoneGetCurrentSystemNetworkModesComp().
|
|
|
516 |
*
|
|
|
517 |
* Implementation of this interface should return the current system network mode.
|
|
|
518 |
*
|
|
|
519 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
520 |
* failure.
|
|
|
521 |
*/
|
|
|
522 |
virtual TInt HandleGetCurrentSystemNetworkModesReqL() = 0;
|
|
|
523 |
|
|
|
524 |
}; // class MLtsyDispatchPhoneGetCurrentSystemNetworkModes
|
|
|
525 |
|
|
|
526 |
class MLtsyDispatchPhoneResetNetServer : public MLtsyDispatchInterface
|
|
|
527 |
{
|
|
|
528 |
public:
|
|
|
529 |
|
|
|
530 |
static const TInt KLtsyDispatchPhoneResetNetServerApiId = KDispatchPhoneFuncUnitId + 22;
|
|
|
531 |
|
|
|
532 |
/**
|
|
|
533 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomResetNetServerIPC
|
|
|
534 |
* request from the CTSY.
|
|
|
535 |
*
|
|
|
536 |
* It is a request call that is completed by invoking
|
|
|
537 |
* CCtsyDispatcherCallback::CallbackPhoneResetNetServerComp().
|
|
|
538 |
*
|
|
|
539 |
* Implementation of this interface should reset the net server.
|
|
|
540 |
*
|
|
|
541 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
542 |
* failure.
|
|
|
543 |
*/
|
|
|
544 |
virtual TInt HandleResetNetServerReqL() = 0;
|
|
|
545 |
|
|
|
546 |
}; // class MLtsyDispatchPhoneResetNetServer
|
|
|
547 |
|
|
|
548 |
class MLtsyDispatchPhoneSetAlwaysOnMode : public MLtsyDispatchInterface
|
|
|
549 |
{
|
|
|
550 |
public:
|
|
|
551 |
|
|
|
552 |
static const TInt KLtsyDispatchPhoneSetAlwaysOnModeApiId = KDispatchPhoneFuncUnitId + 23;
|
|
|
553 |
|
|
|
554 |
/**
|
|
|
555 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomSetAlwaysOnMode
|
|
|
556 |
* request from the CTSY.
|
|
|
557 |
*
|
|
|
558 |
* It is a request call that is completed by invoking
|
|
|
559 |
* CCtsyDispatcherCallback::CallbackPhoneSetAlwaysOnModeComp().
|
|
|
560 |
*
|
|
|
561 |
* Implementation of this interface should set the "always on" mode.
|
|
|
562 |
*
|
|
|
563 |
* @param aMode The new "always on" mode to set, can be
|
|
|
564 |
* RMmCustomAPI::EAlwaysModeVPLMN for VPLMN (Visited Public Land Mobile Network) always on,
|
|
|
565 |
* RMmCustomAPI::EAlwaysModeHPLMN for HPLMN (Home Public Land Mobile Network) always on,
|
|
|
566 |
* RMmCustomAPI::EAlwaysModeBoth for VPLMN and HPLMN always on,
|
|
|
567 |
* RMmCustomAPI::EAlwaysModeNeither for neither VPLMN nor HPLMN always on.
|
|
|
568 |
*
|
|
|
569 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
570 |
* failure.
|
|
|
571 |
*/
|
|
|
572 |
virtual TInt HandleSetAlwaysOnModeReqL(RMmCustomAPI::TSetAlwaysOnMode aMode) = 0;
|
|
|
573 |
|
|
|
574 |
}; // class MLtsyDispatchPhoneSetAlwaysOnMode
|
|
|
575 |
|
|
|
576 |
class MLtsyDispatchPhoneSetDriveMode : public MLtsyDispatchInterface
|
|
|
577 |
{
|
|
|
578 |
public:
|
|
|
579 |
|
|
|
580 |
static const TInt KLtsyDispatchPhoneSetDriveModeApiId = KDispatchPhoneFuncUnitId + 24;
|
|
|
581 |
|
|
|
582 |
/**
|
|
|
583 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomSetDriveModeIPC
|
|
|
584 |
* request from the CTSY.
|
|
|
585 |
*
|
|
|
586 |
* It is a request call that is completed by invoking
|
|
|
587 |
* CCtsyDispatcherCallback::CallbackPhoneSetDriveModeComp().
|
|
|
588 |
*
|
|
|
589 |
* Implementation of this interface should set the drive mode status.
|
|
|
590 |
*
|
|
|
591 |
* @param aMode The new mode to set (RMmCustomAPI::EDeactivateDriveMode for deactivate drive mode
|
|
|
592 |
* or RMmCustomAPI::EActivateDriveMode to activate drive mode).
|
|
|
593 |
*
|
|
|
594 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
595 |
* failure.
|
|
|
596 |
*/
|
|
|
597 |
virtual TInt HandleSetDriveModeReqL(RMmCustomAPI::TSetDriveMode aMode) = 0;
|
|
|
598 |
|
|
|
599 |
}; // class MLtsyDispatchPhoneSetDriveMode
|
|
|
600 |
|
|
|
601 |
class MLtsyDispatchPhoneGetHspaStatus : public MLtsyDispatchInterface
|
|
|
602 |
{
|
|
|
603 |
public:
|
|
|
604 |
|
|
|
605 |
static const TInt KLtsyDispatchPhoneGetHspaStatusApiId = KDispatchPhoneFuncUnitId + 25;
|
|
|
606 |
|
|
|
607 |
/**
|
|
|
608 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomReadHSxPAStatusIPC
|
|
|
609 |
* request from the CTSY.
|
|
|
610 |
*
|
|
|
611 |
* It is a request call that is completed by invoking
|
|
|
612 |
* CCtsyDispatcherCallback::CallbackPhoneGetHspaStatusComp().
|
|
|
613 |
*
|
|
|
614 |
* Implementation of this interface should return the phone high speed channel status.
|
|
|
615 |
*
|
|
|
616 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
617 |
* failure.
|
|
|
618 |
*/
|
|
|
619 |
virtual TInt HandleGetHspaStatusReqL() = 0;
|
|
|
620 |
|
|
|
621 |
}; // class MLtsyDispatchPhoneGetHspaStatus
|
|
|
622 |
|
|
|
623 |
class MLtsyDispatchPhoneSetHspaStatus : public MLtsyDispatchInterface
|
|
|
624 |
{
|
|
|
625 |
public:
|
|
|
626 |
|
|
|
627 |
static const TInt KLtsyDispatchPhoneSetHspaStatusApiId = KDispatchPhoneFuncUnitId + 26;
|
|
|
628 |
|
|
|
629 |
/**
|
|
|
630 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomWriteHSxPAStatusIPC
|
|
|
631 |
* request from the CTSY.
|
|
|
632 |
*
|
|
|
633 |
* It is a request call that is completed by invoking
|
|
|
634 |
* CCtsyDispatcherCallback::CallbackPhoneSetHspaStatusComp().
|
|
|
635 |
*
|
|
|
636 |
* Implementation of this interface should set the phone high speed channel status.
|
|
|
637 |
*
|
|
|
638 |
* @param aStatus The new HSxPA status (enabled or disabled).
|
|
|
639 |
*
|
|
|
640 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
641 |
* failure.
|
|
|
642 |
*/
|
|
|
643 |
virtual TInt HandleSetHspaStatusReqL(RMmCustomAPI::THSxPAStatus aStatus) = 0;
|
|
|
644 |
|
|
|
645 |
}; // class MLtsyDispatchPhoneSetHspaStatus
|
|
|
646 |
|
|
|
647 |
class MLtsyDispatchPhoneGetNetworkProviderName : public MLtsyDispatchInterface
|
|
|
648 |
{
|
|
|
649 |
public:
|
|
|
650 |
|
|
|
651 |
static const TInt KLtsyDispatchPhoneGetNetworkProviderNameApiId = KDispatchPhoneFuncUnitId + 27;
|
|
|
652 |
|
|
|
653 |
/**
|
|
|
654 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomGetNetworkProviderNameIPC
|
|
|
655 |
* request from the CTSY.
|
|
|
656 |
*
|
|
|
657 |
* It is a request call that is completed by invoking
|
|
|
658 |
* CCtsyDispatcherCallback::CallbackPhoneGetNetworkProviderNameComp().
|
|
|
659 |
*
|
|
|
660 |
* Implementation of this interface should return the name of the current network provider.
|
|
|
661 |
*
|
|
|
662 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
663 |
* failure.
|
|
|
664 |
*/
|
|
|
665 |
virtual TInt HandleGetNetworkProviderNameReqL() = 0;
|
|
|
666 |
|
|
|
667 |
}; // class MLtsyDispatchPhoneGetNetworkProviderName
|
|
|
668 |
|
|
|
669 |
class MLtsyDispatchPhoneGetOperatorName : public MLtsyDispatchInterface
|
|
|
670 |
{
|
|
|
671 |
public:
|
|
|
672 |
|
|
|
673 |
static const TInt KLtsyDispatchPhoneGetOperatorNameApiId = KDispatchPhoneFuncUnitId + 28;
|
|
|
674 |
|
|
|
675 |
/**
|
|
|
676 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomGetOperatorNameIPC
|
|
|
677 |
* request from the CTSY.
|
|
|
678 |
*
|
|
|
679 |
* It is a request call that is completed by invoking
|
|
|
680 |
* CCtsyDispatcherCallback::CallbackPhoneGetOperatorNameComp().
|
|
|
681 |
*
|
|
|
682 |
* Implementation of this interface should return the name of the current operator.
|
|
|
683 |
*
|
|
|
684 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
685 |
* failure.
|
|
|
686 |
*/
|
|
|
687 |
virtual TInt HandleGetOperatorNameReqL() = 0;
|
|
|
688 |
|
|
|
689 |
}; // class MLtsyDispatchPhoneGetOperatorName
|
|
|
690 |
|
|
|
691 |
class MLtsyDispatchPhoneGetCellInfo : public MLtsyDispatchInterface
|
|
|
692 |
{
|
|
|
693 |
public:
|
|
|
694 |
|
|
|
695 |
static const TInt KLtsyDispatchPhoneGetCellInfoApiId = KDispatchPhoneFuncUnitId + 29;
|
|
|
696 |
|
|
|
697 |
/**
|
|
|
698 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomGetCellInfoIPC
|
|
|
699 |
* request from the CTSY.
|
|
|
700 |
*
|
|
|
701 |
* It is a request call that is completed by invoking one of the
|
|
|
702 |
* CCtsyDispatcherCallback::CallbackPhoneGetCellInfoComp().
|
|
|
703 |
*
|
|
|
704 |
* Implementation of this interface should return the cell information.
|
|
|
705 |
*
|
|
|
706 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
707 |
* failure.
|
|
|
708 |
*/
|
|
|
709 |
virtual TInt HandleGetCellInfoReqL() = 0;
|
|
|
710 |
|
|
|
711 |
}; // class MLtsyDispatchPhoneGetCellInfo
|
|
|
712 |
|
|
|
713 |
class MLtsyDispatchPhoneRegisterCellInfoChangeNotification : public MLtsyDispatchInterface
|
|
|
714 |
{
|
|
|
715 |
public:
|
|
|
716 |
|
|
|
717 |
static const TInt KLtsyDispatchPhoneRegisterCellInfoChangeNotificationApiId = KDispatchPhoneFuncUnitId + 30;
|
|
|
718 |
|
|
|
719 |
/**
|
|
|
720 |
* The CTSY Dispatcher shall invoke this function on receiving the ECtsyPhoneCellInfoIndReq
|
|
|
721 |
* request from the CTSY.
|
|
|
722 |
*
|
|
|
723 |
* It is a request call that is completed by invoking CCtsyDispatcherCallback::CallbackPhoneRegisterCellInfoChangeNotificationComp()
|
|
|
724 |
*
|
|
|
725 |
* Implementation of this interface should inform the LTSY that the CTSY wishes to register for
|
|
|
726 |
* notifications when the Cell Information has changed.
|
|
|
727 |
*
|
|
|
728 |
* These notifications can be provided via the LTSY by invoking
|
|
|
729 |
* CCtsyDispatcherCallback::CallbackPhoneNotifyCellInfoChangeInd()
|
|
|
730 |
*
|
|
|
731 |
* This call from the CTSY only occurs once on the first client side call of RMobilePhone::NotifyCellInfoChange().
|
|
|
732 |
*
|
|
|
733 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
734 |
* failure.
|
|
|
735 |
*
|
|
|
736 |
* @see RMobilePhone::NotifyCellInfoChange()
|
|
|
737 |
*/
|
|
|
738 |
virtual TInt HandleRegisterCellInfoChangeNotificationReqL() = 0;
|
|
|
739 |
|
|
|
740 |
}; // class MLtsyDispatchPhoneRegisterCellInfoChangeNotification
|
|
|
741 |
|
|
|
742 |
class MLtsyDispatchPhoneGetPhoneCellInfo : public MLtsyDispatchInterface
|
|
|
743 |
{
|
|
|
744 |
public:
|
|
|
745 |
|
|
|
746 |
static const TInt KLtsyDispatchPhoneGetPhoneCellInfoApiId = KDispatchPhoneFuncUnitId + 31;
|
|
|
747 |
|
|
|
748 |
/**
|
|
|
749 |
* The CTSY Dispatcher shall invoke this function on receiving the ECtsyPhoneCellInfoReq
|
|
|
750 |
* request from the CTSY.
|
|
|
751 |
*
|
|
|
752 |
* It is a request call that is completed by invoking CCtsyDispatcherCallback::CallbackPhoneGetPhoneCellInfoComp()
|
|
|
753 |
*
|
|
|
754 |
* Implementation of this interface should retrieve the current Cell Information.
|
|
|
755 |
*
|
|
|
756 |
* Cell information is cached within the CTSY thus this handler is only invoked if the
|
|
|
757 |
* CTSY does not currently hold valid cell information. E.g. the CTSY's cache has never
|
|
|
758 |
* been populated as GetPhoneCellInfo Request-Complete has never been exercised, or never
|
|
|
759 |
* been populated via CallbackPhoneNotifyCellInfoChangeInd(), or CallbackPhoneNotifyCellInfoChangeInd()
|
|
|
760 |
* is completed with an error thus marking the cache as dirty.
|
|
|
761 |
*
|
|
|
762 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
763 |
* failure.
|
|
|
764 |
*
|
|
|
765 |
* @see RMobilePhone::GetCellInfo()
|
|
|
766 |
*/
|
|
|
767 |
virtual TInt HandleGetPhoneCellInfoReqL() = 0;
|
|
|
768 |
|
|
|
769 |
}; // class MLtsyDispatchPhoneGetPhoneCellInfo
|
|
|
770 |
|
|
|
771 |
class MLtsyDispatchPhoneGetUsimServiceSupport : public MLtsyDispatchInterface
|
|
|
772 |
{
|
|
|
773 |
public:
|
|
|
774 |
|
|
|
775 |
static const TInt KLtsyDispatchPhoneGetUsimServiceSupportApiId = KDispatchPhoneFuncUnitId + 32;
|
|
|
776 |
|
|
|
777 |
/**
|
|
|
778 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomGetServiceTableSupportbyApplicationIPC
|
|
|
779 |
* request from the CTSY.
|
|
|
780 |
*
|
|
|
781 |
* It is a request call that is completed by invoking CCtsyDispatcherCallback::CallbackPhoneGetUsimServiceSupportComp()
|
|
|
782 |
*
|
|
|
783 |
* Implementation of this interface should retrieve if the application is supported.
|
|
|
784 |
*
|
|
|
785 |
* @param aApplicationNumber The application number to check support for in the USIM.
|
|
|
786 |
*
|
|
|
787 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
788 |
* failure.
|
|
|
789 |
*
|
|
|
790 |
* @see RMmCustomAPI::GetUSIMServiceSupport()
|
|
|
791 |
*/
|
|
|
792 |
virtual TInt HandleGetGetUsimServiceSupportReqL(TInt aApplicationNumber) = 0;
|
|
|
793 |
|
|
|
794 |
}; // class MLtsyDispatchPhoneGetUsimServiceSupport
|
|
|
795 |
|
|
|
796 |
class MLtsyDispatchPhoneGetCurrentActiveUsimApplication : public MLtsyDispatchInterface
|
|
|
797 |
{
|
|
|
798 |
public:
|
|
|
799 |
|
|
|
800 |
static const TInt KLtsyDispatchPhoneGetCurrentActiveUsimApplicationApiId = KDispatchPhoneFuncUnitId + 33;
|
|
|
801 |
|
|
|
802 |
/**
|
|
|
803 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneGetCurrentActiveUSimApplication
|
|
|
804 |
* request from the CTSY.
|
|
|
805 |
*
|
|
|
806 |
* It is a request call that is completed by invoking CCtsyDispatcherCallback::CallbackPhoneGetCurrentActiveUsimApplicationComp()
|
|
|
807 |
*
|
|
|
808 |
* Implementation of this interface should retrieve the AID of the current active USIM application.
|
|
|
809 |
* (There is only ever at most one USIM application active at a time)
|
|
|
810 |
*
|
|
|
811 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
812 |
* failure.
|
|
|
813 |
*
|
|
|
814 |
* @see RMmCustomAPI::GetCurrentActiveUSimApplication()
|
|
|
815 |
*/
|
|
|
816 |
virtual TInt HandleGetCurrentActiveUsimApplicationReqL() = 0;
|
|
|
817 |
|
|
|
818 |
}; // class MLtsyDispatchPhoneGetCurrentActiveUsimApplication
|
|
|
819 |
|
|
|
820 |
class MLtsyDispatchPhoneTerminateAllCalls : public MLtsyDispatchInterface
|
|
|
821 |
{
|
|
|
822 |
public:
|
|
|
823 |
|
|
|
824 |
static const TInt KLtsyDispatchPhoneTerminateAllCallsApiId = KDispatchPhoneFuncUnitId + 34;
|
|
|
825 |
|
|
|
826 |
/**
|
|
|
827 |
* The CTSY Dispatcher shall invoke this function on receiving the ECtsyPhoneTerminateAllCallsReq
|
|
|
828 |
* request from the CTSY.
|
|
|
829 |
*
|
|
|
830 |
* It is a request call that is completed by invoking CCtsyDispatcherCallback::CallbackPhoneTerminateAllCallsComp()
|
|
|
831 |
*
|
|
|
832 |
* Implementation of this interface should terminate all active calls.
|
|
|
833 |
*
|
|
|
834 |
* @param aCallId if a call is in the connecting state then this parameter will contain the id of that call, else 0.
|
|
|
835 |
*
|
|
|
836 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
837 |
* failure.
|
|
|
838 |
*
|
|
|
839 |
* @see RMobilePhone::TerminateAllCalls()
|
|
|
840 |
*/
|
|
|
841 |
virtual TInt HandleTerminateAllCallsReqL(TInt aCallId) = 0;
|
|
|
842 |
|
|
|
843 |
}; // class MLtsyDispatchPhoneTerminateAllCalls
|
|
|
844 |
|
|
|
845 |
class MLtsyDispatchPhoneGetSystemNetworkBand : public MLtsyDispatchInterface
|
|
|
846 |
{
|
|
|
847 |
public:
|
|
|
848 |
|
|
|
849 |
static const TInt KLtsyDispatchPhoneGetSystemNetworkBandApiId = KDispatchPhoneFuncUnitId + 35;
|
|
|
850 |
|
|
|
851 |
/**
|
|
|
852 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomGetBandSelectionIPC
|
|
|
853 |
* request from the CTSY.
|
|
|
854 |
*
|
|
|
855 |
* It is a request call that is completed by invoking CCtsyDispatcherCallback::CallbackPhoneGetSystemNetworkBandComp()
|
|
|
856 |
*
|
|
|
857 |
* Implementation of this interface should return the current band and network mode.
|
|
|
858 |
*
|
|
|
859 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
860 |
* failure.
|
|
|
861 |
*
|
|
|
862 |
* @see RMmCustomApi::GetSystemNetworkBand()
|
|
|
863 |
*/
|
|
|
864 |
virtual TInt HandleGetSystemNetworkBandReqL() = 0;
|
|
|
865 |
|
|
|
866 |
}; // class MLtsyDispatchPhoneGetSystemNetworkBand
|
|
|
867 |
|
|
|
868 |
class MLtsyDispatchPhoneSetSystemNetworkBand : public MLtsyDispatchInterface
|
|
|
869 |
{
|
|
|
870 |
public:
|
|
|
871 |
|
|
|
872 |
static const TInt KLtsyDispatchPhoneSetSystemNetworkBandApiId = KDispatchPhoneFuncUnitId + 36;
|
|
|
873 |
|
|
|
874 |
/**
|
|
|
875 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomSetBandSelectionIPC
|
|
|
876 |
* request from the CTSY.
|
|
|
877 |
*
|
|
|
878 |
* It is a request call that is completed by invoking CCtsyDispatcherCallback::CallbackPhoneSetSystemNetworkBandComp()
|
|
|
879 |
*
|
|
|
880 |
* Implementation of this interface should set the current band and network mode.
|
|
|
881 |
*
|
|
|
882 |
* @param aBand the desired network band.
|
|
|
883 |
* @param aMode the desired network mode.
|
|
|
884 |
*
|
|
|
885 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
|
886 |
* failure.
|
|
|
887 |
*
|
|
|
888 |
* @see RMmCustomApi::SetSystemNetworkBand()
|
|
|
889 |
*/
|
|
|
890 |
virtual TInt HandleSetSystemNetworkBandReqL(RMmCustomAPI::TBandSelection aBand, RMmCustomAPI::TNetworkModeCaps aMode) = 0;
|
|
|
891 |
|
|
|
892 |
}; // class MLtsyDispatchPhoneSetSystemNetworkBand
|
|
|
893 |
|
|
|
894 |
#endif /*MLTSYDISPATCHPHONEINTERFACE_H_*/
|