// SPDX-License-Identifier: GPL-3.0-or-later // Copyright 2019 Juan Palacios #pragma once #include "iprofilepartxmlparserprovider.h" #include #include #include #include #include class IProfilePartXMLParser; class ProfilePartXMLParserProvider final : public IProfilePartXMLParserProvider { public: std::unordered_map()>> const & profilePartParserProviders() const override; static bool registerProvider( std::string_view componentID, std::function()> &&provider); private: static std::unordered_map< std::string, std::function()>> & profilePartParserProviders_(); };