From 0271f7d3344182c07b15b546dea590912b0ab34c Mon Sep 17 00:00:00 2001 From: sabrina-shanman Date: Wed, 7 Nov 2018 17:07:44 -0800 Subject: [PATCH] Create the HFMSerializer interface class --- libraries/hfm/src/hfm/HFMSerializer.h | 29 +++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 libraries/hfm/src/hfm/HFMSerializer.h diff --git a/libraries/hfm/src/hfm/HFMSerializer.h b/libraries/hfm/src/hfm/HFMSerializer.h new file mode 100644 index 0000000000..bd63d8bf82 --- /dev/null +++ b/libraries/hfm/src/hfm/HFMSerializer.h @@ -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 +#include +#include + +#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