graphics/common/src/TestServerBase.cpp
branchSymbian2
changeset 1 8758140453c0
child 6 c108117318cb
equal deleted inserted replaced
0:e8c1ea2c6496 1:8758140453c0
       
     1 /*
       
     2 * Copyright (c) 2005-2009 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 the License "Symbian Foundation License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 #include "TestServerBase.h"
       
    19 #include "UtilityClearPanicDlg.h"
       
    20 
       
    21 /*@{*/
       
    22 ///	Constant Literals used.
       
    23 _LIT(KCmdUtilityClearPanicDlg,	"utilityClearPanicDlg");
       
    24 /*@}*/
       
    25 
       
    26 CTestStep* CTestServerBase::CreateTestStep(const TDesC& aStepName)
       
    27 	{
       
    28 	CTestStep*	ret=NULL;
       
    29 
       
    30 	if ( aStepName == KCmdUtilityClearPanicDlg )
       
    31 		{
       
    32 		ret=new CUtilityClearPanicDlg();
       
    33 		}
       
    34 	else
       
    35 		{
       
    36 		ret=CTestServer2::CreateTestStep(aStepName);
       
    37 		}
       
    38 
       
    39 	return ret;
       
    40 	}