|
1 /* |
|
2 * Copyright (c) 2003-2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __HWRMLightTestF_DOCUMENT_H__ |
|
21 #define __HWRMLightTestF_DOCUMENT_H__ |
|
22 |
|
23 |
|
24 #include <eikdoc.h> |
|
25 |
|
26 class CHWRMLightTestFAppUi; |
|
27 class CEikApplication; |
|
28 |
|
29 |
|
30 /** |
|
31 @class CHWRMLightTestFDocument |
|
32 |
|
33 @returnAn instance of class CHWRMLightTestFDocument is the Document part of the AVKON |
|
34 application framework for the HWRMLightTestF example application |
|
35 * * Nokia Core OS * |
|
36 */ |
|
37 class CHWRMLightTestFDocument : public CEikDocument |
|
38 { |
|
39 public: |
|
40 |
|
41 /** |
|
42 @returnNewL |
|
43 |
|
44 @returnConstruct a CHWRMLightTestFDocument for the AVKON application aApp |
|
45 using two phase construction, and return a pointer to the created object |
|
46 @param aApp The application creating this document |
|
47 @return A pointer to the created instance of CHWRMLightTestFDocument |
|
48 */ |
|
49 static CHWRMLightTestFDocument* NewL(CEikApplication& aApp); |
|
50 |
|
51 /** |
|
52 @returnNewLC |
|
53 |
|
54 @returnConstruct a CHWRMLightTestFDocument for the AVKON application aApp |
|
55 using two phase construction, and return a pointer to the created object |
|
56 @param aApp The application creating this document |
|
57 @return A pointer to the created instance of CHWRMLightTestFDocument |
|
58 */ |
|
59 static CHWRMLightTestFDocument* NewLC(CEikApplication& aApp); |
|
60 |
|
61 /** |
|
62 @return~CHWRMLightTestFDocument |
|
63 |
|
64 @returnDestroy the object |
|
65 */ |
|
66 ~CHWRMLightTestFDocument(); |
|
67 |
|
68 public: // from CAknDocument |
|
69 /** |
|
70 @returnCreateAppUiL |
|
71 |
|
72 @returnCreate a CHWRMLightTestFAppUi object and return a pointer to it |
|
73 @return A pointer to the created instance of the AppUi created |
|
74 */ |
|
75 CEikAppUi* CreateAppUiL(); |
|
76 |
|
77 private: |
|
78 |
|
79 /** |
|
80 @returnConstructL |
|
81 |
|
82 @returnPerform the second phase construction of a CHWRMLightTestFDocument object |
|
83 */ |
|
84 void ConstructL(); |
|
85 |
|
86 /** |
|
87 @return CHWRMLightTestFDocument |
|
88 |
|
89 @return Perform the first phase of two phase construction |
|
90 @param aApp The application creating this document |
|
91 */ |
|
92 CHWRMLightTestFDocument(CEikApplication& aApp); |
|
93 |
|
94 }; |
|
95 |
|
96 |
|
97 #endif // __HWRMLightTestF_DOCUMENT_H__ |