|
1 /* |
|
2 * Copyright (c) 2002 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: |
|
15 * It implements the class CDosSelfTestExample. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #include "DsySelfTest.h" |
|
21 #include "DosEventManager.h" |
|
22 #include "DsyDebug.h" |
|
23 |
|
24 // |
|
25 // --------------------------------------------------------- |
|
26 // CDosSelfTestExample::NewL |
|
27 // --------------------------------------------------------- |
|
28 // |
|
29 CDosSelfTestExample* CDosSelfTestExample::NewL() |
|
30 { |
|
31 FLOG(_L("CDosSelfTestExample::NewL()")); |
|
32 |
|
33 CDosSelfTestExample* result = new (ELeave) CDosSelfTestExample; |
|
34 |
|
35 CleanupStack::PushL(result); |
|
36 result->ConstructL(); |
|
37 CleanupStack::Pop(); |
|
38 |
|
39 return result; |
|
40 } |
|
41 |
|
42 |
|
43 // |
|
44 // --------------------------------------------------------- |
|
45 // CDosSelfTestExample::ConstructL |
|
46 // --------------------------------------------------------- |
|
47 // |
|
48 void CDosSelfTestExample::ConstructL() |
|
49 { |
|
50 FLOG(_L("CDosSelfTestExample::ConstructL()")); |
|
51 } |
|
52 |
|
53 |
|
54 // |
|
55 // --------------------------------------------------------- |
|
56 // CDosSelfTestExample::PerformSelfTestL |
|
57 // --------------------------------------------------------- |
|
58 // |
|
59 TInt CDosSelfTestExample::PerformSelfTestL() |
|
60 { |
|
61 FLOG(_L("CDosSelfTestExample::PerformSelfTestL()")); |
|
62 EventManager()->NotifySelfTestStatus(3); //EStartupSTOk = 3 |
|
63 return KErrNone; |
|
64 } |