diff -r 37b610eb7fe3 -r b5894bb67e73 systemswstubs/exampledsy/src/dsysae.cpp --- a/systemswstubs/exampledsy/src/dsysae.cpp Thu Aug 19 09:36:39 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,71 +0,0 @@ -/* -* Copyright (c) 2002 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: -* It implements the class CDosSaeExample. -* -*/ - - -#include -#include "DosEventManager.h" -#include "DsySae.h" -#include "DsyDebug.h" - -// -// --------------------------------------------------------- -// CDosSaeExample::NewL -// --------------------------------------------------------- -// -CDosSaeExample* CDosSaeExample::NewL() -{ - FLOG(_L("CDosSaeExample::NewL()")); - - CDosSaeExample* result = new (ELeave) CDosSaeExample; - - CleanupStack::PushL(result); - result->ConstructL(); - CleanupStack::Pop(); - - return result; -} - - -// -// --------------------------------------------------------- -// CDosSaeExample::ConstructL -// --------------------------------------------------------- -// -void CDosSaeExample::ConstructL() -{ - FLOG(_L("CDosSaeExample::ConstructL()")); -} - - -// -// --------------------------------------------------------- -// CDosSaeExample::StartSaeL -// --------------------------------------------------------- -// -TInt CDosSaeExample::StartSaeL() -{ - FLOG(_L("CDosSaeExample::StartSaeL()")); - - EventManager()->PhonePowerOn(); - EventManager()->SimState(ESimStateOk); - EventManager()->SecurityCode(EPSSecurityCodeNotRequired); - EventManager()->SimPresentStateChangedL(ESimPresentTrue); - - return KErrNone; -} -