#pragma once #ifndef FSPP_DEVICE_H_ #define FSPP_DEVICE_H_ #include #include #include namespace fspp { class Node; class Device { public: virtual ~Device() {} virtual void statfs(const boost::filesystem::path &path, struct ::statvfs *fsstat) = 0; virtual std::unique_ptr Load(const boost::filesystem::path &path) = 0; }; } #endif