summaryrefslogtreecommitdiffstats
path: root/src/input/qinputaspect.cpp
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire.ecortex.kdab.com>2014-10-28 14:58:42 +0100
committerSean Harmer <sean.harmer@kdab.com>2014-11-02 12:42:49 +0100
commitd91ace86e584b7123087d5e61f5cd57c0c62316c (patch)
tree551bf2af95c13ca9f3887ba5be7bd5b5232fc8e6 /src/input/qinputaspect.cpp
parent33f7a73c80a5027dd1a77c1a0c3be96fd086fbbe (diff)
Added empty QInputsAspect
Change-Id: I188ae49f5ec183008a23c2efaeda973182125e57 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/input/qinputaspect.cpp')
-rw-r--r--src/input/qinputaspect.cpp87
1 files changed, 87 insertions, 0 deletions
diff --git a/src/input/qinputaspect.cpp b/src/input/qinputaspect.cpp
new file mode 100644
index 000000000..220cf6681
--- /dev/null
+++ b/src/input/qinputaspect.cpp
@@ -0,0 +1,87 @@
+/****************************************************************************
+**
+** Copyright (C) 2014 Klaralvdalens Datakonsult AB (KDAB).
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the Qt3D module of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia. For licensing terms and
+** conditions see http://qt.digia.com/licensing. For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, 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, Digia gives you certain additional
+** rights. These rights are described in the Digia 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.
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "qinputaspect.h"
+
+QT_BEGIN_NAMESPACE
+
+namespace Qt3D {
+
+QInputAspect::QInputAspect(QObject *parent)
+ : QAbstractAspect(QAbstractAspect::AspectOther, parent)
+{
+}
+
+QVector<QAspectJobPtr> QInputAspect::jobsToExecute()
+{
+ QVector<QAspectJobPtr> jobs;
+
+ return jobs;
+}
+
+void QInputAspect::sceneNodeAdded(QSceneChangePtr &e)
+{
+
+}
+
+void QInputAspect::sceneNodeRemoved(QSceneChangePtr &e)
+{
+
+}
+
+void QInputAspect::setRootEntity(QEntity *rootObject)
+{
+
+}
+
+void QInputAspect::onInitialize(QSurface *surface)
+{
+
+}
+
+void QInputAspect::onCleanup()
+{
+
+}
+
+} // Qt3D
+
+QT_END_NAMESPACE