landmarks/locationlandmarks/tsrc/LandmarkTestModule/inc/FT_CPosTP26.h
branchRCL_3
changeset 44 2b4ea9893b66
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
       
     1 /*
       
     2 * Copyright (c) 2005 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: 
       
    15 *   ?description_line
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef CPOSTp26_H
       
    21 #define CPOSTp26_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include "FT_CLandmarkTestProcedureBase.h"
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *  Test procedure 26
       
    30 */
       
    31 class CPosTp26 : public CLandmarkTestProcedureBase
       
    32     {
       
    33     public:  // Constructors and destructor
       
    34         
       
    35         /**
       
    36         * C++ default constructor.
       
    37         */
       
    38         
       
    39         CPosTp26(TInt tpno, CStifLogger* aLog) : CLandmarkTestProcedureBase(tpno, aLog) {iGlobalErr = KErrGeneral;iNrSearchRounds=0;};
       
    40         /**
       
    41         * Destructor.
       
    42         */
       
    43         ~CPosTp26() {};
       
    44 
       
    45     public: // Functions from base classes
       
    46 
       
    47         
       
    48         void CloseTest();
       
    49 
       
    50         /**
       
    51         * From CPosTestProcedureBase
       
    52         * Runs the test in the module
       
    53         */
       
    54         void StartL();
       
    55 
       
    56     private:    // New functions
       
    57 
       
    58         /**
       
    59         * Test to do a iterate landmark search using the CPosLmTextCriteria criteria
       
    60         */
       
    61         void DoLandmarkSearchL(const RPointerArray<CSearchResult>& aSearchResults);
       
    62 
       
    63         /**
       
    64         * Test to do a iterate category landmark search using the CPosLmCatNameCriteria criteria
       
    65         */
       
    66         void DoLandmarkCategorySearchL(const RPointerArray<CCategorySearchResult>& aSearchResults);
       
    67 
       
    68     private:    // Data
       
    69 
       
    70         
       
    71         TInt    iGlobalErr;
       
    72         TInt    iNrSearchRounds;
       
    73     };
       
    74 
       
    75 #endif      // CPOSTp26_H
       
    76             
       
    77 // End of File