|
1 /* |
|
2 * Copyright (c) 2001-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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __CT_LBS_CLIENT_POS_TP189_H__ |
|
21 #define __CT_LBS_CLIENT_POS_TP189_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include "ctlbsportedstepbase.h" |
|
25 |
|
26 // CONSTANTS |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 /** |
|
31 * Test procedure 189 |
|
32 * |
|
33 */ |
|
34 class CT_LbsClientPosTp189 : public CT_LbsPortedStepBase |
|
35 { |
|
36 public: // Constructors and destructor |
|
37 |
|
38 /** |
|
39 * C++ default constructor. |
|
40 */ |
|
41 CT_LbsClientPosTp189(CT_LbsServer& aParent); |
|
42 |
|
43 /** |
|
44 * Destructor. |
|
45 */ |
|
46 ~CT_LbsClientPosTp189(); |
|
47 |
|
48 public: // Functions from base classes |
|
49 |
|
50 /** |
|
51 * From CT_LbsPortedStepBase |
|
52 * Runs the test in the module |
|
53 */ |
|
54 void StartL(); |
|
55 |
|
56 private: // New functions |
|
57 |
|
58 /** |
|
59 * Prints the current Module status to log |
|
60 * @param aStatus The current status reported to write to log |
|
61 */ |
|
62 void CheckModuleStatusL( |
|
63 /* IN */ const TPositionModuleStatus& aStatus, |
|
64 /* IN */ const TBool aCheckStatus = EFalse |
|
65 ); |
|
66 |
|
67 /** |
|
68 * Requests to be notified about certain events, wait for that event |
|
69 * and log the event |
|
70 * @param aEventToListenFor The event to listen for (EEventDataQualityStatus/EEventDeviceStatus) |
|
71 */ |
|
72 void RequestWaitAndLogEventL( |
|
73 /* IN */ const TInt aEventToListenFor |
|
74 ); |
|
75 |
|
76 private: // Data |
|
77 |
|
78 RPositioner iPositioner2; |
|
79 TPositionModuleStatus iExpectedStatus; |
|
80 }; |
|
81 |
|
82 #endif // __CT_LBS_CLIENT_POS_TP189_H__ |
|
83 |
|
84 // End of File |