| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/profilepartxmlparserprovider.h`/ |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include "iprofilepartxmlparserprovider.h"cxx . . $ `<file>/src/core/iprofilepartxmlparserprovider.h`/ |
| 7 | #include <functional> |
| 8 | #include <memory> |
| 9 | #include <string> |
| 10 | #include <string_view> |
| 11 | #include <unordered_map> |
| 12 | |
| 13 | class IProfilePartXMLParsercxx . . $ IProfilePartXMLParser#; |
| 14 | |
| 15 | class ProfilePartXMLParserProvidercxx . . $ ProfilePartXMLParserProvider# final : public IProfilePartXMLParserProvidercxx . . $ IProfilePartXMLParserProvider# |
| 16 | { |
| 17 | public: |
| 18 | stdcxx . . $ std/::unordered_mapcxx . . $ std/unordered_map#<stdcxx . . $ std/::stringcxx . . $ std/string#, |
| 19 | stdcxx . . $ std/::functioncxx . . $ std/function#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IProfilePartXMLParsercxx . . $ IProfilePartXMLParser#>()>> const & |
| 20 | profilePartParserProviderscxx . . $ ProfilePartXMLParserProvider#profilePartParserProviders(e70311e3611c41c6).() const override; |
| 21 | |
| 22 | static bool registerProvidercxx . . $ ProfilePartXMLParserProvider#registerProvider(1a5cc5494db8b601).( |
| 23 | stdcxx . . $ std/::string_viewcxx . . $ std/string_view# componentID, |
| 24 | stdcxx . . $ std/::functioncxx . . $ std/function#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IProfilePartXMLParsercxx . . $ IProfilePartXMLParser#>()> &&provider); |
| 25 | |
| 26 | private: |
| 27 | static stdcxx . . $ std/::unordered_mapcxx . . $ std/unordered_map#< |
| 28 | stdcxx . . $ std/::stringcxx . . $ std/string#, stdcxx . . $ std/::functioncxx . . $ std/function#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IProfilePartXMLParsercxx . . $ IProfilePartXMLParser#>()>> & |
| 29 | profilePartParserProviders_cxx . . $ ProfilePartXMLParserProvider#profilePartParserProviders_(fb3db264cb99573b).(); |
| 30 | }; |