|
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_TP257_H__ |
|
21 #define __CT_LBS_CLIENT_POS_TP257_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include "ctlbsportedstepbase.h" |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 /** |
|
31 * Test procedure 257 |
|
32 * |
|
33 */ |
|
34 class CT_LbsClientPosTp257 :public CT_LbsPortedStepBase |
|
35 { |
|
36 public: // Constructors and destructor |
|
37 |
|
38 /** |
|
39 * C++ default constructor. |
|
40 */ |
|
41 CT_LbsClientPosTp257(CT_LbsServer& aParent); |
|
42 |
|
43 /** |
|
44 * Destructor. |
|
45 */ |
|
46 ~CT_LbsClientPosTp257(); |
|
47 |
|
48 public: // Functions from base classes |
|
49 |
|
50 /** |
|
51 * From CT_LbsPortedStepBase |
|
52 * Deinitializes the test. |
|
53 * Always called even if test leaves. |
|
54 */ |
|
55 void CloseTest(); |
|
56 |
|
57 /** |
|
58 * From CT_LbsPortedStepBase |
|
59 */ |
|
60 void StartL(); |
|
61 |
|
62 private: // New functions |
|
63 |
|
64 /** |
|
65 * Compares two TPositionInfoBase objects |
|
66 * @return returns true if equal, otherwise false |
|
67 */ |
|
68 TBool ComparePositionL(TPositionInfo aPosInfo1, TPositionInfo aPosInfo2); |
|
69 |
|
70 /** |
|
71 * Deletes a file from the file system |
|
72 * @param aFile the file name |
|
73 */ |
|
74 void DeleteFileL(const TDesC& aFile); |
|
75 |
|
76 /** |
|
77 * Check if the specified file exists |
|
78 * @param aFile the file name |
|
79 */ |
|
80 TBool FileExistsL(const TDesC& aFile); |
|
81 |
|
82 }; |
|
83 |
|
84 #endif // __CT_LBS_CLIENT_POS_TP257_H__ |
|
85 |
|
86 // End of File |