contextframework/cfw/tsrc/public/basic/MT_CFOperationPluginManager/MT_CFOperationPluginManager.cpp
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006 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". |
25 #include <ECom/ECom.h> |
25 #include <ECom/ECom.h> |
26 #include "cfoperationpluginmanager.h" |
26 #include "cfoperationpluginmanager.h" |
27 |
27 |
28 // INTERNAL INCLUDES |
28 // INTERNAL INCLUDES |
29 #include "cfscripthandler.h" |
29 #include "cfscripthandler.h" |
|
30 #include "cfenvutils.h" |
30 |
31 |
31 // CONSTRUCTION |
32 // CONSTRUCTION |
32 MT_CFOperationPluginManager* MT_CFOperationPluginManager::NewL() |
33 MT_CFOperationPluginManager* MT_CFOperationPluginManager::NewL() |
33 { |
34 { |
34 MT_CFOperationPluginManager* self = MT_CFOperationPluginManager::NewLC(); |
35 MT_CFOperationPluginManager* self = MT_CFOperationPluginManager::NewLC(); |
48 } |
49 } |
49 |
50 |
50 // Destructor (virtual by CBase) |
51 // Destructor (virtual by CBase) |
51 MT_CFOperationPluginManager::~MT_CFOperationPluginManager() |
52 MT_CFOperationPluginManager::~MT_CFOperationPluginManager() |
52 { |
53 { |
|
54 // Enable screen saver |
|
55 CFEnvUtils::EnableScreenSaver( ETrue ); |
53 } |
56 } |
54 |
57 |
55 // Default constructor |
58 // Default constructor |
56 MT_CFOperationPluginManager::MT_CFOperationPluginManager() |
59 MT_CFOperationPluginManager::MT_CFOperationPluginManager() |
57 { |
60 { |
61 void MT_CFOperationPluginManager::ConstructL() |
64 void MT_CFOperationPluginManager::ConstructL() |
62 { |
65 { |
63 // The ConstructL from the base class CEUnitTestSuiteClass must be called. |
66 // The ConstructL from the base class CEUnitTestSuiteClass must be called. |
64 // It generates the test case table. |
67 // It generates the test case table. |
65 CEUnitTestSuiteClass::ConstructL(); |
68 CEUnitTestSuiteClass::ConstructL(); |
|
69 |
|
70 // Disable screen saver |
|
71 CFEnvUtils::EnableScreenSaver( EFalse ); |
66 } |
72 } |
67 |
73 |
68 // METHODS |
74 // METHODS |
69 |
75 |
70 |
76 |