1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-07-27 15:44:11 +00:00
openmw/components/vfs/file.hpp
2025-07-03 08:46:23 +02:00

24 lines
436 B
C++

#ifndef OPENMW_COMPONENTS_VFS_FILE_H
#define OPENMW_COMPONENTS_VFS_FILE_H
#include <filesystem>
#include <string>
#include <components/files/istreamptr.hpp>
namespace VFS
{
class File
{
public:
virtual ~File() = default;
virtual Files::IStreamPtr open() = 0;
virtual std::filesystem::file_time_type getLastModified() const = 0;
virtual std::string getStem() const = 0;
};
}
#endif