|
1 /* |
|
2 * Copyright (c) 2003 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: LandmarksUi Content File - |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 #ifndef BCAPPLMKSELECTORENGINE_H |
|
25 #define BCAPPLMKSELECTORENGINE_H |
|
26 |
|
27 // INCLUDES |
|
28 //#include "BCAppLmkSelectorContainer.h" |
|
29 #include <coecntrl.h> |
|
30 #include <coeccntx.h> |
|
31 #include <eikenv.h> |
|
32 #include <CSatelliteInfoUi.h> |
|
33 #include <EPos_CPosLandmarkDatabase.h> |
|
34 #include <CLmkEditorDlg.h> |
|
35 #include <coemop.h> |
|
36 #include <CLmkLandmarkSelectorDlg.h> |
|
37 #include <CLmkCategorySelectorDlg.h> |
|
38 #include <TLmkItemIdDbCombiInfo.h> |
|
39 |
|
40 // FORWARD DECLARATIONS |
|
41 |
|
42 |
|
43 |
|
44 // CLASS DECLARATION |
|
45 |
|
46 /* |
|
47 CBCAppLmkSelectorEngine |
|
48 */ |
|
49 |
|
50 class CBCAppLmkSelectorEngine : public CBase, public MObjectProvider |
|
51 { |
|
52 public: |
|
53 static CBCAppLmkSelectorEngine* NewL(); |
|
54 /*~CBCAppLmkSelectorEngine(); |
|
55 void RunL(); |
|
56 void DoCancel(); |
|
57 |
|
58 void Init(); |
|
59 void IssueTest(); |
|
60 |
|
61 void ExecuteTestCase(); |
|
62 void SetTestCaseNumber(const TDesC8 &aNumber); |
|
63 public: |
|
64 TBuf<15> iText;*/ |
|
65 |
|
66 protected: |
|
67 TTypeUid::Ptr MopSupplyObject(TTypeUid aId); |
|
68 MObjectProvider* MopNext(); |
|
69 |
|
70 private: |
|
71 CBCAppLmkSelectorEngine(); |
|
72 /* void ConstructL(CBCAppLmkSelectorContainer* aContainer); |
|
73 |
|
74 void ExecuteTestL(); |
|
75 |
|
76 void SetTestCase(const TDesC& aHeaderName, const TDesC& aFunctionName); |
|
77 void Print(const TDesC& aDes); |
|
78 void Print(const TDesC8& aDes); |
|
79 void Print(TInt aInt); |
|
80 void CreateNewLandmark(); |
|
81 private: |
|
82 RTimer iTimer; |
|
83 |
|
84 CEikonEnv* iEnv; |
|
85 CBCAppLmkSelectorContainer* iContainer; |
|
86 |
|
87 TInt iCurrentTest; |
|
88 TBool iWarningIssued; |
|
89 TBool iExecuteAllTests; |
|
90 TBool iAllTestsDone; |
|
91 |
|
92 TBuf<64> iCurrentHeaderName; |
|
93 TBuf<128> iCurrentFunctionName; |
|
94 |
|
95 RWsSession iWs; |
|
96 CActiveSchedulerWait iWait;*/ |
|
97 }; |
|
98 |
|
99 #endif |
|
100 |
|
101 // End of File |