|
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 the License "Symbian Foundation License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.symbianfoundation.org/legal/sfl-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_TP254_H__ |
|
21 #define __CT_LBS_CLIENT_POS_TP254_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include "ctlbsportedstepbase.h" |
|
25 |
|
26 // FORWARD DECLARATION |
|
27 class CPosRequestLog; |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * Test procedure 254 |
|
33 * |
|
34 */ |
|
35 class CT_LbsClientPosTp254 : public CT_LbsPortedStepBase |
|
36 { |
|
37 public: // Constructors and destructor |
|
38 |
|
39 /** |
|
40 * C++ default constructor. |
|
41 */ |
|
42 CT_LbsClientPosTp254(CT_LbsServer& aParent); |
|
43 |
|
44 /** |
|
45 * Destructor. |
|
46 */ |
|
47 ~CT_LbsClientPosTp254(); |
|
48 |
|
49 public: // Functions from base classes |
|
50 |
|
51 /** |
|
52 * From CT_LbsPortedStepBase |
|
53 * Deinitializes the test. |
|
54 */ |
|
55 void CloseTest(); |
|
56 |
|
57 /** |
|
58 * From CT_LbsPortedStepBase |
|
59 */ |
|
60 void StartL(); |
|
61 |
|
62 private: // New functions |
|
63 |
|
64 /** |
|
65 * Deletes a file from the file system |
|
66 * @param aFile the file name |
|
67 */ |
|
68 void DeleteFileL(const TDesC& aFile); |
|
69 |
|
70 /** |
|
71 * Check if the specified file exists |
|
72 * @param aFile the file name |
|
73 */ |
|
74 TBool FileExistsL(const TDesC& aFile); |
|
75 |
|
76 void CheckPositionL(TPosition& aPosition, TPosition& aLastPosition); |
|
77 |
|
78 void CheckPositionInfoL(TPositionInfo& aInfo, TPositionInfo& aLastInfo); |
|
79 }; |
|
80 |
|
81 #endif // __CT_LBS_CLIENT_POS_TP254_H__ |
|
82 |
|
83 // End of File |