voipplugins/voipadapters/dmvoipadapter/src/cdmvoipspsettings.cpp
branchRCL_3
changeset 22 d38647835c2e
parent 0 a4daefaec16c
equal deleted inserted replaced
21:f742655b05bf 22:d38647835c2e
       
     1 /*
       
     2 * Copyright (c) 2008-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:  SPSettings class implementation for dmvoipadapter
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "cdmvoipspsettings.h"
       
    20 #include "smldmvoipdebug.h"
       
    21 
       
    22 // ---------------------------------------------------------------------------
       
    23 // CNSmlDmVoIPAdapter::NewL
       
    24 // ---------------------------------------------------------------------------
       
    25 //
       
    26 CDMVoIPSPSettings* CDMVoIPSPSettings::NewL()
       
    27     {
       
    28     CDMVoIPSPSettings* self = NewLC();
       
    29     CleanupStack::Pop( self );
       
    30     return self;
       
    31     }
       
    32 
       
    33 // ---------------------------------------------------------------------------
       
    34 // CNSmlDmVoIPAdapter::NewLC
       
    35 // ---------------------------------------------------------------------------
       
    36 //
       
    37 CDMVoIPSPSettings* CDMVoIPSPSettings::NewLC()
       
    38     {
       
    39     CDMVoIPSPSettings* self = new (ELeave) CDMVoIPSPSettings();
       
    40     CleanupStack::PushL( self );
       
    41     self->ConstructL();
       
    42     return self;
       
    43     }
       
    44 
       
    45 // ---------------------------------------------------------------------------
       
    46 // CNSmlDmVoIPAdapter::CDMVoIPSPSettings
       
    47 // ---------------------------------------------------------------------------
       
    48 //
       
    49 CDMVoIPSPSettings::CDMVoIPSPSettings()
       
    50     {
       
    51     }
       
    52 
       
    53 // ---------------------------------------------------------------------------
       
    54 // CNSmlDmVoIPAdapter::~CDMVoIPSPSettings
       
    55 // ---------------------------------------------------------------------------
       
    56 //
       
    57 CDMVoIPSPSettings::~CDMVoIPSPSettings()
       
    58     {
       
    59     DBG_PRINT( "CDMVoIPSPSettings::~CDMVoIPSPSettings - begin" );
       
    60     delete iVmbxMwiUri;
       
    61     delete iVmbxListenUri;
       
    62     delete iServiceProviderBookmark;
       
    63     delete iBrandingDataUri;
       
    64     DBG_PRINT( "CDMVoIPSPSettings::~CDMVoIPSPSettings - end" );
       
    65     }
       
    66 
       
    67 // ---------------------------------------------------------------------------
       
    68 // CNSmlDmVoIPAdapter::ConstructL
       
    69 // ---------------------------------------------------------------------------
       
    70 //
       
    71 void CDMVoIPSPSettings::ConstructL()
       
    72     {
       
    73     DBG_PRINT( "CDMVoIPSPSettings::ConstructL - begin" );
       
    74     iVmbxMwiUri              = HBufC::NewL( 0 );
       
    75     iVmbxListenUri           = HBufC::NewL( 0 );
       
    76     iServiceProviderBookmark = HBufC::NewL( 0 );
       
    77     iBrandingDataUri         = HBufC::NewL( 0 );
       
    78     iReSubscribeInterval     = KErrNotFound;
       
    79     iAutoAcceptBuddy         = KErrNotFound;
       
    80     iAutoEnableService       = KErrNotFound;
       
    81     iImEnabled               = KErrNotFound;
       
    82     DBG_PRINT( "CDMVoIPSPSettings::ConstructL - end" );
       
    83     }
       
    84 
       
    85 // End of file.