1 /* |
|
2 * Copyright (c) 2008-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: Message handler |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // ----------------------------------------------------------------------------- |
|
20 // Gets basic service group value. |
|
21 // ----------------------------------------------------------------------------- |
|
22 // |
|
23 inline RMobilePhone::TMobileService CPEMessageHandler::BasicServiceGroup() |
|
24 { |
|
25 return iBasicServiceGroup; |
|
26 } |
|
27 |
|
28 // ----------------------------------------------------------------------------- |
|
29 // Handles swap message from the phone application |
|
30 // ----------------------------------------------------------------------------- |
|
31 // |
|
32 inline TInt CPEMessageHandler::HandleSwapCalls() |
|
33 { |
|
34 return iCallHandling.SwapCalls(); |
|
35 } |
|
36 |
|
37 // ----------------------------------------------------------------------------- |
|
38 // Handles transfer message from phone application. |
|
39 // ----------------------------------------------------------------------------- |
|
40 // |
|
41 inline TInt CPEMessageHandler::HandleTransferCalls() |
|
42 { |
|
43 return iCallHandling.TransferCalls(); |
|
44 } |
|
45 |
|
46 // ----------------------------------------------------------------------------- |
|
47 // Sets basic service group for future using. |
|
48 // ----------------------------------------------------------------------------- |
|
49 // |
|
50 inline void CPEMessageHandler::SetBasicServiceGroup( |
|
51 const RMobilePhone::TMobileService& aServiceGroup ) |
|
52 { |
|
53 iBasicServiceGroup = aServiceGroup; |
|
54 } |
|
55 |
|
56 // ----------------------------------------------------------------------------- |
|
57 // Sets gsm parser error code for future using. |
|
58 // ----------------------------------------------------------------------------- |
|
59 // |
|
60 inline void CPEMessageHandler::SetGsmParserErrorCode( |
|
61 TInt aGsmParserErrorCode) |
|
62 { |
|
63 iGsmParserErrorCode = aGsmParserErrorCode; |
|
64 } |
|