diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2015-11-25 14:56:11 +0100 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2015-11-28 08:14:12 +0000 |
commit | 4519e46f38df25dd61eb566ab2080896e775a531 (patch) | |
tree | ea2c714f4d7341ecdc293380ff179f6995b9d795 /src/input/backend/handle_types_p.h | |
parent | c6d56b613164e506562b6a537aef499ffb4fb649 (diff) |
Reorganize Input aspect sources into backend/frontend
Change-Id: I7cb9137a6f108d557e3028dc0b72a0053d3f01d4
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/input/backend/handle_types_p.h')
-rw-r--r-- | src/input/backend/handle_types_p.h | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/src/input/backend/handle_types_p.h b/src/input/backend/handle_types_p.h new file mode 100644 index 000000000..dfa26b53b --- /dev/null +++ b/src/input/backend/handle_types_p.h @@ -0,0 +1,73 @@ +/**************************************************************************** +** +** 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:LGPL3$ +** 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 http://www.qt.io/terms-conditions. For further +** information use the contact form at http://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.LGPLv3 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.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 later 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 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#ifndef QT3DINPUT_INPUT_HANDLE_TYPES_P_H +#define QT3DINPUT_INPUT_HANDLE_TYPES_P_H + +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists for the convenience +// of other Qt classes. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + +#include <Qt3DCore/private/qhandle_p.h> + +QT_BEGIN_NAMESPACE + +namespace Qt3DInput { +namespace Input { + +class KeyboardController; +class KeyboardInput; +class MouseController; +class MouseInput; + +typedef Qt3DCore::QHandle<KeyboardController, 8> HKeyboardController; +typedef Qt3DCore::QHandle<KeyboardInput, 16> HKeyboardInput; +typedef Qt3DCore::QHandle<MouseController, 8> HMouseController; +typedef Qt3DCore::QHandle<MouseInput, 16> HMouseInput; + +} // namespace Input +} // namespace Qt3DInput + +QT_END_NAMESPACE + +#endif // QT3DINPUT_INPUT_HANDLE_TYPES_P_H |