1 /* |
|
2 * Copyright (c) 2007 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: Provides testing of CMnNavigator class methods |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CTESTMNNAVIGATOR_H |
|
21 #define CTESTMNNAVIGATOR_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <StifLogger.h> |
|
25 #include <TestScripterInternal.h> |
|
26 #include <StifTestModule.h> |
|
27 #include <mnnavigator.h> |
|
28 #include <EPos_CPosLandmark.h> |
|
29 #include <LbsPosition.h> |
|
30 #include <AknServerApp.h> |
|
31 |
|
32 |
|
33 // CLASS |
|
34 |
|
35 class CTestMnNavigator : public CBase, public MAknServerAppExitObserver |
|
36 { |
|
37 public: //Public constructor of class |
|
38 |
|
39 /** |
|
40 * |
|
41 */ |
|
42 CTestMnNavigator(CStifLogger* aLog); |
|
43 |
|
44 static CTestMnNavigator* NewL(CStifLogger* aLog); |
|
45 |
|
46 void ConstructL(); |
|
47 |
|
48 ~CTestMnNavigator(); |
|
49 |
|
50 public: //Public methods |
|
51 |
|
52 public: //Public methods |
|
53 |
|
54 /** |
|
55 * |
|
56 */ |
|
57 TInt CreateNavigatorL( CStifItemParser& aItem ); |
|
58 |
|
59 /** |
|
60 * |
|
61 */ |
|
62 TInt CreateChainedNavigatorL( CStifItemParser& aItem ); |
|
63 |
|
64 /** |
|
65 * |
|
66 */ |
|
67 TInt NavigateToL( CStifItemParser& aItem ); |
|
68 |
|
69 /** |
|
70 * |
|
71 */ |
|
72 TInt SetExitObserverL( CStifItemParser& aItem ); |
|
73 |
|
74 /** |
|
75 * |
|
76 */ |
|
77 TInt RemoveExitObserverL( CStifItemParser& aItem ); |
|
78 |
|
79 /** |
|
80 * |
|
81 */ |
|
82 void HandleServerAppExit(TInt aReason); |
|
83 |
|
84 private: |
|
85 |
|
86 // Private members |
|
87 CStifLogger* iLog; //Log |
|
88 }; |
|
89 |
|
90 #endif // CTESTMNNAVIGATOR_H |
|
91 |
|