|
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 #ifndef __CVRDOCUMENT_H__ |
|
22 #define __CVRDOCUMENT_H__ |
|
23 |
|
24 // INCLUDES |
|
25 #include <MediaSharedDocument.h> |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 class CEikAppUi; |
|
29 |
|
30 // CLASS DECLARATION |
|
31 /** |
|
32 * This class is a part of the standard application framework. |
|
33 * Declares the document class for this application. |
|
34 */ |
|
35 class CVRDocument |
|
36 : public CMediaSharedDocument |
|
37 { |
|
38 public: // Constructors and destructor |
|
39 |
|
40 /** |
|
41 * Destructor. |
|
42 */ |
|
43 ~CVRDocument(); |
|
44 |
|
45 /** |
|
46 * Static two-phased constructor. |
|
47 * @param aApp Reference to the application object. |
|
48 */ |
|
49 static CVRDocument* NewL( CEikApplication& aApp ); |
|
50 |
|
51 private: |
|
52 |
|
53 /** |
|
54 * Default constructor. Private, not implemented. |
|
55 */ |
|
56 CVRDocument(); |
|
57 |
|
58 /** |
|
59 * Constructor. Inlined to save a few bytes. |
|
60 * @param aApp Reference to the application object. |
|
61 */ |
|
62 inline CVRDocument( CEikApplication& aApp ) |
|
63 : CMediaSharedDocument( aApp ) {} |
|
64 |
|
65 private: // from CEikDocument |
|
66 |
|
67 /** |
|
68 * Instantiates the application UI class. |
|
69 * @return CCnvAppUi object instance. |
|
70 */ |
|
71 CEikAppUi* CreateAppUiL(); |
|
72 |
|
73 }; |
|
74 |
|
75 #endif // __CVRDOCUMENT_H__ |
|
76 |