0
|
1 |
/*
|
|
2 |
* Copyright (c) 2005 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 |
#ifdef __UI_FRAMEWORKS_V2__
|
|
19 |
#include <eikstart.h>
|
|
20 |
#endif
|
|
21 |
|
|
22 |
#include "TrkApplication.h"
|
|
23 |
|
|
24 |
|
|
25 |
#ifdef __UI_FRAMEWORKS_V2__
|
|
26 |
|
|
27 |
LOCAL_C CApaApplication* NewApplication()
|
|
28 |
{
|
|
29 |
return new CTrkApplication;
|
|
30 |
}
|
|
31 |
|
|
32 |
GLDEF_C TInt E32Main()
|
|
33 |
{
|
|
34 |
return EikStart::RunApplication(NewApplication);
|
|
35 |
}
|
|
36 |
|
|
37 |
#if defined(__WINS__) && !defined(EKA2)
|
|
38 |
EXPORT_C TInt WinsMain(TDesC* aCmdLine)
|
|
39 |
{
|
|
40 |
return EikStart::RunApplication(NewApplication, aCmdLine);
|
|
41 |
}
|
|
42 |
|
|
43 |
GLDEF_C TInt E32Dll(TDllReason)
|
|
44 |
{
|
|
45 |
return KErrNone;
|
|
46 |
}
|
|
47 |
#endif //__WINS__ && !EKA2
|
|
48 |
|
|
49 |
#else //__UI_FRAMEWORKS_V2__
|
|
50 |
|
|
51 |
EXPORT_C CApaApplication* NewApplication()
|
|
52 |
{
|
|
53 |
return new CTrkApplication;
|
|
54 |
}
|
|
55 |
|
|
56 |
#ifndef EKA2
|
|
57 |
GLDEF_C TInt E32Dll(TDllReason)
|
|
58 |
{
|
|
59 |
return KErrNone;
|
|
60 |
}
|
|
61 |
#endif
|
|
62 |
|
|
63 |
#endif //__UI_FRAMEWORKS_V2__
|
|
64 |
|
|
65 |
|