networkprotocolmodules/common/suplrrlpasn1/inc/suplposinit.h
changeset 0 9cfd9a3ee49c
equal deleted inserted replaced
-1:000000000000 0:9cfd9a3ee49c
       
     1 // Copyright (c) 2007-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  @internalTechnology
       
    19  
       
    20 */
       
    21 #ifndef LBS_SUPL_POS_INIT_H
       
    22 #define LBS_SUPL_POS_INIT_H
       
    23 
       
    24 #include "suplmessagebase.h"
       
    25 #include <lbs/lbsnetcommon.h>
       
    26 #include <lbs/lbsassistancedatabase.h>
       
    27 
       
    28 
       
    29 /**
       
    30 Encapsulation for received SUPL POS INIT messages.
       
    31 
       
    32 @internalTechnology
       
    33 */
       
    34 NONSHARABLE_CLASS(CSuplPosInit) : public CSuplMessageBase
       
    35 	{
       
    36 public:
       
    37 	IMPORT_C static CSuplPosInit* NewL();
       
    38 		
       
    39 public:
       
    40 	virtual ~CSuplPosInit();
       
    41 	
       
    42 public:
       
    43 	
       
    44 	/** Set the capabilities parameter */
       
    45 	IMPORT_C TInt SetCapabilities(const TLbsNetPosCapabilities& aCapabilities);
       
    46 
       
    47 	/** Set the requested assistance data parameter */
       
    48 	IMPORT_C TInt SetRequestedAssistanceData(const TLbsAsistanceDataGroup& aDataReqMask);
       
    49 	
       
    50 	/**	Set the location ID parameter */
       
    51 	IMPORT_C TInt SetLocationId(const CSuplLocationId& aLocationId);
       
    52 
       
    53 	/**	Set the Position parameter */
       
    54 	IMPORT_C TInt SetPosition(const TPositionInfoBase& aPosInfo);
       
    55 
       
    56 	/** Set the hash of the received SUPL INIT */
       
    57 	IMPORT_C TInt SetVer(const TDesC8& aVer);
       
    58 
       
    59 private:
       
    60 	/** Constructor */
       
    61 	CSuplPosInit();
       
    62 
       
    63 	/** second stage constructor */
       
    64 	void ConstructL();
       
    65 	
       
    66 	/** Prohibit copy constructor */
       
    67 	CSuplPosInit(const CSuplPosInit&);
       
    68 
       
    69 	/** Prohibit assigment operator */
       
    70 	CSuplPosInit& operator= (const CSuplPosInit&);
       
    71 	};
       
    72 
       
    73 #endif // LBS_SUPL_POS_INIT_H