datasourceadaptation/gpsdatasourceadaptation/psytester/psytestercrtester/inc/epos_cpospsycrtesthandler.h
changeset 36 b47902b73a93
parent 0 9cfd9a3ee49c
equal deleted inserted replaced
35:a2efdd544abf 36:b47902b73a93
       
     1 /*
       
     2 * Copyright (c) 2004-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:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CPOSPSYCRTESTHANDLER_H
       
    21 #define CPOSPSYCRTESTHANDLER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <barsread.h>
       
    25 #include <barsc.h>
       
    26 
       
    27 
       
    28 #include "epos_cpospsycrlog.h"
       
    29 
       
    30 // FORWARD DECLARATION
       
    31 
       
    32 
       
    33 // CONSTANTS
       
    34 
       
    35 
       
    36 // CLASS DECLARATION
       
    37 /**
       
    38 *  Driver for testing the CR capabilities of a PSY
       
    39 */
       
    40 class CPosPSYCRTestHandler : public CBase
       
    41     {
       
    42     public:  // Constructors and destructor
       
    43 
       
    44         /**
       
    45         * Two-phased constructor.
       
    46         */
       
    47         static CPosPSYCRTestHandler* NewL();
       
    48 
       
    49         /**
       
    50         * Destructor.
       
    51         */
       
    52         virtual ~CPosPSYCRTestHandler();
       
    53         
       
    54 
       
    55     public: // New functions
       
    56 		
       
    57 		/**
       
    58         * Starts the PSY tester to test 
       
    59         * with the PSY at the specified index
       
    60         *
       
    61 		* @param TInt aIndex, The index for the PSY to be tested
       
    62         */
       
    63         void StartPSYCRTesterL(
       
    64         /* IN */ TUid aUid
       
    65         );
       
    66 
       
    67     
       
    68     private:
       
    69     	CPosPSYCRTestHandler();  
       
    70     	void ConstructL();  
       
    71     	void TestCRValueCapabilitiesL(TUid aUid);
       
    72     	
       
    73     private:
       
    74     
       
    75     
       
    76 		CPosPSYCRLog* iLog;
       
    77     };
       
    78 
       
    79 #endif      // CPOSPSYTESTHANDLER_H
       
    80 
       
    81 // End of File