diff options
author | Otto Ryynänen <otto.ryynanen@qt.io> | 2016-09-28 15:13:38 +0300 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@qt.io> | 2016-10-10 04:05:14 +0000 |
commit | d967f59602217923886478140149de8a9cad34ba (patch) | |
tree | 3e9912f7de165b5e238adb90b9d90ce1da20fdfd /src/plugins/sceneparsers/assimp/main.cpp | |
parent | ec2c6c0f13004bc1bba92f14443228778da287a0 (diff) |
Renaming Scene IO classes to scene import classes
The so-called "IO" classes have never done I/O, only import.
There is no sense to add also export to those classes as the IF
is designed to do only import and there is no code that would be
shared between the importer and exporter/saver.
For the sanity of the code the naming is changed and we will
implement exporter/saver class to be used for storing purposes.
Change-Id: I832bef0e7de1f65289a89c6898a475dab7431dc0
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/plugins/sceneparsers/assimp/main.cpp')
-rw-r--r-- | src/plugins/sceneparsers/assimp/main.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/sceneparsers/assimp/main.cpp b/src/plugins/sceneparsers/assimp/main.cpp index 9e62dcf36..079bf9b9b 100644 --- a/src/plugins/sceneparsers/assimp/main.cpp +++ b/src/plugins/sceneparsers/assimp/main.cpp @@ -37,22 +37,22 @@ ** ****************************************************************************/ -#include "assimpio.h" +#include "assimpimporter.h" -#include <Qt3DRender/private/qsceneioplugin_p.h> +#include <Qt3DRender/private/qsceneimportplugin_p.h> QT_BEGIN_NAMESPACE -class AssimpSceneIOPlugin : public Qt3DRender::QSceneIOPlugin +class AssimpSceneImportPlugin : public Qt3DRender::QSceneImportPlugin { Q_OBJECT - Q_PLUGIN_METADATA(IID QSceneIOFactoryInterface_iid FILE "assimp.json") + Q_PLUGIN_METADATA(IID QSceneImportFactoryInterface_iid FILE "assimp.json") - Qt3DRender::QSceneIOHandler *create(const QString &key, const QStringList ¶mList) Q_DECL_OVERRIDE + Qt3DRender::QSceneImporter *create(const QString &key, const QStringList ¶mList) Q_DECL_OVERRIDE { Q_UNUSED(key) Q_UNUSED(paramList) - return new Qt3DRender::AssimpIO(); + return new Qt3DRender::AssimpImporter(); } }; |