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