| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/iprofilefileparser.h`/ |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include <filesystem> |
| 7 | #include <optional> |
| 8 | #include <string> |
| 9 | #include <string_view> |
| 10 | #include <utility> |
| 11 | #include <vector> |
| 12 | |
| 13 | class IProfilecxx . . $ IProfile#; |
| 14 | |
| 15 | class IProfileFileParsercxx . . $ IProfileFileParser# |
| 16 | { |
| 17 | public: |
| 18 | static constexpr stdcxx . . $ std/::string_viewcxx . . $ std/string_view# ProfileDataFileNamecxx . . $ std/basic_string_view#basic_string_view(837a1ee5a10cb792).{"profile"}; |
| 19 | static constexpr stdcxx . . $ std/::string_viewcxx . . $ std/string_view# IconDataFileNamecxx . . $ std/basic_string_view#basic_string_view(837a1ee5a10cb792).{"icon"}; |
| 20 | |
| 21 | virtual stdcxx . . $ std/::stringcxx . . $ std/string# fileExtensioncxx . . $ IProfileFileParser#fileExtension(219584694fe2b248).() const = 0; |
| 22 | |
| 23 | virtual stdcxx . . $ std/::optionalcxx . . $ std/optional#<stdcxx . . $ std/::vectorcxx . . $ std/vector#<char>> |
| 24 | loadcxx . . $ IProfileFileParser#load(4a2d2be9eefdc507).(stdcxx . . $ std/::filesystemcxx . . $ std/filesystem/::pathcxx . . $ std/filesystem/__cxx11/path# const &path, |
| 25 | stdcxx . . $ std/::stringcxx . . $ std/string# const &internalDataName) = 0; |
| 26 | |
| 27 | virtual bool |
| 28 | savecxx . . $ IProfileFileParser#save(fa1fcfc7541085fc).(stdcxx . . $ std/::filesystemcxx . . $ std/filesystem/::pathcxx . . $ std/filesystem/__cxx11/path# const &path, |
| 29 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::paircxx . . $ std/pair#<stdcxx . . $ std/::stringcxx . . $ std/string#, stdcxx . . $ std/::vectorcxx . . $ std/vector#<char>>> const &data) = 0; |
| 30 | |
| 31 | virtual ~cxx . . $ IProfileFileParser#`~IProfileFileParser`(ced63f7c635d850d).IProfileFileParsercxx . . $ IProfileFileParser#() = default; |
| 32 | }; |