/**************************************************************************** ** Copyright (c) 2021, Fougue Ltd. ** All rights reserved. ** See license at https://github.com/fougue/mayo/blob/master/LICENSE.txt ****************************************************************************/ #include "io_gmio.h" #include "io_gmio_amf_writer.h" #include namespace Mayo { namespace IO { Span GmioFactoryWriter::formats() const { static const Format array[] = { Format_AMF }; return array; } std::unique_ptr GmioFactoryWriter::create(Format format) const { if (format == Format_AMF) return std::make_unique(); return {}; } std::unique_ptr GmioFactoryWriter::createProperties(Format format, PropertyGroup* parentGroup) const { if (format == Format_AMF) return GmioAmfWriter::createProperties(parentGroup); return {}; } std::string_view GmioLib::strVersion() { return GMIO_VERSION_STR; } } // namespace IO } // namespace Mayo