mirror of https://github.com/OpenMW/openmw.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
344 B
C++
22 lines
344 B
C++
12 months ago
|
#ifndef OPENMW_COMPONENTS_VFS_FILE_H
|
||
|
#define OPENMW_COMPONENTS_VFS_FILE_H
|
||
|
|
||
|
#include <filesystem>
|
||
|
|
||
|
#include <components/files/istreamptr.hpp>
|
||
|
|
||
|
namespace VFS
|
||
|
{
|
||
|
class File
|
||
|
{
|
||
|
public:
|
||
|
virtual ~File() = default;
|
||
|
|
||
|
virtual Files::IStreamPtr open() = 0;
|
||
|
|
||
|
virtual std::filesystem::path getPath() = 0;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|