loc_pub/landmarks_ui_addedit_api/tsrc/bc/bcapplmkeditor/inc/bcapplmkaddedit.h
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     1 /*
       
     2 * Copyright (c) 2002 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:    LandmarkUi Content File
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 #ifndef BCAPPLMKADDEDIT_H
       
    26 #define BCAPPLMKADDEDIT_H
       
    27 
       
    28 //  INCLUDES
       
    29 #include <StifLogger.h>
       
    30 #include <TestScripterInternal.h>
       
    31 #include <StifTestModule.h>
       
    32 
       
    33 #include "BCAppLmkEditorEngine.h"
       
    34 
       
    35 
       
    36 // CONSTANTS
       
    37 //const ?type ?constant_var = ?constant;
       
    38 
       
    39 // MACROS
       
    40 //#define ?macro ?macro_def
       
    41 #define TEST_CLASS_VERSION_MAJOR 30
       
    42 #define TEST_CLASS_VERSION_MINOR 9
       
    43 #define TEST_CLASS_VERSION_BUILD 6
       
    44 
       
    45 // Logging path
       
    46 _LIT( KBCAppLmkAddEditLogPath, "\\logs\\testframework\\BCAppLmkAddEdit\\" );
       
    47 // Log file
       
    48 _LIT( KBCAppLmkAddEditLogFile, "BCAppLmkAddEdit.txt" );
       
    49 _LIT( KBCAppLmkAddEditLogFileWithTitle, "BCAppLmkAddEdit_[%S].txt" );
       
    50 
       
    51 // FUNCTION PROTOTYPES
       
    52 //?type ?function_name(?arg_list);
       
    53 
       
    54 // FORWARD DECLARATIONS
       
    55 //class ?FORWARD_CLASSNAME;
       
    56 class CBCAppLmkAddEdit;
       
    57 
       
    58 // DATA TYPES
       
    59 //enum ?declaration
       
    60 //typedef ?declaration
       
    61 //extern ?data_type;
       
    62 
       
    63 // CLASS DECLARATION
       
    64 
       
    65 /**
       
    66 *  CBCAppLmkAddEdit test class for STIF Test Framework TestScripter.
       
    67 *  ?other_description_lines
       
    68 *
       
    69 *  @lib ?library
       
    70 *  @since ?Series60_version
       
    71 */
       
    72 NONSHARABLE_CLASS(CBCAppLmkAddEdit) : public CScriptBase
       
    73     {
       
    74     public:  // Constructors and destructor
       
    75 
       
    76         /**
       
    77         * Two-phased constructor.
       
    78         */
       
    79         static CBCAppLmkAddEdit* NewL( CTestModuleIf& aTestModuleIf );
       
    80 
       
    81         /**
       
    82         * Destructor.
       
    83         */
       
    84         virtual ~CBCAppLmkAddEdit();
       
    85 
       
    86     public: // New functions
       
    87 
       
    88         /**
       
    89         * ?member_description.
       
    90         * @since ?Series60_version
       
    91         * @param ?arg1 ?description
       
    92         * @return ?description
       
    93         */
       
    94         //?type ?member_function( ?type ?arg1 );
       
    95 
       
    96     public: // Functions from base classes
       
    97 
       
    98         /**
       
    99         * From CScriptBase Runs a script line.
       
   100         * @since ?Series60_version
       
   101         * @param aItem Script line containing method name and parameters
       
   102         * @return Symbian OS error code
       
   103         */
       
   104         virtual TInt RunMethodL( CStifItemParser& aItem );
       
   105 
       
   106     protected:  // New functions
       
   107 
       
   108         /**
       
   109         * ?member_description.
       
   110         * @since ?Series60_version
       
   111         * @param ?arg1 ?description
       
   112         * @return ?description
       
   113         */
       
   114         //?type ?member_function( ?type ?arg1 );
       
   115 
       
   116     protected:  // Functions from base classes
       
   117 
       
   118         /**
       
   119         * From ?base_class ?member_description
       
   120         */
       
   121         //?type ?member_function();
       
   122 
       
   123     private:
       
   124 
       
   125         /**
       
   126         * C++ default constructor.
       
   127         */
       
   128         CBCAppLmkAddEdit( CTestModuleIf& aTestModuleIf );
       
   129 
       
   130         /**
       
   131         * By default Symbian 2nd phase constructor is private.
       
   132         */
       
   133         void ConstructL();
       
   134 
       
   135         // Prohibit copy constructor if not deriving from CBase.
       
   136         // ?classname( const ?classname& );
       
   137         // Prohibit assigment operator if not deriving from CBase.
       
   138         // ?classname& operator=( const ?classname& );
       
   139 
       
   140         /**
       
   141         * Frees all resources allocated from test methods.
       
   142         * @since ?Series60_version
       
   143         */
       
   144         void Delete();
       
   145 
       
   146         /**
       
   147         * Test methods are listed below.
       
   148         */
       
   149 
       
   150         /**
       
   151         * Example test method.
       
   152         * @since ?Series60_version
       
   153         * @param aItem Script line containing parameters.
       
   154         * @return Symbian OS error code.
       
   155         */
       
   156         virtual TInt ExampleL( CStifItemParser& aItem );
       
   157         virtual TInt TestNewL( CStifItemParser& aItem );
       
   158         virtual TInt TestNew2L( CStifItemParser& aItem );
       
   159         virtual TInt TestExecuteLD( CStifItemParser& aItem );
       
   160         virtual TInt TestSetMopParent( CStifItemParser& aItem );
       
   161         virtual TInt TestSetHelpContext( CStifItemParser& aItem );
       
   162         virtual TInt TestDisableMapAndNaviOptions( CStifItemParser& aItem );
       
   163 
       
   164         //virtual TInt TestSetMoParent( CStifItemParser& aItem );
       
   165         /**
       
   166          * Method used to log version of test class
       
   167          */
       
   168         void SendTestClassVersion();
       
   169 
       
   170         //ADD NEW METHOD DEC HERE
       
   171         //[TestMethods] - Do not remove
       
   172 
       
   173     public:     // Data
       
   174         // ?one_line_short_description_of_data
       
   175         //?data_declaration;
       
   176 
       
   177     protected:  // Data
       
   178         // ?one_line_short_description_of_data
       
   179         //?data_declaration;
       
   180 
       
   181     private:    // Data
       
   182     CLmkAddEditEngine* engine;
       
   183         // ?one_line_short_description_of_data
       
   184         //?data_declaration;
       
   185 
       
   186         // Reserved pointer for future extension
       
   187         //TAny* iReserved;
       
   188 
       
   189     public:     // Friend classes
       
   190         //?friend_class_declaration;
       
   191     protected:  // Friend classes
       
   192         //?friend_class_declaration;
       
   193     private:    // Friend classes
       
   194         //?friend_class_declaration;
       
   195 
       
   196     };
       
   197 
       
   198 #endif      // BCAPPLMKADDEDIT_H
       
   199 
       
   200 // End of File