| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/exportable.h`/ |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include <functional> |
| 7 | #include <optional> |
| 8 | |
| 9 | class Itemcxx . . $ Item#; |
| 10 | |
| 11 | class Exportablecxx . . $ Exportable# |
| 12 | { |
| 13 | public: |
| 14 | class Exportercxx . . $ Exportable#Exporter# |
| 15 | { |
| 16 | public: |
| 17 | virtual stdcxx . . $ std/::optionalcxx . . $ std/optional#<stdcxx . . $ std/::reference_wrappercxx . . $ std/reference_wrapper#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#>> |
| 18 | provideExportercxx . . $ Exportable#Exporter#provideExporter(3acccbde2694e33a).(Itemcxx . . $ Item# const &i) = 0; |
| 19 | |
| 20 | virtual ~cxx . . $ Exportable#Exporter#`~Exporter`(ced63f7c635d850d).Exportercxx . . $ Exportable#Exporter#() = default; |
| 21 | }; |
| 22 | |
| 23 | virtual void exportWithcxx . . $ Exportable#exportWith(5b5c94ff60635419).(Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter# &e) const = 0; |
| 24 | |
| 25 | virtual ~cxx . . $ Exportable#`~Exportable`(ced63f7c635d850d).Exportablecxx . . $ Exportable#() = default; |
| 26 | }; |