|
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:SuplPos |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CSTUBSUPLPOS_H_ |
|
20 #define CSTUBSUPLPOS_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_comasuplpos.h" |
|
28 #include "epos_comasuplposinit.h" |
|
29 #include "asnimplementationbase.h" |
|
30 |
|
31 class CStubSuplPos : public COMASuplPos |
|
32 { |
|
33 public: |
|
34 /** |
|
35 * Factory function that instantiates a new object of CStubSuplPos |
|
36 * |
|
37 */ |
|
38 IMPORT_C static CStubSuplPos* NewL(); |
|
39 /** |
|
40 * Destructor |
|
41 */ |
|
42 IMPORT_C ~CStubSuplPos(); |
|
43 /** |
|
44 * Method for Encoding... |
|
45 */ |
|
46 virtual HBufC8* EncodeL(TInt& aErrorCode); |
|
47 |
|
48 private: |
|
49 void InitializeL(); |
|
50 |
|
51 void IntializeHorizVelocity(const COMASuplHorizVelocity* aVelocity); |
|
52 |
|
53 void IntializeHorizAndVertVelocity(const COMASuplHorizVelocity* aVelocity); |
|
54 |
|
55 void IntializeHorizUncertVelocity(const COMASuplHorizVelocity* aVelocity); |
|
56 |
|
57 void IntializeHorizVertUncertVelocity(const COMASuplHorizVelocity* aVelocity); |
|
58 |
|
59 private: |
|
60 /** |
|
61 * Default C++ Constructor |
|
62 */ |
|
63 CStubSuplPos(); |
|
64 |
|
65 void ConstructL(); |
|
66 }; |
|
67 |
|
68 #endif /* CSTUBSUPLSTARTIMPLE_H_ */ |