|
1 /* |
|
2 * Copyright (c) 2002-2005 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: Declares document for application. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef AIWTESTDOCUMENT_H |
|
19 #define AIWTESTDOCUMENT_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <akndoc.h> |
|
23 #include <e32cmn.h> |
|
24 #include <BADESCA.H> |
|
25 #include <BADESCA.H> |
|
26 #include "cenrepeditormodel.h" |
|
27 |
|
28 // CONSTANTS |
|
29 |
|
30 // FORWARD DECLARATIONS |
|
31 class CEikAppUi; |
|
32 class CPhoneResources; |
|
33 |
|
34 // CLASS DECLARATION |
|
35 |
|
36 /** |
|
37 * CCenrepEditorDocument application class. |
|
38 */ |
|
39 class CCenrepEditorDocument : public CAknDocument |
|
40 { |
|
41 public: // Constructors and destructor |
|
42 /** |
|
43 * Two-phased constructor. |
|
44 */ |
|
45 static CCenrepEditorDocument* NewL(CEikApplication& aApp); |
|
46 |
|
47 /** |
|
48 * Destructor. |
|
49 */ |
|
50 virtual ~CCenrepEditorDocument(); |
|
51 |
|
52 public: // New functions |
|
53 CPhoneResources& CenrepPhoneResouces(); |
|
54 public: // Functions from base classes |
|
55 protected: // New functions |
|
56 protected: // Functions from base classes |
|
57 |
|
58 private: |
|
59 /** |
|
60 * C++ default constructor. |
|
61 */ |
|
62 CCenrepEditorDocument(CEikApplication& aApp); |
|
63 |
|
64 /** |
|
65 * By default Symbian 2nd phase constructor is private. |
|
66 */ |
|
67 void ConstructL(); |
|
68 |
|
69 private: |
|
70 /** |
|
71 * From CEikDocument, create CCenrepEditorAppUi "App UI" object. |
|
72 */ |
|
73 CEikAppUi* CreateAppUiL(); |
|
74 |
|
75 }; |
|
76 |
|
77 #endif |
|
78 |
|
79 // End of File |
|
80 |