mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-26 06:38:04 +02:00
Create the HFMSerializer interface class
This commit is contained in:
parent
83cc90ace0
commit
0271f7d334
1 changed files with 29 additions and 0 deletions
29
libraries/hfm/src/hfm/HFMSerializer.h
Normal file
29
libraries/hfm/src/hfm/HFMSerializer.h
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
//
|
||||||
|
// FBXSerializer.h
|
||||||
|
// libraries/hfm/src/hfm
|
||||||
|
//
|
||||||
|
// Created by Sabrina Shanman on 2018/11/07.
|
||||||
|
// Copyright 2018 High Fidelity, Inc.
|
||||||
|
//
|
||||||
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef hifi_HFMSerializer_h
|
||||||
|
#define hifi_HFMSerializer_h
|
||||||
|
|
||||||
|
#include <QVarLengthArray>
|
||||||
|
#include <QVariant>
|
||||||
|
#include <QUrl>
|
||||||
|
|
||||||
|
#include "HFM.h"
|
||||||
|
|
||||||
|
namespace hfm {
|
||||||
|
|
||||||
|
class Serializer {
|
||||||
|
virtual Model* read(const QByteArray& data, const QVariantHash& mapping, const QUrl& url = QUrl(), bool combineParts = false) = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // hifi_HFMSerializer_h
|
Loading…
Reference in a new issue