XDMSettingsUI/src/SettingsData.cpp
branchRCL_3
changeset 18 fbd2e7cec7ef
parent 0 c8caa15ef882
equal deleted inserted replaced
17:2669f8761a99 18:fbd2e7cec7ef
       
     1 /*
       
     2 * Copyright (c) 2005-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:    XDM GS plugin data holding class for XDM setting list
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 // INCLUDE FILES
       
    22 #include "SettingsData.h"
       
    23 
       
    24 // -----------------------------------------------------------------------------
       
    25 // CSettingsData::NewL
       
    26 // -----------------------------------------------------------------------------
       
    27 //
       
    28 CSettingsData *CSettingsData::NewL()
       
    29     {
       
    30     CSettingsData *self = CSettingsData::NewLC();
       
    31     CleanupStack::Pop(self);
       
    32     return self;
       
    33     }
       
    34 
       
    35 // -----------------------------------------------------------------------------
       
    36 // CSettingsData::NewLC()
       
    37 // -----------------------------------------------------------------------------
       
    38 //
       
    39 CSettingsData *CSettingsData::NewLC()
       
    40     {
       
    41     CSettingsData *self = new (ELeave) CSettingsData();
       
    42     CleanupStack::PushL(self);
       
    43 
       
    44     self->ConstructL();
       
    45 
       
    46     return self;
       
    47     }
       
    48 
       
    49 // -----------------------------------------------------------------------------
       
    50 // CSettingsData::~CSettingsData()
       
    51 // -----------------------------------------------------------------------------
       
    52 //
       
    53 CSettingsData::~CSettingsData()
       
    54     {
       
    55     }
       
    56 
       
    57 // -----------------------------------------------------------------------------
       
    58 // CSettingsData::CSettingsData()
       
    59 // -----------------------------------------------------------------------------
       
    60 //
       
    61 CSettingsData::CSettingsData()
       
    62     {
       
    63     // initialise local data
       
    64     Reset();
       
    65     }
       
    66 
       
    67 // -----------------------------------------------------------------------------
       
    68 // CSettingsData::ConstructL() 
       
    69 // -----------------------------------------------------------------------------
       
    70 //
       
    71 void CSettingsData::ConstructL() 
       
    72     {
       
    73     }
       
    74 
       
    75 // -----------------------------------------------------------------------------
       
    76 // CSettingsData::Reset()
       
    77 // -----------------------------------------------------------------------------
       
    78 //
       
    79 void CSettingsData::Reset()
       
    80     {
       
    81     iSettingName = KNullDesC;
       
    82     iSettingNameDisp = KNullDesC;
       
    83     iServerAddress = KNullDesC;
       
    84     iAccessPoint = -1;
       
    85     iAccessPointDes = KNullDesC;
       
    86     iSipURL = KNullDesC;
       
    87     iUserID= KNullDesC;
       
    88     iPassword = KNullDesC;
       
    89     iAccessPointName = KNullDesC;
       
    90     iSettingId = -1;    
       
    91     }
       
    92 
       
    93 //  End of File
       
    94