aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/RLE_reader.hpp
blob: 9cc67226828a0c04b2633791da127ab4737768ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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;
};