|
1 /* |
|
2 * Copyright (c) 2002 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 * This class is a part of the standard application framework. |
|
16 * Declares the document class for this application. |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 #ifndef __CCNVDOCUMENT_H__ |
|
23 #define __CCNVDOCUMENT_H__ |
|
24 |
|
25 // INCLUDES |
|
26 //#include <eikdoc.h> |
|
27 #include <AknDoc.h> |
|
28 #include <aknapp.h> |
|
29 |
|
30 // CLASS DEFINITION |
|
31 /** |
|
32 * This class is a part of the standard application framework. |
|
33 * Declares the document class for this application. |
|
34 */ |
|
35 class CCnvDocument : public CAknDocument |
|
36 { |
|
37 |
|
38 public: // Constructors and destructor. |
|
39 |
|
40 /** |
|
41 * Static two-phase constructor. |
|
42 * @param aApp Reference to the application object. |
|
43 */ |
|
44 static CCnvDocument* NewL( CAknApplication& aApp ); |
|
45 |
|
46 /** |
|
47 * Destructor. |
|
48 */ |
|
49 ~CCnvDocument(); |
|
50 |
|
51 public: // from CEikDocument |
|
52 |
|
53 /** |
|
54 * Instantiates the application UI class. |
|
55 * @return CCnvAppUi object instance. |
|
56 */ |
|
57 CEikAppUi* CreateAppUiL(); |
|
58 |
|
59 private: // Private constructors |
|
60 |
|
61 /** |
|
62 * Constructor. |
|
63 * @param aApp Reference to the application object. |
|
64 */ |
|
65 CCnvDocument( CAknApplication& aApp ); |
|
66 |
|
67 }; |
|
68 |
|
69 #endif // __CCNVDOCUMENT_H__ |