uiacceltk/hitchcock/tsrc/alfperfapp/inc/alfperfapptestcasefactory.h
changeset 0 15bf7259bb7c
equal deleted inserted replaced
-1:000000000000 0:15bf7259bb7c
       
     1 /*
       
     2 * Copyright (c) 2008 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 "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  alfperfapp test case factory class definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_ALFPERFAPPTESTCASEFACTORY_H
       
    20 #define C_ALFPERFAPPTESTCASEFACTORY_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 class CAlfPerfAppTestCase;
       
    25 
       
    26 /**
       
    27  *  CAlfPerfAppTestCaseFactory class.
       
    28  */
       
    29 class CAlfPerfAppTestCaseFactory : public CBase
       
    30     {
       
    31 public:
       
    32     static CAlfPerfAppTestCaseFactory* NewL();
       
    33     ~CAlfPerfAppTestCaseFactory();
       
    34 
       
    35     /**
       
    36      * Creates new test case instance corresponding to the specified id.
       
    37      * @param aCaseId Test case id.
       
    38      * @param aSequenceIndex Tells which iteartion of the same case this is
       
    39      * @return New test case instance. Ownership passed to the client.
       
    40      */
       
    41     CAlfPerfAppTestCase* CreateL( TInt aCaseId, TInt aSequenceIndex );
       
    42 
       
    43 private:
       
    44 
       
    45     CAlfPerfAppTestCaseFactory();
       
    46 
       
    47     };
       
    48 
       
    49 #endif // C_ALFPERFAPPTESTCASEFACTORY_H
       
    50