void CSTPreferences::ConstructL() { #ifdef LOG_TO_FILE iLog = LOGMGR->GetLoggerL(TUid::Uid(SYMTORRENT_ENGINE_UID)); #endif iSTorrents = new (ELeave) CDesCArrayFlat(5); ResetSettingsL(); LoadSettingsL(); }
LOCAL_C void InitL() { CActiveScheduler* scheduler = new (ELeave) CActiveScheduler; CleanupStack::PushL(scheduler); CActiveScheduler::Install( scheduler ); testUtils = CEmailTestUtils::NewLC(test); testUtils->WriteComment(KSmtsTest); testUtils->CleanMessageFolderL(); testUtils->ClearEmailAccountsL(); testUtils->GoClientSideL(); smtpService = testUtils->CreateSmtpServiceL(); ResetSettingsL(ETrue); CleanupStack::PopAndDestroy(testUtils); testUtils = CEmailTestUtils::NewLC(test, ETuGoServerSide); testUtils->InstantiateSmtpServerMtmL(); serverMtm=testUtils->iSmtpServerMtm; testUtils->WriteComment(_L("Smtp server created")); }
// --------------------------------------------------------------------------- // T_SIPAdapter::Setup2L // Deletes all SIP profiles, IAPs and SNAPs from phone to avoid name // conflicts. // --------------------------------------------------------------------------- // void T_SIPAdapter::Setup2L( ) { ResetSettingsL(); }