stdcpp/tsrc/Stdcpp_test/stlport/auto/stlport_replace/inc/stlport_replace.h
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     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:   ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef STLPORT_REPLACE_H
       
    22 #define STLPORT_REPLACE_H
       
    23 
       
    24 //  INCLUDES
       
    25 #include <StifLogger.h>
       
    26 #include <TestScripterInternal.h>
       
    27 #include <StifTestModule.h>
       
    28 extern int replace1_test(int, char**);
       
    29 extern int replace0_test(int, char**);
       
    30 
       
    31 // CONSTANTS
       
    32 //const ?type ?constant_var = ?constant;
       
    33 
       
    34 // MACROS
       
    35 //#define ?macro ?macro_def
       
    36 // Logging path
       
    37 _LIT( Kstlport_replaceLogPath, "\\logs\\testframework\\stlport_replace\\" ); 
       
    38 // Log file
       
    39 _LIT( Kstlport_replaceLogFile, "stlport_replace.txt" ); 
       
    40 
       
    41 // FUNCTION PROTOTYPES
       
    42 //?type ?function_name(?arg_list);
       
    43 
       
    44 // FORWARD DECLARATIONS
       
    45 //class ?FORWARD_CLASSNAME;
       
    46 class Cstlport_replace;
       
    47 
       
    48 // DATA TYPES
       
    49 //enum ?declaration
       
    50 //typedef ?declaration
       
    51 //extern ?data_type;
       
    52 
       
    53 // CLASS DECLARATION
       
    54 
       
    55 /**
       
    56 *  Cstlport_replace test class for STIF Test Framework TestScripter.
       
    57 *  ?other_description_lines
       
    58 *
       
    59 *  @lib ?library
       
    60 *  @since ?Series60_version
       
    61 */
       
    62 NONSHARABLE_CLASS(Cstlport_replace) : public CScriptBase
       
    63     {
       
    64     public:  // Constructors and destructor
       
    65 
       
    66         /**
       
    67         * Two-phased constructor.
       
    68         */
       
    69         static Cstlport_replace* NewL( CTestModuleIf& aTestModuleIf );
       
    70 
       
    71         /**
       
    72         * Destructor.
       
    73         */
       
    74         virtual ~Cstlport_replace();
       
    75 
       
    76     public: // New functions
       
    77 
       
    78         /**
       
    79         * ?member_description.
       
    80         * @since ?Series60_version
       
    81         * @param ?arg1 ?description
       
    82         * @return ?description
       
    83         */
       
    84         //?type ?member_function( ?type ?arg1 );
       
    85 
       
    86     public: // Functions from base classes
       
    87 
       
    88         /**
       
    89         * From CScriptBase Runs a script line.
       
    90         * @since ?Series60_version
       
    91         * @param aItem Script line containing method name and parameters
       
    92         * @return Symbian OS error code
       
    93         */
       
    94         virtual TInt RunMethodL( CStifItemParser& aItem );
       
    95 
       
    96     protected:  // New functions
       
    97 
       
    98         /**
       
    99         * ?member_description.
       
   100         * @since ?Series60_version
       
   101         * @param ?arg1 ?description
       
   102         * @return ?description
       
   103         */
       
   104         //?type ?member_function( ?type ?arg1 );
       
   105 
       
   106     protected:  // Functions from base classes
       
   107 
       
   108         /**
       
   109         * From ?base_class ?member_description
       
   110         */
       
   111         //?type ?member_function();
       
   112 
       
   113     private:
       
   114 
       
   115         /**
       
   116         * C++ default constructor.
       
   117         */
       
   118         Cstlport_replace( CTestModuleIf& aTestModuleIf );
       
   119 
       
   120         /**
       
   121         * By default Symbian 2nd phase constructor is private.
       
   122         */
       
   123         void ConstructL();
       
   124 
       
   125         // Prohibit copy constructor if not deriving from CBase.
       
   126         // ?classname( const ?classname& );
       
   127         // Prohibit assigment operator if not deriving from CBase.
       
   128         // ?classname& operator=( const ?classname& );
       
   129 
       
   130         /**
       
   131         * Frees all resources allocated from test methods.
       
   132         * @since ?Series60_version
       
   133         */
       
   134         void Delete();
       
   135 
       
   136         /**
       
   137         * Test methods are listed below. 
       
   138         */
       
   139 
       
   140         /**
       
   141         * Example test method.
       
   142         * @since ?Series60_version
       
   143         * @param aItem Script line containing parameters.
       
   144         * @return Symbian OS error code.
       
   145         */
       
   146         virtual TInt replace0_testL( CStifItemParser& aItem );
       
   147          virtual TInt replace1_testL( CStifItemParser& aItem );
       
   148 
       
   149     public:     // Data
       
   150         // ?one_line_short_description_of_data
       
   151         //?data_declaration;
       
   152 
       
   153     protected:  // Data
       
   154         // ?one_line_short_description_of_data
       
   155         //?data_declaration;
       
   156 
       
   157     private:    // Data
       
   158         
       
   159         // ?one_line_short_description_of_data
       
   160         //?data_declaration;
       
   161 
       
   162         // Reserved pointer for future extension
       
   163         //TAny* iReserved;
       
   164 
       
   165     public:     // Friend classes
       
   166         //?friend_class_declaration;
       
   167     protected:  // Friend classes
       
   168         //?friend_class_declaration;
       
   169     private:    // Friend classes
       
   170         //?friend_class_declaration;
       
   171 
       
   172     };
       
   173 
       
   174 #endif      // STLPORT_REPLACE_H
       
   175 
       
   176 // End of File