--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/systemswstubs/exampledsy/src/dsysae.cpp Mon Oct 04 00:04:35 2010 +0300
@@ -0,0 +1,71 @@
+/*
+* 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 <e32base.h>
+#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;
+}
+