datasourcemodules/gpspositioningmodule/lbsagpspsy/inc/cagpsenvironment.h
changeset 36 b47902b73a93
parent 0 9cfd9a3ee49c
equal deleted inserted replaced
35:a2efdd544abf 36:b47902b73a93
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @InternalComponent
       
    19 */
       
    20 
       
    21 #ifndef AGPSENV_H
       
    22 #define AGPSENV_H
       
    23 
       
    24 #include "cpositionerenvironment.h"
       
    25 
       
    26 class CAgpsRequestHandler;
       
    27 class CAgpsResponseHandler;
       
    28 class CAgpsModStatusHandler;
       
    29 class CPositionerQ;
       
    30 
       
    31 class CAgpsEnvironment : public CPositionerEnvironment
       
    32     {
       
    33     public:
       
    34 		static CPositionerEnvironment* NewL();
       
    35 		void CloseInstance();
       
    36 		void RegisterPSYL(MPositioner* aPSY);
       
    37 		void UnregisterPSY(MPositioner* aPSY);
       
    38 
       
    39     public:
       
    40     	CRequestHandler* GetRequestHandler();
       
    41     	CResponseHandler* GetResponseHandler();
       
    42     	TTimeIntervalMicroSeconds& GetFinalNetPositionLag();
       
    43 
       
    44     private:
       
    45         CAgpsEnvironment();
       
    46         virtual ~CAgpsEnvironment();
       
    47 		void ConstructL();
       
    48 		void InitFinalNetPositionLagFromAdminProfile();
       
    49 	
       
    50 	private:
       
    51 		CAgpsRequestHandler* iRequestHandler;
       
    52 		CAgpsResponseHandler* iResponseHandler;
       
    53 		CAgpsModStatusHandler* iModStatusHandler;
       
    54 		TTimeIntervalMicroSeconds iFinalNetPositionLag;	
       
    55     };
       
    56 
       
    57 #endif
       
    58 
       
    59 // End of File