|
1 /* |
|
2 * Copyright (c) 2004 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 * ?description_line |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef CPOSTP13_H |
|
21 #define CPOSTP13_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "FT_CLandmarkTestProcedureBase.h" |
|
25 #include <StifParser.h> |
|
26 |
|
27 |
|
28 |
|
29 enum TStifDialogType |
|
30 { |
|
31 EStifDialogTypeYesNo, |
|
32 EStifDialogTypeOk, |
|
33 EStifDialogTypeOkCancel, |
|
34 EStifDialogTypeRetryCancel, |
|
35 EStifDialogTypeYesNoCancel |
|
36 }; |
|
37 // CLASS DECLARATION |
|
38 |
|
39 /** |
|
40 * Test procedure 13 |
|
41 */ |
|
42 class CPosTp13 :public CLandmarkTestProcedureBase |
|
43 { |
|
44 public: // Constructors and destructor |
|
45 |
|
46 /** |
|
47 * C++ default constructor. |
|
48 */ |
|
49 |
|
50 CPosTp13(TInt tpno, CStifLogger* aLog) : CLandmarkTestProcedureBase(tpno, aLog) {iErrorsFound = KErrNone;}; |
|
51 /** |
|
52 * Destructor. |
|
53 */ |
|
54 ~CPosTp13() {}; |
|
55 |
|
56 public: // Functions from base classes |
|
57 |
|
58 |
|
59 /** |
|
60 * From CLandmarkTestProcedureBase |
|
61 * Runs the test in the module |
|
62 */ |
|
63 void StartL(CStifItemParser&); |
|
64 |
|
65 |
|
66 void CloseTest(); |
|
67 |
|
68 private: |
|
69 |
|
70 void ListCategoriesL( CPosLmCategoryManager& aCatMan ); |
|
71 |
|
72 void FindLandmarksL( |
|
73 CPosLandmarkDatabase& aDb, |
|
74 TPosLmItemId aCategoryId, |
|
75 RArray<TPosLmItemId>& aLmIds ); |
|
76 |
|
77 CPosLandmark* FindLandmarkLC( CPosLandmarkDatabase& aDb, const TDesC& aName ); |
|
78 |
|
79 private: |
|
80 TInt iErrorsFound; |
|
81 }; |
|
82 |
|
83 #endif // CPOSTP13_H |
|
84 |
|
85 // End of File |