Skip to content

An OpenMW mod that lets you play the whole Elder Scrolls III: Morrowind as a top-down isometric game — with full online co-op or MMO modes.

C++
436 B
Raw Blame
#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