summaryrefslogtreecommitdiffstats
path: root/src/s60main/qts60main.cpp
blob: 1d19cc6943d589fe9bf5fdd4bf16545867202bae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/****************************************************************************
**
** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the $MODULE$ of the Qt Toolkit.
**
** $TROLLTECH_DUAL_EMBEDDED_LICENSE$
**
****************************************************************************/

// INCLUDE FILES
#include <eikstart.h>
#include "qts60mainapplication.h"

/**
 * factory function to create the QtS60Main application class
 */
LOCAL_C CApaApplication* NewApplication()
	{
	return new CQtS60MainApplication;
	}

/**
 * A normal Symbian OS executable provides an E32Main() function which is
 * called by the operating system to start the program.
 */
GLDEF_C TInt E32Main()
	{
	return EikStart::RunApplication( NewApplication );
	}