|
1 /* |
|
2 * Copyright (c) 2005-2006 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: Simulation PSY Configuration UI application AppUi class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CSIMPSYUIAPPUI_H_ |
|
20 #define CSIMPSYUIAPPUI_H_ |
|
21 |
|
22 #include <aknappui.h> |
|
23 #include <AknProgressDialog.h> |
|
24 |
|
25 #include "simpsyuicontainer.h" |
|
26 |
|
27 #include "simpsyuiao.h" |
|
28 |
|
29 class CAknDialog; |
|
30 class CAknWaitDialog; |
|
31 |
|
32 class CSimPsyUiAppUi: public CAknAppUi, |
|
33 public MSimPsyAOObserver, |
|
34 public MProgressDialogCallback |
|
35 { |
|
36 public: |
|
37 CSimPsyUiAppUi(); |
|
38 ~CSimPsyUiAppUi(); |
|
39 public: //from CAknAppUi |
|
40 void ConstructL(); |
|
41 void DynInitMenuPaneL(TInt /*aResourceId*/, |
|
42 CEikMenuPane* /*aMenuPane*/); |
|
43 TKeyResponse HandleKeyEventL(const TKeyEvent& /*aKeyEvent*/, |
|
44 TEventCode /*aType*/); |
|
45 void HandleCommandL(TInt aCommand); |
|
46 |
|
47 /** |
|
48 * Inherited from MSimPsyAOObserver |
|
49 */ |
|
50 void NotifyLocationRequestCompletedL(); |
|
51 |
|
52 /** |
|
53 * Inherited from MProgressDialogCallback |
|
54 */ |
|
55 void DialogDismissedL (TInt aButtonId); |
|
56 |
|
57 private: |
|
58 CSimPsyUiContainer* iAppContainer; |
|
59 |
|
60 /** |
|
61 * Active object interface to obtain Location information |
|
62 * Owns |
|
63 */ |
|
64 CSimPsyUiAO* iLocationRequestor; |
|
65 |
|
66 /** |
|
67 * Wait Note |
|
68 * Owns |
|
69 */ |
|
70 CAknWaitDialog* iWaitDialog; |
|
71 }; |
|
72 |
|
73 #endif // CSIMPSYUIAPPUI_H_ |