equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008 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: CAlfPerfAppApplication implementation. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include <eikstart.h> |
|
21 |
|
22 #include "alfperfappapplication.h" |
|
23 #include "alfperfappdocument.h" |
|
24 |
|
25 // ============================ MEMBER FUNCTIONS =============================== |
|
26 |
|
27 CApaDocument* CAlfPerfAppApplication::CreateDocumentL() |
|
28 { |
|
29 CAlfPerfAppDocument* document = new (ELeave) CAlfPerfAppDocument( *this ); |
|
30 CleanupStack::PushL( document ); |
|
31 document->ConstructL(); |
|
32 CleanupStack::Pop( document ); |
|
33 return document; |
|
34 } |
|
35 |
|
36 TUid CAlfPerfAppApplication::AppDllUid() const |
|
37 { |
|
38 return KAlfPerfAppUid; |
|
39 } |
|
40 |
|
41 // ========================== OTHER EXPORTED FUNCTIONS ========================= |
|
42 |
|
43 LOCAL_C CApaApplication* NewApplication() |
|
44 { |
|
45 return new CAlfPerfAppApplication; |
|
46 } |
|
47 |
|
48 GLDEF_C TInt E32Main() |
|
49 { |
|
50 return EikStart::RunApplication( NewApplication ); |
|
51 } |
|
52 |