diff -r 87622fad6b51 -r a796fdeeb33c networkprotocolmodules/common/suplrrlpasn1/inc/rrlpassistancedata.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/networkprotocolmodules/common/suplrrlpasn1/inc/rrlpassistancedata.h Wed Oct 13 16:07:50 2010 +0300 @@ -0,0 +1,76 @@ +// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +/** + @file + @internalTechnology + +*/ + +#ifndef RRLP_ASSISTANCE_DATA_H +#define RRLP_ASSISTANCE_DATA_H + +#include "rrlpmessagebase.h" +#include +#include +#include "lbspositioninfo.h" + +/** +Encapsulation for received RRLP Assistance Data message + +@internalTechnology +*/ +NONSHARABLE_CLASS(CRrlpAssistanceData) : public CRrlpMessageBase + { +public: + /** static factory constructor */ + IMPORT_C static CRrlpAssistanceData* NewL(); + + virtual ~CRrlpAssistanceData(); + +public: + + /** Returns ETrue if valid assistance data is present in the received message */ + IMPORT_C TBool AssistanceDataPresent(); + + /** Populates aData with received assistance data, and aDataMask to + indicate the assistance data parts present */ + IMPORT_C TInt BuildAssistanceData(TLbsAsistanceDataGroup& aDataMask, + RLbsAssistanceDataBuilderSet& aAssistanceDataBuilderSet); + + /** Returns ETrue if another RRLP Assitance Data message to be delivered */ + IMPORT_C TBool MoreAssDataToBeSent(); + +protected: + + /** gets the extended reference elements */ + TInt GetExtendedReference(TRrlpReference& aRrlpRef); + +private: + /** default constructor */ + CRrlpAssistanceData(); + + /** second stage constructor */ + void ConstructL(); + + /** Prohibit copy constructor */ + CRrlpAssistanceData(const CRrlpAssistanceData&); + + /** Prohibit assigment operator */ + CRrlpAssistanceData& operator= (const CRrlpAssistanceData&); + }; + +#endif // RRLP_ASSISTANCE_DATA_H +