// SPDX-License-Identifier: GPL-3.0-or-later // Copyright 2019 Juan Palacios #pragma once #include #include class Item; class Exportable { public: class Exporter { public: virtual std::optional> provideExporter(Item const &i) = 0; virtual ~Exporter() = default; }; virtual void exportWith(Exportable::Exporter &e) const = 0; virtual ~Exportable() = default; };