diff options
author | Paul Lemire <paul.lemire350@gmail.com> | 2016-05-22 16:15:35 +0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-06-28 16:03:16 +0000 |
commit | 51bf5fa954dc5d3a1f39ab45b88d41648fa49f2f (patch) | |
tree | cdb2862b0a9f767287e3549f7ebd9064d0205bd3 /src/logic | |
parent | 476c834818da55c46b3001fd1e0bd768f7cb76d5 (diff) |
Logic: add job types for profiling
Change-Id: I7e8a35def338b8fd2bbce6bf296cae1ce8cb296b
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/job_common_p.h | 76 | ||||
-rw-r--r-- | src/logic/logic.pri | 3 |
2 files changed, 78 insertions, 1 deletions
diff --git a/src/logic/job_common_p.h b/src/logic/job_common_p.h new file mode 100644 index 000000000..3e78f4d9b --- /dev/null +++ b/src/logic/job_common_p.h @@ -0,0 +1,76 @@ +/**************************************************************************** +** +** Copyright (C) 2016 Paul Lemire +** Contact: https://www.qt.io/licensing/ +** +** 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 The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/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 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + +#ifndef QT3DLOGIC_LOGIC_JOB_COMMON_P_H +#define QT3DLOGIC_LOGIC_JOB_COMMON_P_H + +#include <Qt3DCore/private/qaspectjob_p.h> + +QT_BEGIN_NAMESPACE + +namespace Qt3DLogic { + +namespace Logic { + +namespace JobTypes { + + enum JobType { + Callback = 2048 + }; + +} // JobTypes + +} // Logic + +} // Qt3DLogic + +QT_END_NAMESPACE + +#endif // QT3DLOGIC_LOGIC_JOB_COMMON_P_H diff --git a/src/logic/logic.pri b/src/logic/logic.pri index a8a3573a8..619f99329 100644 --- a/src/logic/logic.pri +++ b/src/logic/logic.pri @@ -11,7 +11,8 @@ HEADERS += \ $$PWD/executor_p.h \ $$PWD/handler_p.h \ $$PWD/manager_p.h \ - $$PWD/managers_p.h + $$PWD/managers_p.h \ + $$PWD/job_common_p.h SOURCES += \ $$PWD/qlogicaspect.cpp \ |