annotator/example/include/process/filesystem.hpp
Alexander Kobjolke 04b878f078 Initial version
2022-03-01 22:13:15 +01:00

28 lines
619 B
C++

#ifndef PROCESS_FILESYSTEM_HPP
#define PROCESS_FILESYSTEM_HPP
#include <fstream>
#include <memory>
namespace process {
class Filesystem {
public:
Filesystem() = default;
Filesystem(const Filesystem&) = default;
virtual ~Filesystem() noexcept = default;
Filesystem& operator=(const Filesystem&) & = default;
Filesystem& operator=(Filesystem&&) & = default;
Filesystem(Filesystem&&) = default;
[[nodiscard]] virtual std::shared_ptr<std::istream> open_read(const std::string& path) const;
[[nodiscard]] virtual uint32_t get_folder_size(const std::string& path) const;
};
}
#endif