|
1 /* |
|
2 * Copyright (c) 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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __ALFEXCALENDAR_DOCUMENT_H__ |
|
21 #define __ALFEXCALENDAR_DOCUMENT_H__ |
|
22 |
|
23 |
|
24 #include <akndoc.h> |
|
25 |
|
26 // Forward references |
|
27 class CAlfExCalendarAppUi; |
|
28 class CEikApplication; |
|
29 |
|
30 |
|
31 /*! |
|
32 @class CAlfExCalendarDocument |
|
33 |
|
34 @discussion An instance of class CAlfExCalendarDocument is the Document part of the AVKON |
|
35 application framework for the alfexcalendar application |
|
36 */ |
|
37 class CAlfExCalendarDocument : public CAknDocument |
|
38 { |
|
39 public: |
|
40 |
|
41 /*! |
|
42 @function NewL |
|
43 |
|
44 @discussion Construct a CAlfExCalendarDocument for the AVKON application aApp |
|
45 using two phase construction, and return a pointer to the created object |
|
46 @param aApp application creating this document |
|
47 @result a pointer to the created instance of CAlfExCalendarDocument |
|
48 */ |
|
49 static CAlfExCalendarDocument* NewL(CEikApplication& aApp); |
|
50 |
|
51 /*! |
|
52 @function NewLC |
|
53 |
|
54 @discussion Construct a CAlfExCalendarDocument for the AVKON application aApp |
|
55 using two phase construction, and return a pointer to the created object |
|
56 @param aApp application creating this document |
|
57 @result a pointer to the created instance of CAlfExCalendarDocument |
|
58 */ |
|
59 static CAlfExCalendarDocument* NewLC(CEikApplication& aApp); |
|
60 |
|
61 /*! |
|
62 @function ~CAlfExCalendarDocument |
|
63 |
|
64 @discussion Destroy the object and release all memory objects |
|
65 */ |
|
66 ~CAlfExCalendarDocument(); |
|
67 |
|
68 public: // from CAknDocument |
|
69 /*! |
|
70 @function CreateAppUiL |
|
71 |
|
72 @discussion Create a CAlfExCalendarAppUi object and return a pointer to it |
|
73 @result a pointer to the created instance of the AppUi created |
|
74 */ |
|
75 CEikAppUi* CreateAppUiL(); |
|
76 |
|
77 private: |
|
78 |
|
79 /*! |
|
80 @function ConstructL |
|
81 |
|
82 @discussion Perform the second phase construction of a CAlfExCalendarDocument object |
|
83 */ |
|
84 void ConstructL(); |
|
85 |
|
86 /*! |
|
87 @function CAlfExCalendarDocument |
|
88 |
|
89 @discussion Perform the first phase of two phase construction |
|
90 @param aApp application creating this document |
|
91 */ |
|
92 CAlfExCalendarDocument(CEikApplication& aApp); |
|
93 |
|
94 }; |
|
95 |
|
96 |
|
97 #endif // __ALFEXCALENDAR_DOCUMENT_H__ |