Initial version
This commit is contained in:
commit
04b878f078
28 changed files with 1771 additions and 0 deletions
28
example/include/process/filesystem.hpp
Normal file
28
example/include/process/filesystem.hpp
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue