diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2014-02-10 16:31:33 +0000 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2014-02-25 18:19:01 +0100 |
commit | 2a9a67d1b1798128a40d65c9cb18399e28d46fcd (patch) | |
tree | bc7bb9d5f1470142403147e4d6d3e39fe9b8c5bc /examples/exampleresources/exampleresources.h | |
parent | 8267045c79e6a9359bc71dea5ece637276e29967 (diff) |
Import initial examples and export symbols from lib
Change-Id: I6eb7c66cb96956e3cb3e1d319a82a08a0fd3c37a
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/exampleresources/exampleresources.h')
-rw-r--r-- | examples/exampleresources/exampleresources.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/examples/exampleresources/exampleresources.h b/examples/exampleresources/exampleresources.h new file mode 100644 index 000000000..a7229f2a4 --- /dev/null +++ b/examples/exampleresources/exampleresources.h @@ -0,0 +1,53 @@ +/**************************************************************************** +** +** 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$ +** +****************************************************************************/ + +#ifndef QT3D_EXAMPLERESOURCES_H +#define QT3D_EXAMPLERESOURCES_H + +#include <QResource> + +#define QT3D_XSTRINGIFY(s) QT3D_STRINGIFY(s) +#define QT3D_STRINGIFY(s) #s + +bool initializeAssetResources( const QString& fileName ); + +#endif // QT3D_EXAMPLERESOURCES_H + |