| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/iprofilepart.h`/ |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include "exportable.h"cxx . . $ `<file>/src/core/exportable.h`/ |
| 7 | #include "importable.h"cxx . . $ `<file>/src/core/importable.h`/ |
| 8 | #include "item.h"cxx . . $ `<file>/src/core/item.h`/ |
| 9 | #include <memory> |
| 10 | |
| 11 | class IProfilePartProvidercxx . . $ IProfilePartProvider#; |
| 12 | |
| 13 | class IProfilePartcxx . . $ IProfilePart# |
| 14 | : public Itemcxx . . $ Item# |
| 15 | , public Importablecxx . . $ Importable# |
| 16 | , public Exportablecxx . . $ Exportable# |
| 17 | { |
| 18 | public: |
| 19 | class Importercxx . . $ IProfilePart#Importer# : public Importablecxx . . $ Importable#::Importercxx . . $ Importable#Importer# |
| 20 | { |
| 21 | public: |
| 22 | virtual bool provideActivecxx . . $ IProfilePart#Importer#provideActive(50ce9a9e25b4a850).() const = 0; |
| 23 | }; |
| 24 | |
| 25 | class Exportercxx . . $ IProfilePart#Exporter# : public Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter# |
| 26 | { |
| 27 | public: |
| 28 | virtual void takeActivecxx . . $ IProfilePart#Exporter#takeActive(b45ddcbc8423892c).(bool active) = 0; |
| 29 | }; |
| 30 | |
| 31 | virtual stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#> |
| 32 | factorycxx . . $ IProfilePart#factory(af48dc8d4887b70c).(IProfilePartProvidercxx . . $ IProfilePartProvider# const &profilePartProvider) = 0; |
| 33 | |
| 34 | virtual stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#> initializercxx . . $ IProfilePart#initializer(6b4e1016740e578).() = 0; |
| 35 | |
| 36 | virtual bool activecxx . . $ IProfilePart#active(50ce9a9e25b4a850).() const = 0; |
| 37 | virtual void activatecxx . . $ IProfilePart#activate(b45ddcbc8423892c).(bool active) = 0; |
| 38 | |
| 39 | virtual stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IProfilePartcxx . . $ IProfilePart#> clonecxx . . $ IProfilePart#clone(1378fcc1caef3e7b).() const = 0; |
| 40 | |
| 41 | virtual ~cxx . . $ IProfilePart#`~IProfilePart`(ced63f7c635d850d).IProfilePartcxx . . $ IProfilePart#() = default; |
| 42 | }; |