supl/locationomasuplprotocolhandler/protocolhandlerver1/inc/epos_comasuplresponsestate.h
changeset 0 667063e416a2
equal deleted inserted replaced
-1:000000000000 0:667063e416a2
       
     1 /*
       
     2 * Copyright (c) 2002-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:   class for handling SUPL_RESPONSE message...
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_COMASUPLRESPONSESTATE_H
       
    21 #define C_COMASUPLRESPONSESTATE_H
       
    22 
       
    23 #include <e32base.h>
       
    24 
       
    25 #include "epos_comasuplstate.h"
       
    26 
       
    27 class COMASuplSETCapabilities;
       
    28 
       
    29 /**
       
    30  *  COMASuplResponseState handles all SUPL_RESPONSE related processing.   
       
    31  *  @lib eposomasuplprotocolhandler.lib
       
    32  *  @since S60 v3.1u
       
    33  */
       
    34 
       
    35 
       
    36 class COMASuplResponseState : public COMASuplState
       
    37 {
       
    38 	public :  // Constructor 
       
    39 	
       
    40 		/**
       
    41 		* NewL Method.
       
    42 		* @since S60 v3.1u
       
    43 		* @param None
       
    44 		* @return None
       
    45 		* @return Instance of COMASuplResponseState
       
    46 		*/ 
       
    47 		static COMASuplResponseState* NewL();
       
    48 		
       
    49 		/**
       
    50 		* Destructor.
       
    51 		*/
       
    52 		~COMASuplResponseState();
       
    53 		
       
    54     public:		//COMASuplState
       
    55 		
       
    56 	 	/**
       
    57 		* ProcessMessage Method,Process SUPL_RESPONSE message...
       
    58 		* @since S60 v3.1u
       
    59 		* @param aDecodedMessage,decoded ASN messagge.
       
    60 		* @return system wide error
       
    61 		*/ 
       
    62 		virtual TInt ProcessMessageL(COMASuplAsnMessageBase* aDecodedMessage); 
       
    63 		
       
    64 		/**
       
    65 		* GetPosMethod gives the positioning Method...
       
    66 		* @since 
       
    67 		* @param None.
       
    68 		* @return TOMASuplPosMethod
       
    69 		*/ 
       
    70 		TOMASuplPosMethod GetPosMethod();
       
    71 	protected : 
       
    72 	
       
    73 		//Constuctor
       
    74 		COMASuplResponseState();
       
    75 	
       
    76 		/**
       
    77 		* ConstructL Method, 2nd phase construction
       
    78 		* @since S60 v3.1u
       
    79 		* @param None
       
    80 		* @return None
       
    81 		*/
       
    82 		void ConstructL();
       
    83 
       
    84 	protected: //Data
       
    85 	TOMASuplPosMethod iPosMethod;
       
    86 		
       
    87 };
       
    88 
       
    89 #endif //C_COMASUPLRESPONSESTATE_H