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