|
1 /* |
|
2 * Copyright (c) 2006-2009 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: CCustomPrefsData stores the Extended Connection Preferences |
|
15 * |
|
16 */ |
|
17 |
|
18 // INCLUDE FILES |
|
19 #include <eikenv.h> |
|
20 #include "CustomPrefsData.h" |
|
21 #include "extendedconnpref.h" |
|
22 |
|
23 |
|
24 // ================= MEMBER FUNCTIONS ========================================= |
|
25 // ---------------------------------------------------------------------------- |
|
26 // CCustomPrefsData::NewL() |
|
27 // Two-phase constructor |
|
28 // ---------------------------------------------------------------------------- |
|
29 // |
|
30 CCustomPrefsData* CCustomPrefsData::NewL() |
|
31 { |
|
32 CCustomPrefsData* data = new(ELeave) CCustomPrefsData; |
|
33 CleanupStack::PushL(data); |
|
34 data->ConstructL(); |
|
35 CleanupStack::Pop(data); // data |
|
36 return data; |
|
37 } |
|
38 |
|
39 // ---------------------------------------------------------------------------- |
|
40 // CCustomPrefsData::~CCustomPrefsData() |
|
41 // Destructor |
|
42 // ---------------------------------------------------------------------------- |
|
43 // |
|
44 CCustomPrefsData::~CCustomPrefsData() |
|
45 { |
|
46 } |
|
47 |
|
48 // ---------------------------------------------------------------------------- |
|
49 // CCustomPrefsData::CCustomPrefsData() |
|
50 // Constructor |
|
51 // ---------------------------------------------------------------------------- |
|
52 // |
|
53 CCustomPrefsData::CCustomPrefsData() : |
|
54 iSnapPurpose( CMManager::ESnapPurposeUnknown ), |
|
55 iSnapId( 0 ), |
|
56 iIapId( 0 ), |
|
57 iBearerSet( TExtendedConnPref::EExtendedConnBearerUnknown ), |
|
58 iNoteBehaviour( TExtendedConnPref::ENoteBehaviourDefault ), |
|
59 iDisconnectDialog( ETrue ), |
|
60 iConnSelectionDialog( EFalse ), |
|
61 iForcedRoaming( ETrue ) |
|
62 { |
|
63 } |
|
64 |
|
65 // ---------------------------------------------------------------------------- |
|
66 // CCustomPrefsData::CCustomPrefsData() |
|
67 // Symbian default constructor |
|
68 // ---------------------------------------------------------------------------- |
|
69 // |
|
70 void CCustomPrefsData::ConstructL() |
|
71 { |
|
72 } |
|
73 |
|
74 // End of File |