| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/iprofileparser.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 <memory> |
| 8 | #include <string> |
| 9 | #include <vector> |
| 10 | |
| 11 | class IProfilecxx . . $ IProfile#; |
| 12 | |
| 13 | class IProfileParsercxx . . $ IProfileParser# |
| 14 | { |
| 15 | public: |
| 16 | virtual stdcxx . . $ std/::stringcxx . . $ std/string# const &formatcxx . . $ IProfileParser#format(319d84e01067f75d).() = 0; |
| 17 | |
| 18 | virtual stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#> initializercxx . . $ IProfileParser#initializer(6b4e1016740e578).() = 0; |
| 19 | |
| 20 | virtual bool loadcxx . . $ IProfileParser#load(3950ab7b6b62e024).(stdcxx . . $ std/::vectorcxx . . $ std/vector#<char> const &data, IProfilecxx . . $ IProfile# &profile) = 0; |
| 21 | virtual bool savecxx . . $ IProfileParser#save(751860f9352cffff).(stdcxx . . $ std/::vectorcxx . . $ std/vector#<char> &data, IProfilecxx . . $ IProfile# const &profile) = 0; |
| 22 | |
| 23 | virtual ~cxx . . $ IProfileParser#`~IProfileParser`(ced63f7c635d850d).IProfileParsercxx . . $ IProfileParser#() = default; |
| 24 | }; |