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