|
1 /* |
|
2 * Copyright (c) 2007 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: app |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <eikstart.h> |
|
20 |
|
21 #include "bctesttemplateapp.h" |
|
22 #include "bctesttemplatedocument.h" |
|
23 |
|
24 |
|
25 // ================= MEMBER FUNCTIONS ======================================== |
|
26 |
|
27 // --------------------------------------------------------------------------- |
|
28 // TUid CBCTestTemplateApp::AppDllUid() |
|
29 // Returns application UID. |
|
30 // --------------------------------------------------------------------------- |
|
31 // |
|
32 TUid CBCTestTemplateApp::AppDllUid() const |
|
33 { |
|
34 return KUidBCTestTemplate; |
|
35 } |
|
36 |
|
37 // --------------------------------------------------------------------------- |
|
38 // CApaDocument* CBCTestTemplateApp::CreateDocumentL() |
|
39 // Creates CBCTestTemplateDocument object. |
|
40 // --------------------------------------------------------------------------- |
|
41 // |
|
42 CApaDocument* CBCTestTemplateApp::CreateDocumentL() |
|
43 { |
|
44 return CBCTestTemplateDocument::NewL( *this ); |
|
45 } |
|
46 |
|
47 // ================= OTHER EXPORTED FUNCTIONS ================================ |
|
48 // |
|
49 // --------------------------------------------------------------------------- |
|
50 // CApaApplication* NewApplication() |
|
51 // Constructs CBCTestTemplateApp. |
|
52 // Returns: CApaDocument*: created application object |
|
53 // --------------------------------------------------------------------------- |
|
54 // |
|
55 LOCAL_C CApaApplication* NewApplication() |
|
56 { |
|
57 return new CBCTestTemplateApp; |
|
58 } |
|
59 |
|
60 GLDEF_C TInt E32Main() |
|
61 { |
|
62 return EikStart::RunApplication( NewApplication ); |
|
63 } |
|
64 |
|
65 // End of File |