|
1 /* |
|
2 * Copyright (c) 2010 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: Easy dialing test application. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __EDTA_APPUI_H__ |
|
19 #define __EDTA_APPUI_H__ |
|
20 |
|
21 // INCLUDES |
|
22 #include <aknappui.h> |
|
23 #include "edta_screentextbuffer.h" |
|
24 |
|
25 // FORWARD DECLARATIONS |
|
26 class CEdtaAppView; |
|
27 class CAiwServiceHandler; |
|
28 class CRepository; |
|
29 |
|
30 // CLASS DECLARATION |
|
31 /** |
|
32 * CEdtaAppUi application UI class. |
|
33 * Interacts with the user through the UI and request message processing |
|
34 * from the handler class |
|
35 */ |
|
36 class CEdtaAppUi : public CAknAppUi |
|
37 { |
|
38 public: // Constructors and destructor |
|
39 |
|
40 void ConstructL(); |
|
41 CEdtaAppUi(); |
|
42 virtual ~CEdtaAppUi(); |
|
43 |
|
44 TBool CheckPluginLoadedAndShowNote(); |
|
45 |
|
46 private: // Functions from base classes |
|
47 |
|
48 void HandleCommandL( TInt aCommand ); |
|
49 void HandleStatusPaneSizeChange(); |
|
50 void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane); |
|
51 |
|
52 protected: |
|
53 |
|
54 private: // Data |
|
55 |
|
56 CEdtaAppView* iAppView; |
|
57 |
|
58 // Contains query text |
|
59 TBuf<KEdtaMaxLineWidth> iQueryText; |
|
60 |
|
61 // OWN: aiw service handler |
|
62 CAiwServiceHandler* iServiceHandler; |
|
63 |
|
64 // own |
|
65 CRepository* iRepository; |
|
66 }; |
|
67 |
|
68 #endif // __EDTA_APPUI_H__ |
|
69 |
|
70 |