|
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Element within Help Model module |
|
15 // |
|
16 // |
|
17 |
|
18 #ifndef __TLBX_H__ |
|
19 #define __TLBX_H__ |
|
20 |
|
21 #if !defined(__COECNTRL_H__) |
|
22 #include <coecntrl.h> |
|
23 #endif |
|
24 #if !defined(__COECCNTX_H__) |
|
25 #include <coeccntx.h> |
|
26 #endif |
|
27 #if !defined(__COEMAIN_H__) |
|
28 #include <coemain.h> |
|
29 #endif |
|
30 #if !defined(__COEHELP_H__) |
|
31 #include <coehelp.h> |
|
32 #endif |
|
33 #if !defined(__EIKAPPUI_H__) |
|
34 #include <eikappui.h> |
|
35 #endif |
|
36 #if !defined(__EIKAPP_H__) |
|
37 #include <eikapp.h> |
|
38 #endif |
|
39 #if !defined(__EIKDOC_H__) |
|
40 #include <eikdoc.h> |
|
41 #endif |
|
42 #if !defined(__EIKENV_H__) |
|
43 #include <eikenv.h> |
|
44 #endif |
|
45 #if !defined(__APGTASK_H__) |
|
46 #include <apgtask.h> |
|
47 #endif |
|
48 #if !defined(__EIKHLBX_H__) |
|
49 #include <techview/eikhlbx.h> |
|
50 #endif |
|
51 #if !defined(__EIKHLBM_H__) |
|
52 #include <techview/eikhlbm.h> |
|
53 #endif |
|
54 #if !defined(__EIKHLBI_H__) |
|
55 #include <techview/eikhlbi.h> |
|
56 #endif |
|
57 #if !defined(__EIKHLBV_H__) |
|
58 #include <techview/eikhlbv.h> |
|
59 #endif |
|
60 #if !defined(__EIKLBI_H__) |
|
61 #include <techview/eiklbi.h> |
|
62 #endif |
|
63 #if !defined(__EIKLBM_H__) |
|
64 #include <techview/eiklbm.h> |
|
65 #endif |
|
66 #if !defined(__EIKLBX_H__) |
|
67 #include <techview/eiklbx.h> |
|
68 #endif |
|
69 #if !defined(__EIKCLBD_H__) |
|
70 #include <techview/eikclbd.h> |
|
71 #endif |
|
72 #if !defined(__EIKBTGPC_H__) |
|
73 #include <techview/eikbtgpc.h> |
|
74 #endif |
|
75 #if !defined(__EIKTXLBM_H__) |
|
76 #include <techview/eiktxlbm.h> |
|
77 #endif |
|
78 #if !defined(__HLPMODEL_H__) |
|
79 #include "HLPMODEL.H" |
|
80 #endif |
|
81 #if !defined(__GULICON_H__) |
|
82 #include <gulicon.h> |
|
83 #endif |
|
84 #include <techview/eikon.hrh> |
|
85 |
|
86 |
|
87 |
|
88 const TUid KUidTLchApp={ 0x100052b7 }; |
|
89 |
|
90 class CTLchAppView : public CCoeControl |
|
91 { |
|
92 public: |
|
93 void ConstructL(TRect aRect); |
|
94 void GetHelpContext(TCoeHelpContext& aContext) const; |
|
95 }; |
|
96 |
|
97 |
|
98 class CTLchAppUi : public CEikAppUi |
|
99 { |
|
100 public: |
|
101 void ConstructL(); |
|
102 ~CTLchAppUi(); |
|
103 public: // from CCoeAppUi |
|
104 CArrayFix<TCoeHelpContext>* HelpContextL() const; |
|
105 private: // from CEikAppUi |
|
106 void HandleCommandL(TInt aCommand); |
|
107 private: |
|
108 CTLchAppView* iAppView; |
|
109 }; |
|
110 |
|
111 class CTLchDocument : public CEikDocument |
|
112 { |
|
113 public: |
|
114 // construct/destruct |
|
115 CTLchDocument(CEikApplication& aApp); |
|
116 private: // from CEikDocument |
|
117 CEikAppUi* CreateAppUiL(); |
|
118 }; |
|
119 |
|
120 class CTLchApplication : public CEikApplication |
|
121 { |
|
122 private: // from CEikApplication - pure virutal |
|
123 CApaDocument* CreateDocumentL(); |
|
124 // FROM CApaApplication - pure virutal |
|
125 TUid AppDllUid() const; |
|
126 }; |
|
127 #endif |