datasourcemodules/networkpositioningmodule/inc/cnetenvironment.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 NETENV_H
       
    22 #define NETENV_H
       
    23 
       
    24 #include "cpositionerenvironment.h"
       
    25 
       
    26 class CNETRequestHandler;
       
    27 class CNETResponseHandler;
       
    28 class CNETModStatusHandler;
       
    29 class CPositionerQ;
       
    30 
       
    31 class CPositionerQ;
       
    32 
       
    33 class CNETEnvironment : public CPositionerEnvironment
       
    34     {
       
    35     public:
       
    36 		static CPositionerEnvironment* NewL();
       
    37 		void CloseInstance();
       
    38 		void RegisterPSYL(MPositioner* aPSY);
       
    39 		void UnregisterPSY(MPositioner* aPSY);
       
    40 
       
    41     public:
       
    42     	CRequestHandler* GetRequestHandler();
       
    43     	CResponseHandler* GetResponseHandler();
       
    44 
       
    45     private:
       
    46         CNETEnvironment();
       
    47         virtual ~CNETEnvironment();
       
    48 		void ConstructL();
       
    49 		void GetEnvCriteria(TPositionCriteria& aCriteria);
       
    50 		TPositionCriteria& GetEnvCriteria();
       
    51 
       
    52 	private:
       
    53         TPositionCriteria iCriteria;	// fixed criteria for this environment (from quality profile/module cen rep)
       
    54 		CNETRequestHandler* iRequestHandler;
       
    55 		CNETResponseHandler* iResponseHandler;
       
    56 		CNETModStatusHandler* iModStatusHandler;
       
    57     };
       
    58 
       
    59 #endif
       
    60 
       
    61 // End of File