equal
deleted
inserted
replaced
|
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 * BVA application class. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 // INCLUDE FILES |
|
22 #include "BvaApp.h" |
|
23 #include "BvaDocument.h" |
|
24 #include "BvaUid.h" |
|
25 |
|
26 // ================= MEMBER FUNCTIONS ======================= |
|
27 |
|
28 #include <eikstart.h> |
|
29 |
|
30 LOCAL_C CApaApplication* NewApplication() |
|
31 { |
|
32 return new CBvaApp; |
|
33 } |
|
34 |
|
35 GLDEF_C TInt E32Main() |
|
36 { |
|
37 return EikStart::RunApplication(NewApplication); |
|
38 } |
|
39 |
|
40 TUid CBvaApp::AppDllUid() const |
|
41 { |
|
42 return TUid::Uid(KUidBVA); |
|
43 } |
|
44 |
|
45 CApaDocument* CBvaApp::CreateDocumentL() |
|
46 { |
|
47 return CBvaDocument::NewL( *this ); |
|
48 } |
|
49 |
|
50 void CBvaApp::GetDefaultDocumentFileName(TFileName& /*aDocumentName*/) const |
|
51 { |
|
52 // Override default implementation, so aDocumentName doesn't change. |
|
53 } |
|
54 |
|
55 // End of File |