diff -r 7b872347d83b -r 6d0b9f605b61 richcallsettingsengine/rcse2/src/stubs/s_crcsesccpentry.cpp --- a/richcallsettingsengine/rcse2/src/stubs/s_crcsesccpentry.cpp Tue Feb 02 00:05:57 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,97 +0,0 @@ -/* -* Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: SCCP Setting entry, which is stored to db -* -*/ - - - -// INCLUDE FILES -#include "crcsesccpentry.h" -#include "rcsedefaults.h" - - -// ============================ MEMBER FUNCTIONS =============================== - -// ----------------------------------------------------------------------------- -// CRCSESCCPEntry::NewL -// Two-phased constructor. -// ----------------------------------------------------------------------------- -// -EXPORT_C CRCSESCCPEntry* CRCSESCCPEntry::NewL() - { - CRCSESCCPEntry* self = NewLC(); - CleanupStack::Pop( self ); - return self; - } - -// ----------------------------------------------------------------------------- -// CRCSESCCPEntry::NewLC -// Two-phased constructor. -// ----------------------------------------------------------------------------- -// -EXPORT_C CRCSESCCPEntry* CRCSESCCPEntry::NewLC() - { - CRCSESCCPEntry* self = new (ELeave) CRCSESCCPEntry(); - CleanupStack::PushL( self ); - self->ResetDefaultValues(); - return self; - } - -// ----------------------------------------------------------------------------- -// CRCSESCCPEntry::CRCSESCCPEntry -// C++ default constructor can NOT contain any code, that -// might leave. -// ----------------------------------------------------------------------------- -// -CRCSESCCPEntry::CRCSESCCPEntry() - { - } - -// Destructor -EXPORT_C CRCSESCCPEntry::~CRCSESCCPEntry() - { - } - -// ----------------------------------------------------------------------------- -// CRCSESCCPEntry::ResetDefaultValues -// Resets profile entry to default settings. -// (other items were commented in a header). -// ----------------------------------------------------------------------------- -// -void CRCSESCCPEntry::ResetDefaultValues() - { - iSCCPSettingId = 0; - iProfileName = KRCSEDefaultSCCPProfileName; - iVOIPLogin = KRCSEDefaultVOIPLogin; - iAccessPoint = KNotSet; - - // Reset iCallManager. - for ( TInt i = 0; i < KMaxArray; i++ ) - { - iCallManager[ i ] = KNullDesC; - } - - iStackVersion = KRCSEDefaultSCCPStack; - iDHCPTFTPEnabled = KRCSEDefaultDHCPTFTP; - iTFTPServerAddress = KRCSEDefaultTFTPAddress; - iPhoneNumber = KRCSEDefaultSCCPNumber; - iSCCPCertificates = KRCSEDefaultSCCPCertificates; - iMusicServerAdd = KRCSEDefaultMusicServerAdd; - iCFUncondAdd = KRCSEDefaultCFUncondAdd; - iVoiceMailBoxURI = KRCSEDefaultSCCPVoiceMailboxName; - iSCCPIntCallPrefix = KRCSEDefaultSCCPIntCallPrefix; - } - -// End of File