networkprotocolmodules/suplprotocolmodule/SuplProtocol/inc/suplmtlrstatehandler.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 // This file defines the class for the state handler of a SUPL MO-LR procedure 
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalTechnology
       
    21  @deprecated
       
    22 */
       
    23 
       
    24 #ifndef __CSUPLMTLRSTATEHANDLER_H__
       
    25 #define __CSUPLMTLRSTATEHANDLER_H__
       
    26 
       
    27 #include <e32base.h>
       
    28 #include "suplstatehandlerbase.h"
       
    29 #include <lbs/lbsnetcommon.h>
       
    30 
       
    31 class CSuplFsmSessionBase;
       
    32 
       
    33 /** Class that defines the MT-LR procedure state handler
       
    34 This class implements pure virtual methods defined by CSuplStateHandlerBase
       
    35 @see CSuplStateHandlerBase
       
    36 */
       
    37 NONSHARABLE_CLASS(CSuplMtLrStateHandler) : public CSuplStateHandlerBase
       
    38 	{
       
    39 public:
       
    40 
       
    41 	static CSuplMtLrStateHandler* NewL(CSuplFsmSessionBase& aMachine);
       
    42 	virtual ~CSuplMtLrStateHandler();
       
    43 	
       
    44 	// CSuplStateHandlerBase methods
       
    45 	
       
    46 	TBool EntryActionsL();
       
    47 	
       
    48 protected:
       
    49 
       
    50 	CSuplMtLrStateHandler(CSuplFsmSessionBase& aMachine);
       
    51 	
       
    52 private:
       
    53 	
       
    54 	TBool EntryActionsFromSuplInitReceived();
       
    55 	TBool EntryActionsFromNetConnectionStarted();
       
    56 	TBool EntryActionsFromPosInitSentStateL();
       
    57 
       
    58 private:
       
    59 
       
    60 	TBool BuildCapabilitiesL(TLbsNetPosCapabilities& aCapabilities, TLbsNetPosRequestQuality& aQuality);
       
    61 	};
       
    62 
       
    63 #endif // __CSUPLMTLRSTATEHANDLER_H__