|
1 /* |
|
2 * Copyright (c) 2009 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: Supl End |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CSTUBSUPLEND_H_ |
|
20 #define CSTUBSUPLEND_H_ |
|
21 |
|
22 #include <e32base.h> |
|
23 #include <e32def.h> |
|
24 #include <e32cmn.h> |
|
25 #include "epos_comasuplasnbase.h" |
|
26 #include "epos_comasuplasnmessagebase.h" |
|
27 #include "epos_comasuplend.h" |
|
28 #include "asnimplementationbase.h" |
|
29 |
|
30 class CStubSuplEnd : public COMASuplEnd |
|
31 { |
|
32 public: |
|
33 /** |
|
34 * Factory function that instantiates a new object of CStubSuplEnd |
|
35 * |
|
36 */ |
|
37 IMPORT_C static CStubSuplEnd* NewL(); |
|
38 /** |
|
39 * Destructor |
|
40 */ |
|
41 IMPORT_C ~CStubSuplEnd(); |
|
42 /** |
|
43 * Method for Encoding... |
|
44 */ |
|
45 virtual HBufC8* EncodeL(TInt& aErrorCode); |
|
46 |
|
47 private: |
|
48 void InitializeL(); |
|
49 |
|
50 void InitializePosition(); |
|
51 |
|
52 void InitializePositionEstimate(TOMASuplPositionEstimate& posEstimate); |
|
53 |
|
54 void InitializeTime(const TOMASuplUtcTime aUtcTime); |
|
55 |
|
56 void IntializeHorizVelocity(const COMASuplHorizVelocity* aVelocity); |
|
57 |
|
58 void IntializeHorizAndVertVelocity(const COMASuplHorizVelocity* aVelocity); |
|
59 |
|
60 void IntializeHorizUncertVelocity(const COMASuplHorizVelocity* aVelocity); |
|
61 |
|
62 void IntializeHorizVertUncertVelocity(const COMASuplHorizVelocity* aVelocity); |
|
63 private: |
|
64 /** |
|
65 * Default C++ Constructor |
|
66 */ |
|
67 CStubSuplEnd(); |
|
68 |
|
69 void ConstructL(); |
|
70 }; |
|
71 |
|
72 #endif /* CSTUBSUPLSTARTIMPLE_H_ */ |