testexecfw/stf/stfui/stf/inc/helper.h
changeset 2 8bb370ba6d1d
equal deleted inserted replaced
1:bbd31066657e 2:8bb370ba6d1d
       
     1 /*
       
     2 * Copyright (c) 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 "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: CHelp is used to show the version info and help info.
       
    15 *
       
    16 */
       
    17 #ifndef HELPER_H_
       
    18 #define HELPER_H_
       
    19 
       
    20 #include <e32std.h>
       
    21 #include <e32base.h>
       
    22 #include <e32cons.h>
       
    23 #include <StifTestInterface.h>
       
    24 
       
    25 class CHelper : public CBase
       
    26     {
       
    27 public:
       
    28     static CHelper* NewL(CConsoleBase* aConsole);
       
    29     ~CHelper();
       
    30     
       
    31 public:
       
    32     void ShowHelp();
       
    33     void ShowVersion();
       
    34     
       
    35 private:
       
    36     CHelper(CConsoleBase* aConsole);
       
    37     void ConstructL();
       
    38     
       
    39 private:
       
    40     CConsoleBase* iConsole;
       
    41     
       
    42     };
       
    43 
       
    44 
       
    45 
       
    46 #endif /* HELPER_H_ */