summaryrefslogtreecommitdiffstats
path: root/src/s60main
diff options
context:
space:
mode:
authorMurray Read <ext-murray.2.read@nokia.com>2012-03-07 11:02:14 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-03-16 17:34:59 (GMT)
commit0a46f64119426fa3586330ad2053b2b934cd9fba (patch)
tree22b9af834d02dd8c8e97918ab565a5493ffb4a64 /src/s60main
parentfde8259dd8844410f878fe97db38979cc4c6f56a (diff)
downloadQt-0a46f64119426fa3586330ad2053b2b934cd9fba.zip
Qt-0a46f64119426fa3586330ad2053b2b934cd9fba.tar.gz
Qt-0a46f64119426fa3586330ad2053b2b934cd9fba.tar.bz2
Removing Symbian fast allocator implementation
An implementation of the Symbian fast allocator was added to Qt before it was available in all Symbian devices, to allow Qt the benefit of it in all installations. Now it is available in all Symbian devices and there is no need to keep a copy in Qt. So it is being removed to simplify the code. Task-number: ou1cimx1#946699 Change-Id: I937faca61beb4ef66a858766ebfa3deff564c786 Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Diffstat (limited to 'src/s60main')
-rw-r--r--src/s60main/newallocator_hook.cpp58
-rw-r--r--src/s60main/s60main.pro3
2 files changed, 1 insertions, 60 deletions
diff --git a/src/s60main/newallocator_hook.cpp b/src/s60main/newallocator_hook.cpp
deleted file mode 100644
index 3c289ff..0000000
--- a/src/s60main/newallocator_hook.cpp
+++ /dev/null
@@ -1,58 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the Symbian application wrapper of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** GNU Lesser General Public License Usage
-** This file may be used under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation and
-** appearing in the file LICENSE.LGPL included in the packaging of this
-** file. Please review the following information to ensure the GNU Lesser
-** General Public License version 2.1 requirements will be met:
-** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-**
-** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU General
-** Public License version 3.0 as published by the Free Software Foundation
-** and appearing in the file LICENSE.GPL included in the packaging of this
-** file. Please review the following information to ensure the GNU General
-** Public License version 3.0 requirements will be met:
-** http://www.gnu.org/copyleft/gpl.html.
-**
-** Other Usage
-** Alternatively, this file may be used in accordance with the terms and
-** conditions contained in a signed written agreement between you and Nokia.
-**
-**
-**
-**
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-#include <e32std.h>
-#include <qglobal.h>
-
-struct SStdEpocThreadCreateInfo;
-
-Q_CORE_EXPORT TInt qt_symbian_SetupThreadHeap(TBool aNotFirst, SStdEpocThreadCreateInfo& aInfo);
-
-
-/* \internal
- *
- * Uses link-time symbol preemption to capture a call from the application
- * startup. On return, there is some kind of heap allocator installed on the
- * thread.
-*/
-TInt UserHeap::SetupThreadHeap(TBool aNotFirst, SStdEpocThreadCreateInfo& aInfo)
-{
- return qt_symbian_SetupThreadHeap(aNotFirst, aInfo);
-}
diff --git a/src/s60main/s60main.pro b/src/s60main/s60main.pro
index 4c598e2..c1d3672 100644
--- a/src/s60main/s60main.pro
+++ b/src/s60main/s60main.pro
@@ -14,8 +14,7 @@ symbian {
CONFIG -= jpeg
INCLUDEPATH += tmp $$QMAKE_INCDIR_QT/QtCore $$MW_LAYER_SYSTEMINCLUDE
SOURCES = qts60main.cpp \
- qts60main_mcrt0.cpp \
- newallocator_hook.cpp
+ qts60main_mcrt0.cpp
# s60main needs to be built in ARM mode for GCCE to work.
CONFIG += do_not_build_as_thumb