Create the HFMSerializer interface class

This commit is contained in:
sabrina-shanman 2018-11-07 17:07:44 -08:00
parent 83cc90ace0
commit 0271f7d334

View 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