| 1 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include "core/iprofilefileparser.h" |
| 7 | |
| 8 | class CCPROParser final : public IProfileFileParser |
| 9 | { |
| 10 | public: |
| 11 | std::string fileExtension() const override; |
| 12 | |
| 13 | std::optional<std::vector<char>> |
| 14 | load(std::filesystem::path const &path, |
| 15 | std::string const &internalDataName) override; |
| 16 | |
| 17 | bool save(std::filesystem::path const &path, |
| 18 | std::vector<std::pair<std::string, std::vector<char>>> const &data) |
| 19 | override; |
| 20 | }; |