contextframework/cfw/tsrc/public/basic/MT_BasicOperationsPlugIn/mt_basicoperationsplugin.cpp
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
33 |
33 |
34 // INTERNAL INCLUDES |
34 // INTERNAL INCLUDES |
35 #include "CFTestDelay.h" |
35 #include "CFTestDelay.h" |
36 #include "cffakeenv.h" |
36 #include "cffakeenv.h" |
37 #include "ScriptEventNotifierSession.h" |
37 #include "ScriptEventNotifierSession.h" |
38 #include "cfenvutils.h" |
|
39 |
38 |
40 // CONSTANTS |
39 // CONSTANTS |
41 |
40 |
42 const TUid KMT_CfScriptEngineUid = {0x7E577E57}; |
41 const TUid KMT_CfScriptEngineUid = {0x7E577E57}; |
43 //const TUid KMT_CfScriptEngineOtherUid = {0x074E074E}; |
42 //const TUid KMT_CfScriptEngineOtherUid = {0x074E074E}; |
64 } |
63 } |
65 |
64 |
66 // Destructor (virtual by CBase) |
65 // Destructor (virtual by CBase) |
67 mt_basicoperationsplugin::~mt_basicoperationsplugin() |
66 mt_basicoperationsplugin::~mt_basicoperationsplugin() |
68 { |
67 { |
69 // Enable screen saver |
|
70 CFEnvUtils::EnableScreenSaver( ETrue ); |
|
71 } |
68 } |
72 |
69 |
73 // Default constructor |
70 // Default constructor |
74 mt_basicoperationsplugin::mt_basicoperationsplugin() |
71 mt_basicoperationsplugin::mt_basicoperationsplugin() |
75 { |
72 { |
79 void mt_basicoperationsplugin::ConstructL() |
76 void mt_basicoperationsplugin::ConstructL() |
80 { |
77 { |
81 // The ConstructL from the base class CEUnitTestSuiteClass must be called. |
78 // The ConstructL from the base class CEUnitTestSuiteClass must be called. |
82 // It generates the test case table. |
79 // It generates the test case table. |
83 CEUnitTestSuiteClass::ConstructL(); |
80 CEUnitTestSuiteClass::ConstructL(); |
84 |
|
85 // Disable screen saver |
|
86 CFEnvUtils::EnableScreenSaver( EFalse ); |
|
87 } |
81 } |
88 |
82 |
89 // METHODS |
83 // METHODS |
90 |
84 |
91 |
85 |