equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004 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 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include <eikstart.h> |
|
21 |
|
22 #include "TestAppApp.h" |
|
23 #include "TestAppDocument.h" |
|
24 |
|
25 |
|
26 LOCAL_C CApaApplication* NewApplication() |
|
27 { |
|
28 return new CTestAppApp; |
|
29 } |
|
30 |
|
31 GLDEF_C TInt E32Main() |
|
32 { |
|
33 return EikStart::RunApplication( NewApplication ); |
|
34 } |
|
35 |
|
36 // ================= MEMBER FUNCTIONS ======================= |
|
37 |
|
38 // --------------------------------------------------------- |
|
39 // CTestAppApp::AppDllUid() |
|
40 // Returns application UID |
|
41 // --------------------------------------------------------- |
|
42 // |
|
43 TUid CTestAppApp::AppDllUid() const |
|
44 { |
|
45 return KUidTestApp; |
|
46 } |
|
47 |
|
48 // --------------------------------------------------------- |
|
49 // CTestAppApp::CreateDocumentL() |
|
50 // Creates CTestAppDocument object |
|
51 // --------------------------------------------------------- |
|
52 // |
|
53 CApaDocument* CTestAppApp::CreateDocumentL() |
|
54 { |
|
55 return CTestAppDocument::NewL( *this ); |
|
56 } |
|
57 |
|
58 // End of File |