|
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 * Declares document for BVA application. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef _BVADOCUMENT_H_ |
|
22 #define _BVADOCUMENT_H_ |
|
23 |
|
24 // INCLUDES |
|
25 #include <eikdoc.h> |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 class CEikAppUi; |
|
29 |
|
30 // CLASS DECLARATION |
|
31 |
|
32 /** |
|
33 * CBvaDocument application class. |
|
34 */ |
|
35 NONSHARABLE_CLASS( CBvaDocument ) : public CEikDocument |
|
36 { |
|
37 public: // Construction & destruction |
|
38 /** |
|
39 * Two-phased constructor. |
|
40 * @param Reference to the aplication. |
|
41 * @return The newly created object. |
|
42 */ |
|
43 static CBvaDocument* NewL(CEikApplication& aApp); |
|
44 |
|
45 /// Destructor. |
|
46 virtual ~CBvaDocument(); |
|
47 |
|
48 public: // from CEikDocument |
|
49 void OpenFileL(CFileStore*& aFileStore, RFile& aFile); |
|
50 |
|
51 private: // construction |
|
52 |
|
53 /// constructor |
|
54 CBvaDocument(CEikApplication& aApp): CEikDocument(aApp) { } |
|
55 |
|
56 private: //from CEikDocument |
|
57 |
|
58 /** |
|
59 * Creates the AppUi. |
|
60 * @return The AppUi. |
|
61 */ |
|
62 CEikAppUi* CreateAppUiL(); |
|
63 |
|
64 }; |
|
65 |
|
66 #endif //_BVADOCUMENT_H_ |
|
67 |
|
68 // End of File |