File indexing completed on 2025-01-05 03:59:12
0001 // SPDX-License-Identifier: LGPL-2.1-or-later 0002 // 0003 // SPDX-FileCopyrightText: 2016 Dennis Nienhüser <nienhueser@kde.org> 0004 // 0005 0006 #include "GeoWriterBackend.h" 0007 0008 #include "GeoDataDocumentWriter.h" 0009 0010 namespace Marble { 0011 0012 GeoWriterBackend::~GeoWriterBackend() 0013 { 0014 // does nothing 0015 } 0016 0017 GeoWriterBackendRegistrar::GeoWriterBackendRegistrar(GeoWriterBackend *writer, const QString &fileExtension) : 0018 m_writer(writer), 0019 m_fileExtension(fileExtension) 0020 { 0021 GeoDataDocumentWriter::registerWriter(writer, fileExtension); 0022 } 0023 0024 GeoWriterBackendRegistrar::~GeoWriterBackendRegistrar() 0025 { 0026 GeoDataDocumentWriter::unregisterWriter(m_writer, m_fileExtension); 0027 } 0028 0029 }