1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
125 ) = 0; |
126 ) = 0; |
126 |
127 |
127 }; // class MLtsyDispatchSmsSendSatSms |
128 }; // class MLtsyDispatchSmsSendSatSms |
128 |
129 |
129 |
130 |
130 |
|
131 class MLtsyDispatchSmsGetSmsStoreInfo : public MLtsyDispatchInterface |
|
132 { |
|
133 public: |
|
134 |
|
135 static const TInt KLtsyDispatchSmsGetSmsStoreInfoApiId = KDispatchSmsFuncUnitId + 2; |
|
136 |
|
137 /** |
|
138 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingGetMessageStoreInfo |
|
139 * request from the CTSY. |
|
140 * |
|
141 * It is a request call that is completed by invoking |
|
142 * CCtsyDispatcherCallback::CallbackSmsGetSmsStoreInfoComp() |
|
143 * |
|
144 * Implementation of this interface should retrieve the current Sms store information. |
|
145 * |
|
146 * |
|
147 * @return KErrNone on success, otherwise another error code indicating the |
|
148 * failure. |
|
149 * |
|
150 * @see RMobileSmsMessaging::GetMessageStoreInfo |
|
151 */ |
|
152 virtual TInt HandleGetSmsStoreInfoReqL() = 0; |
|
153 |
|
154 }; // class MLtsyDispatchSmsGetSmsStoreInfo |
|
155 |
|
156 |
|
157 |
|
158 class MLtsyDispatchSmsGetSmspList : public MLtsyDispatchInterface |
|
159 { |
|
160 public: |
|
161 |
|
162 static const TInt KLtsyDispatchSmsGetSmspListApiId = KDispatchSmsFuncUnitId + 3; |
|
163 |
|
164 /** |
|
165 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingGetSmspListPhase1 |
|
166 * request from the CTSY. |
|
167 * |
|
168 * It is a request call that is completed by invoking |
|
169 * CCtsyDispatcherCallback::CallbackSmsGetSmspListComp() |
|
170 * |
|
171 * Implementation of this interface should request to read the SMS parameter list from the SIM's SMSP store. |
|
172 * |
|
173 * |
|
174 * @return KErrNone on success, otherwise another error code indicating the |
|
175 * failure. |
|
176 * |
|
177 * @see CMobilePhoneSmspList() |
|
178 * @see CRetrieveMobilePhoneSmspList() |
|
179 */ |
|
180 virtual TInt HandleGetSmspListReqL() = 0; |
|
181 |
|
182 }; // class MLtsyDispatchSmsGetSmspList |
|
183 |
|
184 |
|
185 |
|
186 class MLtsyDispatchSmsNackSmsStored : public MLtsyDispatchInterface |
131 class MLtsyDispatchSmsNackSmsStored : public MLtsyDispatchInterface |
187 { |
132 { |
188 public: |
133 public: |
189 |
134 |
190 static const TInt KLtsyDispatchSmsNackSmsStoredApiId = KDispatchSmsFuncUnitId + 4; |
135 static const TInt KLtsyDispatchSmsNackSmsStoredApiId = KDispatchSmsFuncUnitId + 2; |
191 |
136 |
192 /** |
137 /** |
193 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingNackSmsStored |
138 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingNackSmsStored |
194 * request from the CTSY. |
139 * request from the CTSY. |
195 * |
140 * |
346 |
291 |
347 class MLtsyDispatchSmsSendSmsMessageNoFdnCheck : public MLtsyDispatchInterface |
292 class MLtsyDispatchSmsSendSmsMessageNoFdnCheck : public MLtsyDispatchInterface |
348 { |
293 { |
349 public: |
294 public: |
350 |
295 |
351 static const TInt KLtsyDispatchSmsSendSmsMessageNoFdnCheckApiId = KDispatchSmsFuncUnitId + 8; |
296 static const TInt KLtsyDispatchSmsSendSmsMessageNoFdnCheckApiId = KDispatchSmsFuncUnitId + 6; |
352 |
297 |
353 /** |
298 /** |
354 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingSendMessageNoFdnCheck |
299 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingSendMessageNoFdnCheck |
355 * request from the CTSY. |
300 * request from the CTSY. |
356 * |
301 * |
404 virtual TInt HandleSetMoSmsBearerReqL(RMobileSmsMessaging::TMobileSmsBearer aBearer) = 0; |
349 virtual TInt HandleSetMoSmsBearerReqL(RMobileSmsMessaging::TMobileSmsBearer aBearer) = 0; |
405 |
350 |
406 }; // class MLtsyDispatchSmsSetMoSmsBearer |
351 }; // class MLtsyDispatchSmsSetMoSmsBearer |
407 |
352 |
408 |
353 |
409 |
354 class MLtsyDispatchSmsRoutingActivate : public MLtsyDispatchInterface |
410 class MLtsyDispatchSmsStoreSmspListEntry : public MLtsyDispatchInterface |
355 { |
411 { |
356 public: |
412 public: |
357 |
413 |
358 static const TInt KLtsyDispatchSmsRoutingActivateApiId = KDispatchSmsFuncUnitId + 8; |
414 static const TInt KLtsyDispatchSmsStoreSmspListEntryApiId = KDispatchSmsFuncUnitId + 10; |
359 |
415 |
360 /** |
416 /** |
361 * The CTSY Dispatcher shall invoke this function on receiving the EMmTsyActivateSmsRouting |
417 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingStoreSmspList |
362 * request from the CTSY. |
418 * request from the CTSY. |
363 * |
419 * |
364 * It is a request call that is completed by invoking |
420 * It is a request call that is completed by invoking |
365 * CCtsyDispatcherCallback::CallbackSmsRoutingActivateComp() |
421 * CCtsyDispatcherCallback::CallbackSmsStoreSmspListComp() |
366 * |
422 * |
367 * Implementation of this interface should allow client to set SMS bearer |
423 * Implementation of this interface should handle the request to store a SMSP entry |
368 * |
424 * in the SIM's SMSP file |
369 * |
425 * |
370 * |
426 * @param aSmspEntry Defines a set of SMS parameters |
371 * @return KErrNone on success, otherwise another error code indicating the |
427 * |
372 * failure. |
428 * @return KErrNone on success, otherwise another error code indicating the |
373 */ |
429 * failure. |
374 virtual TInt HandleSmsRoutingActivateReqL() = 0; |
430 */ |
375 |
431 virtual TInt HandleStoreSmspListEntryReqL(const RMobileSmsMessaging::TMobileSmspEntryV1& aSmspEntry) = 0; |
376 }; // class MLtsyDispatchSmsRoutingActivate |
432 |
377 |
433 }; // class MLtsyDispatchSmsStoreSmspList |
378 |
434 |
379 class MLtsyDispatchSmsRoutingDeactivate : public MLtsyDispatchInterface |
|
380 { |
|
381 public: |
|
382 |
|
383 static const TInt KLtsyDispatchSmsRoutingDeactivateApiId = KDispatchSmsFuncUnitId + 9; |
|
384 |
|
385 /** |
|
386 * The CTSY Dispatcher shall invoke this function on receiving the EMmTsyDeactivateSmsRouting? |
|
387 * request from the CTSY. |
|
388 * |
|
389 * It is a request call that is completed by invoking |
|
390 * CCtsyDispatcherCallback::CallbackSmsRoutingDeactivateComp() |
|
391 * |
|
392 * Implementation of this interface should allow client to set SMS bearer |
|
393 * |
|
394 * |
|
395 * |
|
396 * @return KErrNone on success, otherwise another error code indicating the |
|
397 * failure. |
|
398 */ |
|
399 virtual TInt HandleSmsRoutingDeactivateReqL() = 0; |
|
400 |
|
401 }; // class MLtsyDispatchSmsRoutingDeactivate |
435 |
402 |
436 #endif /*MLTSYDISPATCHSMSINTERFACE_H_*/ |
403 #endif /*MLTSYDISPATCHSMSINTERFACE_H_*/ |