testexecfw/stf/stfext/testlibplugins/syslibplugin/inc/stfsystemtestlibplugin.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: This file contains the header file of the CAtsLogger 
       
    15 * class.
       
    16 *
       
    17 */
       
    18 
       
    19 // This file defines the API for stfsystemtestlibplugin.dll
       
    20 
       
    21 #ifndef __STFSYSTEMTESTLIBPLUGIN_H__
       
    22 #define __STFSYSTEMTESTLIBPLUGIN_H__
       
    23 
       
    24 //  Include Files
       
    25 
       
    26 #include <e32base.h>	// CBase
       
    27 #include <e32std.h>	 // TBuf
       
    28 #include "StfTestLibPluginInterface.h"
       
    29 //  Constants
       
    30 
       
    31 const TInt KstfsystemtestlibpluginBufferLength = 15;
       
    32 typedef TBuf<KstfsystemtestlibpluginBufferLength>
       
    33         TstfsystemtestlibpluginExampleString;
       
    34 
       
    35 //  Class Definitions
       
    36 
       
    37 class Cstfsystemtestlibplugin : public CStfTestLibPlugin
       
    38     {
       
    39 public:
       
    40     // new functions
       
    41     static Cstfsystemtestlibplugin* NewL();
       
    42     ~Cstfsystemtestlibplugin();
       
    43 
       
    44 public:
       
    45     // new functions, example API
       
    46     virtual TBool IsCommandSupported(const TDesC& aCommand) ;
       
    47     virtual TInt  ExecuteCommandL(const TDesC& aCommandLine);
       
    48 
       
    49 private:
       
    50     // new functions
       
    51     Cstfsystemtestlibplugin();
       
    52     void ConstructL();
       
    53 
       
    54 private:
       
    55     
       
    56     };
       
    57 
       
    58 #endif  // __STFSYSTEMTESTLIBPLUGIN_H__
       
    59