|
1 /* |
|
2 * Copyright (c) 2002-2007 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: Ext Phone Dial Data. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // INCLUDE FILES |
|
21 #include <cphcltdialdata.h> |
|
22 #include "CPhCltExtPhoneDialData.h" // For correct default values |
|
23 |
|
24 // ============================ MEMBER FUNCTIONS =============================== |
|
25 |
|
26 |
|
27 // ----------------------------------------------------------------------------- |
|
28 // CPhCltDialData::CPhCltDialData |
|
29 // C++ default constructor can NOT contain any code, that |
|
30 // might leave. |
|
31 // ----------------------------------------------------------------------------- |
|
32 // |
|
33 CPhCltDialData::CPhCltDialData(): |
|
34 iTelNumber( KNullDesC ), |
|
35 iCallType( EPhCltVoice ), |
|
36 iName( KNullDesC ), |
|
37 iWindowGroup( KPhCltGoToIdle ), |
|
38 iRedial( KPhCltRedialDefault ), |
|
39 iSubAddress( KNullDesC ), |
|
40 iShowNumber( ETrue ), |
|
41 iAllowMatch( KPhCltDefaultAllowMatch ), |
|
42 iSATCall( EFalse ), |
|
43 iEndOtherCalls( EFalse ), |
|
44 iBearer( KNullDesC8 ), |
|
45 iSendKey( EFalse ), |
|
46 iReturnToNumberEntryOnFailure( KPhCltDefaultNumberEntry ), |
|
47 iInitCall ( EFalse ), |
|
48 iFlags( CPhCltExtPhoneDialData::EPhCltCallFlagsDefault ), |
|
49 iServiceId( NULL ) |
|
50 { |
|
51 iRedialMaximumDuration = 0; |
|
52 } |
|
53 |
|
54 |
|
55 // Destructor |
|
56 CPhCltDialData::~CPhCltDialData() |
|
57 { |
|
58 delete iContactLink; |
|
59 iContactLink = NULL; |
|
60 delete iUUI; |
|
61 iUUI = NULL; |
|
62 } |
|
63 |
|
64 void CPhCltDialData::ConstructL() |
|
65 { |
|
66 iContactLink = KNullDesC8().AllocL(); |
|
67 iUUI = KNullDesC().AllocL(); |
|
68 } |
|
69 |
|
70 // End of File |