diff -r e71858845f73 -r e1758cbb96ac omasuplasnconverterstubimpl/inc/cstubsuplpos.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/omasuplasnconverterstubimpl/inc/cstubsuplpos.h Mon Oct 04 00:04:35 2010 +0300 @@ -0,0 +1,68 @@ +/* +* Copyright (c) 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:SuplPos +* +*/ + + +#ifndef CSTUBSUPLPOS_H_ +#define CSTUBSUPLPOS_H_ + +#include +#include +#include +#include "epos_comasuplasnbase.h" +#include "epos_comasuplasnmessagebase.h" +#include "epos_comasuplpos.h" +#include "epos_comasuplposinit.h" +#include "asnimplementationbase.h" + +class CStubSuplPos : public COMASuplPos + { +public: + /** + * Factory function that instantiates a new object of CStubSuplPos + * + */ + IMPORT_C static CStubSuplPos* NewL(); + /** + * Destructor + */ + IMPORT_C ~CStubSuplPos(); + /** + * Method for Encoding... + */ + virtual HBufC8* EncodeL(TInt& aErrorCode); + +private: + void InitializeL(); + + void IntializeHorizVelocity(const COMASuplHorizVelocity* aVelocity); + + void IntializeHorizAndVertVelocity(const COMASuplHorizVelocity* aVelocity); + + void IntializeHorizUncertVelocity(const COMASuplHorizVelocity* aVelocity); + + void IntializeHorizVertUncertVelocity(const COMASuplHorizVelocity* aVelocity); + +private: + /** + * Default C++ Constructor + */ + CStubSuplPos(); + + void ConstructL(); + }; + +#endif /* CSTUBSUPLSTARTIMPLE_H_ */