diff options
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/RLE_reader.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/interfaces/RLE_reader.hpp b/src/interfaces/RLE_reader.hpp new file mode 100644 index 0000000..a3266a8 --- /dev/null +++ b/src/interfaces/RLE_reader.hpp @@ -0,0 +1,19 @@ +#pragma once + +#include "interfaces/matrix.hpp" + +#include <filesystem> +#include <memory> + +// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions) +class IRLEReader +{ +public: + virtual ~IRLEReader() noexcept = default; + + using MatrixElement = char; + + [[nodiscard]] virtual auto read_RLE_file(const std::filesystem::path &path) const + -> std::unique_ptr<IMatrix<MatrixElement>> = 0; +}; + |