contextframework/cfw/tsrc/public/basic/MT_BasicOperationsPlugIn/mt_basicoperationsplugin.cpp
branchRCL_3
changeset 63 c2c61fdca848
parent 62 924385140d98
equal deleted inserted replaced
62:924385140d98 63:c2c61fdca848
     1 /*
     1 /*
     2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2002 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"
    38 
    39 
    39 // CONSTANTS
    40 // CONSTANTS
    40 
    41 
    41 const TUid KMT_CfScriptEngineUid = {0x7E577E57};
    42 const TUid KMT_CfScriptEngineUid = {0x7E577E57};
    42 //const TUid KMT_CfScriptEngineOtherUid = {0x074E074E};
    43 //const TUid KMT_CfScriptEngineOtherUid = {0x074E074E};
    63     }
    64     }
    64 
    65 
    65 // Destructor (virtual by CBase)
    66 // Destructor (virtual by CBase)
    66 mt_basicoperationsplugin::~mt_basicoperationsplugin()
    67 mt_basicoperationsplugin::~mt_basicoperationsplugin()
    67     {
    68     {
       
    69     // Enable screen saver
       
    70     CFEnvUtils::EnableScreenSaver( ETrue );
    68     }
    71     }
    69 
    72 
    70 // Default constructor
    73 // Default constructor
    71 mt_basicoperationsplugin::mt_basicoperationsplugin()
    74 mt_basicoperationsplugin::mt_basicoperationsplugin()
    72     {
    75     {
    76 void mt_basicoperationsplugin::ConstructL()
    79 void mt_basicoperationsplugin::ConstructL()
    77     {
    80     {
    78     // The ConstructL from the base class CEUnitTestSuiteClass must be called.
    81     // The ConstructL from the base class CEUnitTestSuiteClass must be called.
    79     // It generates the test case table.
    82     // It generates the test case table.
    80     CEUnitTestSuiteClass::ConstructL();
    83     CEUnitTestSuiteClass::ConstructL();
       
    84     
       
    85     // Disable screen saver
       
    86     CFEnvUtils::EnableScreenSaver( EFalse );
    81     }
    87     }
    82 
    88 
    83 //  METHODS
    89 //  METHODS
    84 
    90 
    85 
    91